dev_bus_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is dev_bus_name(9) from the Kernel API Manual β€” it's giving tiny-helper-that-knows-your-device's-whole-bus/class-lore energy. πŸ’–βœ¨

✨ NAME ✨

dev_bus_name β€” Return a device's bus/class name, if at all possible. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

const char * dev_bus_name (const struct device *dev );

πŸ’… ARGUMENTS πŸ’…

  • dev β€” the struct device to get the bus/class name of. That's the whole assignment, bestie. 🫢

🌸 DESCRIPTION 🌸

The way that this works is: it will return the name of the bus/class the device is attached to. If it is not attached to a bus/class, an empty string will be returned. No cap β€” that's literally the whole vibe. πŸŽ€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/device.h says hiii, and it brought the whole friend group:


Catch you later, bestie β€” this page came from ./include/linux, dated October 2026, and it's dev_bus_name(9) forever. Byeee! πŸ¦‹πŸ’œπŸŽ€

πŸ“¦ where this page comes from