STRUCT IMG_IR_FILTER(9)
π struct img_ir_filter(9)
okay bestie, welcome to the Kernel API Manual β¨ β section 9, struct edition. this one is about struct img_ir_filter, and its whole ~vibe~ is filtering IR events. that's it, that's the job. let's get into it π
πΈ NAME πΈ
struct img_ir_filter β Filter IR events. literally what it says on the tin, no cap π
β¨ SYNOPSIS β¨
struct img_ir_filter {
u64 data;
u64 mask;
u8 minlen;
u8 maxlen;
};
that's the whole struct, she's compact and iconic π
π¦ Members π¦
dataβ the data to match. this is the thing you're out here looking for, fr fr πmaskβ mask of bits to compare. like, which bits ofdataactually matter here πminlenβ additional minimum number of bits. the floor, the bare minimum, we do not go below this π«maxlenβ additional maximum number of bits. the ceiling, the limit, the "know your worth" of bit counts β
ngl all four members are just sitting there doing their thing βdataandmaskareu64,minlenandmaxlenareu8. don't mix them up bestie π
π SEE ALSO π
Kernel file ./drivers/media/rc/img-ir/img-ir-hw.h, plus the whole friend group π:
struct img_ir_control(9)struct img_ir_timing_range(9)struct img_ir_symbol_timing(9)struct img_ir_free_timing(9)struct img_ir_timings(9)struct img_ir_timing_regvals(9)struct img_ir_scancode_req(9)struct img_ir_decoder(9)struct img_ir_reg_timings(9)struct img_ir_priv_hw(9)
like a whole little squad of structs, and honestly? obsessed π«Ά
and that's the page!! π§ from ./drivers/media/rc/img-ir, dated October 2026, and it's struct img_ir_filter(9) signing off β slay, bye, go filter some IR events πβ¨π₯
π¦ 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