bus_find_device_by_of_node(9)
β¨ bus_find_device_by_of_node β¨
okay so bestie, welcome to the bus_find_device_by_of_node(9) page β yes that's the whole function name, breathe, it's fine, it's just a device iterator that hunts down one very specific device for you π
πΈ NAME πΈ
bus_find_device_by_of_node β it's a device iterator, and its one (1) job is locating a particular device that matches the of_node π
π¦ SYNOPSIS π¦
struct device * bus_find_device_by_of_node (const struct bus_type *bus ,
const struct device_node *np );
like, look at that signature. it's giving "give me two things and I'll give you a device" β¨
π ARGUMENTS π
busβ the bus type. which bus we're snooping around on, basically πnpβ theof_nodeof the device to match. this is the thing we're actually looking for, the whole main character of the search π
π SEE ALSO π
the squad, the whole friend group, iykyk π«Ά
- Kernel file
./include/linux/device/bus.h struct bus_type(9)bus_find_device_by_name(9)bus_find_device_by_fwnode(9)bus_find_device_by_devt(9)bus_find_next_device(9)bus_find_device_by_acpi_dev(9)enum bus_notifier_event(9)
and that's the whole page, no cap π§ it lives in ./include/linux/device and this particular glow-up is dated October 2026, filed under bus_find_device_by_of_node(9) β go forth and find your device, bestie, slay ππ
π¦ 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