ir_raw_event_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ir_raw_event_store(9) β€” the Kernel API Manual page, bestie edition ✨

okay so you're in the Kernel API Manual and this is the page for ir_raw_event_store and honestly? she's a little legend. let's go πŸŽ€


🌸 NAME 🌸

ir_raw_event_store β€” hand a pulse/space duration over to the raw IR decoders, like passing your bestie a snack πŸ“


✨ SYNOPSIS ✨

int ir_raw_event_store (struct rc_dev *dev , struct ir_raw_event *ev );

🫢 ARGUMENTS 🫢

  • dev β€” the struct rc_dev device descriptor. the whole device vibe check, iykyk.
  • ev β€” the struct ir_raw_event descriptor of the pulse/space. this is the actual timing tea being served β˜•

πŸ’– DESCRIPTION πŸ’–

okay so this routine stores a pulse/space duration for the raw IR decoding state machines, and the way that it's lowkey built different is that it may be called from an interrupt context β€” no cap, she's interrupt-safe and she's thriving πŸ’…

here's how the numbers read:

  • pulses are signalled as positive values ⭐
  • spaces are signalled as negative values πŸŒ™
  • a zero value will reset the decoding state machines πŸ”„

so like, sign matters, bestie. positive = pulse, negative = space, zero = factory reset on the state machines. that's the whole personality πŸ¦‹


πŸ”₯ SEE ALSO πŸ”₯

the kernel file is ./drivers/media/rc/rc-ir-raw.c (that's the main character file, go say hi), plus these icons:


and that's the page!! mwah πŸ’œ this icon lives under ./drivers/media/rc, it's dated October 2026, and it answers to the name ir_raw_event_store(9) β€” go forth and store those events, bestie, you're gonna slay πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from