STRUCT IMG_IR_TIMING_RANGE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct img_ir_timing_range πŸ’…

okay bestie, welcome to the Kernel API Manual, section 9 β€” this is the page for struct img_ir_timing_range(9) and honestly? it's giving tiny-but-iconic. she's small, she's useful, she holds a range of timing values. that's it, that's the whole personality. πŸŽ€


🌸 NAME 🌸

struct img_ir_timing_range β€” a whole range of timing values, babes. minimum to maximum, that's her πŸ¦‹


✨ SYNOPSIS ✨

like, here's literally her whole body:

struct img_ir_timing_range {
    u16 min;
    u16 max;
};

two members. that's the entire struct. no cap, she ate and left no crumbs πŸ’…


🫢 Members 🫢

  • min β€” the minimum timing value. the floor, the bare minimum, the at least this much energy πŸ‘‘
  • max β€” the maximum timing value. BUT β€” and this is the juicy part β€” if it ends up being < min, it gets set to min during the preprocessing step. so like... normally you don't explicitly initialise it at all, because the tolerance has it covered. she handles herself, fr fr 🧚✨
ngl this is the one little caveat on the page so pay attention: max is normally not explicitly initialised by you β€” preprocessing takes care of it, and the tolerance is the main character here πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

go look at the Kernel file ./drivers/media/rc/img-ir/img-ir-hw.h β€” that's where the whole friend group lives:

iykyk, it's a whole squad 🌈⭐


and that's the page, bestie 🫢 this was brought to you by the fine people over at ./drivers/media/rc/img-ir, dated October 2026 β€” mwah, drink some water, and go read your kernel headers πŸ’œπŸŽ€

πŸ“¦ where this page comes from