img_ir_symbol_timing(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 a const 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 β€” 0 is zero percent, 128 is a hundred percent, that's just how it is. πŸ™ˆ
  • clock_hz β€” Frequency of source clock in Hz. an unsigned 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:

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