img_ir_write_timings(9)
π img_ir_write_timings(9) β a Kernel API Manual moment π
okay so bestie, this is a page from the Kernel API Manual, and honestly? it's a little baddie with one job and she does it. let's get into it β¨
πΈ NAME πΈ
img_ir_write_timings β Write timings to the hardware now
like, right now. no waiting. she's not queuing, she's not scheduling, she's writing. periodt π
π¦ SYNOPSIS π¦
void img_ir_write_timings (struct img_ir_priv *priv , struct
img_ir_timing_regvals *regs , enum rc_filter_type type );
note the void β she gives you nothing back. no return value, no tears, no drama. iconic behavior fr fr π
π ARGUMENTS π
privβ the IR private data. it's giving "backstage pass", the internal stuff she needs to do her thing πregsβ the timing register values to write. these are literally the payload she's yeeting into the hardware πtypeβ the RC filter type, and it's one of theRC_FILTER_*crew. so like, whichever filter vibe you're on, that's what goes here π
β¨ DESCRIPTION β¨
So here's the tea: img_ir_write_timings writes the timing register values regs to the hardware. that's the whole main character arc π«
BUT β and this is the part you don't skip β she does it taking into account the current filter, because the filter can impose restrictions on the length of the expected data. so she's not just dumping numbers in there, she's being considerate. thoughtful queen behavior, no cap π«Ά
bestie pls remember: the current filter matters. it may restrict the length of the expected data, so the write is filter-aware. that's not a detail you can skip, that's the whole point π
π₯ SEE ALSO π₯
she has a whole friend group, and you should absolutely meet them all:
- the kernel file
./drivers/media/rc/img-ir/img-ir-hw.cβ that's where she lives π img_ir_control(9)img_ir_timing_range_convert(9)img_ir_symbol_timing(9)img_ir_free_timing(9)img_ir_free_timing_dynamic(9)img_ir_timings_convert(9)img_ir_decoder_preprocess(9)img_ir_decoder_convert(9)img_ir_set_decoder(9)img_ir_decoder_compatible(9)img_ir_allowed_protos(9)img_ir_enable_wake(9)img_ir_disable_wake(9)img_ir_probe_hw_caps(9)
and that's the page! mwah π
sign-off time: this cutie lives over in ./drivers/media/rc/img-ir, the page is dated October 2026, and yes the header/footer both say img_ir_write_timings(9) because she's consistent like that πβ¨π
π¦ 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