bus_find_device_by_name(9)
π bus_find_device_by_name(9)
okay bestie, welcome to the Kernel API Manual page for bus_find_device_by_name(9) β yes that's the whole title, and honestly? it's giving "long function name, zero notes." periodt.
β¨ NAME β¨
bus_find_device_by_name β it's a device iterator π whose whole entire job is locating one particular device that has a specific name. that's it, that's the gig. iconic behaviour, no cap.
πΈ SYNOPSIS πΈ
struct device * bus_find_device_by_name (const struct bus_type *bus ,
struct device *start , const char *name );
look at that signature. struct device * returns, three args in, lowkey gorgeous. π«Ά
π ARGUMENTS π
busβ the bus type, obvi. this is the bus we're snooping around on.startβ the Device to begin with. like, where the search kicks off. main character starting point energy.nameβ the name of the device to match. this is the name we're out here looking for, fr fr.
π¦ SEE ALSO π¦
the besties, the fam, the whole friend group π:
- Kernel file
./include/linux/device/bus.hstruct bus_type(9) bus_find_device_by_of_node(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)
π«Ά quick vibe check: this page lives in ./include/linux/device, and it's stamped October 2026. so yeah β that's the source and the date, cute little sign-off, mwah. π
slay, you now understand bus_find_device_by_name(9). go find that device, queen. πβ¨
π¦ 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