devm_rc_allocate_device(9)
πΈ 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 tostruct device. yes, thatdev. the device one π«Άrc_driver_typeβ specifies the type of the RC output to be allocated, and it returns a pointer tostruct rc_dev. like, that's the whole deal β you tell it what kind of RC output you want, and it hands you back astruct rc_dev *. iconic behavior honestly π
π SEE ALSO π
the friend group, aka everything you should go read next (iykyk):
- Kernel file
./include/media/rc-core.h enum rc_driver_type(9)struct rc_scancode_filter(9)enum rc_filter_type(9)struct lirc_fh(9)struct rc_dev(9)rc_allocate_device(9)rc_free_device(9)rc_register_device(9)devm_rc_register_device(9)rc_unregister_device(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms