ir_raw_event_store_edge(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 ir_raw_event_store_edge(9) 🌸

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a lil function from the Linux kernel, and honestly? it's giving "quietly iconic middle-management energy" β€” nobody claps for it, but the whole raw IR decoding situation would simply collapse without it. no cap.


✨ NAME ✨

ir_raw_event_store_edge β€” the lil messenger that tells the raw ir decoders "hey babe, a pulse/space just STARTED" 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int ir_raw_event_store_edge (struct rc_dev *dev , bool pulse );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the struct rc_dev device descriptor πŸ’… like, the actual remote-control device we're talking about here.
  • pulse β€” true for pulse, false for space ✨ that's it, that's the whole mood. pulse = light on, space = light off, we love a binary queen.

πŸ’œ DESCRIPTION πŸ’œ

so this routine literally stores the beginning of an ir pulse or space β€” or the start/end of ir reception β€” so the raw ir decoding state machines can do their thing 🧚 it's the "mark the timestamp-ish moment, the decoders will handle the rest" vibe.

and bestie, read this part twice: this routine may be called from an interrupt context πŸ˜­πŸ™ˆ so like, behave accordingly, okay?

it's specifically for hardware that doesn't hand you durations directly β€” those ones that only fire interrupts (or similar events) on a state change πŸ’€ so the driver's like "idk how long it's been, but something CHANGED" and this function is the one that takes that info and feeds it into the raw decoding machinery. no durations? no problem, we work with what we have πŸ‘‘


🌈 SEE ALSO 🌈


πŸ’€ reminder bestie: dev is the struct rc_dev descriptor, pulse is true for pulse / false for space. don't get it twisted, iykyk.

and that's the whole page, periodt πŸ’… tysm for reading, ily 🫢 this lil gem lives in ./drivers/media/rc, dated October 2026, and it's filed under Kernel API Manual as ir_raw_event_store_edge(9) β€” go forth and decode, main character πŸŒŸπŸ’–

πŸ“¦ where this page comes from