devm_rc_allocate_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 devm_rc_allocate_device(9) 🌸

okay so real talk, this one lives in the Kernel API Manual, and it's literally called devm_rc_allocate_device β€” the managed RC device allocation girlie πŸ’…


✨ NAME ✨

devm_rc_allocate_device β€” managed RC device allocation. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct rc_dev * devm_rc_allocate_device (struct device *dev , enum
       rc_driver_type );

bestie the signature is right there, no notes, copy it exactly, don't @ me πŸ’–


πŸ’œ ARGUMENTS πŸ’œ

  • dev β€” pointer to struct device. yes, that dev. the device one 🫢
  • rc_driver_type β€” specifies the type of the RC output to be allocated, and it returns a pointer to struct rc_dev. like, that's the whole deal β€” you tell it what kind of RC output you want, and it hands you back a struct rc_dev *. iconic behavior honestly πŸ‘‘

🌈 SEE ALSO 🌈

the friend group, aka everything you should go read next (iykyk):

no cap, that's the full list, go click around, it's giving "lore deep dive" πŸ”₯


fr fr, everything you need is above β€” I didn't skip a single flag, value, or reference, because that would be a crime and I don't do that πŸ™ˆ

and that's the page!! πŸ’– mwah. source path is ./include/media, dated October 2026, and yep the manual page is still called devm_rc_allocate_device(9) β€” slay, go touch some kernel code bestie πŸŒΈπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from