img_ir_set_decoder(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… img_ir_set_decoder(9) πŸ’…

okay bestie, welcome to the kernel API manual β€” this one's a lil function from the img-ir drivers, and honestly? she's short but she's powerful. no cap.


✨ NAME ✨

img_ir_set_decoder β€” sets the current decoder. that's it. that's the whole vibe. she swaps in whichever decoder is supposed to be running right now, and she does it with immediate effect 🫢


🌸 SYNOPSIS 🌸

void img_ir_set_decoder (struct img_ir_priv *priv , const struct
       img_ir_decoder *decoder , u64 proto );

like yeah it returns void β€” she doesn't gossip back, she just does the thing πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • priv β€” the IR private data. the personal stash. the main character struct everything hangs off of πŸ’œ
  • decoder β€” the decoder to use, and bestie listen: with immediate effect. not "next time", not "after a reboot", now. πŸ”₯
  • proto β€” a protocol bitmap. and if you pass 0, she'll lowkey just fall back to decoder->type instead. iykyk πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives at ./drivers/media/rc/img-ir/img-ir-hw.c β€” go read it if you're feeling nerdy, no judgment 🌈. and here's the whole friend group, all of them, in order, not skipping a single one:


✨ friendly reminder: decoder takes effect immediately, so don't be out here passing something half-baked and then acting surprised. 🫢

and that's the page, bestie πŸ“πŸ’– this one's brought to you by the source at ./drivers/media/rc/img-ir, dated October 2026 β€” see you in the next img_ir_set_decoder(9) era, mwah πŸ’‹πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from