STRUCT RC_FILTER_ATTRIBUTE(9)
π struct rc_filter_attribute(9) β like, the whole vibe
ok so this is a page from the Kernel API Manual, and today's main character is struct rc_filter_attribute β a lil struct that's literally all about device attributes relating to a filter type. that's the whole job. she's a small queen but she's doing it π
β¨ NAME β¨
struct rc_filter_attribute β Device attribute relating to a filter type. no cap, that's it, that's her whole thing π
β¨ SYNOPSIS β¨
ok bestie here's the actual struct, written out exactly, don't @ me:
struct rc_filter_attribute {
struct device_attribute attr;
enum rc_filter_type type;
bool mask;
};
like, three fields. three. and she slays every one of them π
β¨ Members β¨
welcome to the member tour, pls keep your hands inside the ride π¦
attrβ Device attribute. yes bestie that's the whole description, it's thestruct device_attributedoing device-attribute things, iconic behavior honestly πtypeβ Filter type. it's anenum rc_filter_type, and it tells you which filter type we're talking about. iykyk πΈmaskβ okay this one's lowkey the most interesting one: it's abool, and it'sfalsefor a filter value, andtruefor a filter mask. literally a vibe check in boolean form β
β¨ SEE ALSO β¨
okay this list is LONG and i'm obsessed with the fact that they just kept going π but fr fr, every single one matters, so here's the full set β no skipping, we don't do that here π«Ά
- Kernel file
./drivers/media/rc/rc-main.cπ scancode_to_u64(9)ir_create_table(9)ir_free_table(9)ir_resize_table(9)ir_update_mapping(9)ir_establish_scancode(9)ir_setkeycode(9)ir_setkeytable(9)ir_lookup_by_scancode(9)ir_getkeycode(9)rc_g_keycode_from_table(9)ir_do_keyup(9)rc_keyup(9)ir_timer_keyup(9)ir_timer_repeat(9)rc_repeat(9)ir_do_keydown(9)rc_keydown(9)rc_keydown_notimeout(9)rc_validate_scancode(9)rc_validate_filter(9)show_protocols(9)parse_protocol_change(9)store_protocols(9)show_filter(9)store_filter(9)show_wakeup_protocols(9)store_wakeup_protocols(9)
like, that's twenty-nine entries plus the file, and every single one is here because we don't do that "abridged version" thing bestie π
lowkey note: this page lives under ./drivers/media/rc β that's the part of the kernel where the remote-control magic happens, and it's honestly giving main character energy π₯
ok so that's the whole page!! you now know struct rc_filter_attribute better than you know your own phone's settings menu π§
cute lil sign-off: this page comes from the source path ./drivers/media/rc, and it's dated October 2026 β so screenshot it, cite it, love it, periodt ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms