bus_find_device_by_of_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” the of_node of 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 🫢


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