rio_match_bus(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ rio_match_bus(9) ✨

Kernel API Manual bestie incoming β€” this is rio_match_bus(9), and its whole thing is telling you if a RIO device structure has a matching RIO driver device id structure. πŸ’…

🌸 SYNOPSIS 🌸

int rio_match_bus (struct device *dev , const struct device_driver *drv );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the standard device structure to match against. That's the device bestie under interrogation. πŸ•΅οΈβ€β™€οΈ
  • drv β€” the standard driver structure containing the ids to match against. It's bringing the list of supported devices to the group chat. πŸ“‹

πŸ’– DESCRIPTION πŸ’–

Okay so picture this: a driver uses this to check whether a RIO device that's present in the system is in its list of supported devices. That's literally the whole job. If there's a matching struct rio_device_id, it returns 1; if there's no match, it returns 0. Periodt. ✨

πŸ”₯ SEE ALSO πŸ”₯


xoxo, your kernel bestie πŸ’… β€” source/version line: ./drivers/rapidio β€’ date: October 2026

πŸ“¦ where this page comes from