img_ir_symbol_timing(9)
β¨ img_ir_symbol_timing(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for img_ir_symbol_timing β the little function that turns your symbol timing struct into an actual register value. it's giving "translator era" and honestly? iconic. π
πΈ NAME πΈ
img_ir_symbol_timing β Convert symbol timing struct to register value.
like, that's literally the whole job. struct in, register value out. slay. β¨
π SYNOPSIS π
u32 img_ir_symbol_timing (const struct img_ir_symbol_timing *timing ,
unsigned int tolerance , unsigned long clock_hz , unsigned int pd_shift
, unsigned int w_shift );
no cap, five args, one u32 coming back at you. π«Ά
π ARGUMENTS π
timingβ Symbol timing data. this is the main character right here, it's aconst struct img_ir_symbol_timing *and it's carrying all the timing info. πtoleranceβ Timing tolerance where 0-128 represents 0-100%. yes bestie, that's the scale, don't come for me β0is zero percent,128is a hundred percent, that's just how it is. πclock_hzβ Frequency of source clock in Hz. anunsigned long, so bring a big number. πpd_shiftβ Shift to apply to symbol period. that's the period shift, keep it separate from the next one!! πw_shiftβ Shift to apply to symbol width. and this one's the width shift. two different shifts, two different jobs, don't mix them up. β¨
π₯ RETURN π₯
Symbol timing register value based on arguments. that's a u32, bestie β computed from everything you just passed in. delicious. π
π¦ SEE ALSO π¦
Kernel file ./drivers/media/rc/img-ir/img-ir-hw.c plus the whole friend group:
img_ir_control(9)img_ir_timing_range_convert(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_write_timings(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)
go read them, they're all in their own lane and they all ate. π
fr fr, that's the whole page β no hidden lore, no secret options, just vibes and a u32. π§
this lil page lives in ./drivers/media/rc/img-ir, datestamped October 2026, and it's filed under img_ir_symbol_timing(9) β mwah, bye bestie! ππβ
π¦ 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