rio_match_bus(9)
β¨ 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 π₯
- Kernel file:
./drivers/rapidio/rio-driver.c rio_match_device(9)rio_dev_get(9)rio_dev_put(9)rio_device_probe(9)rio_device_remove(9)rio_register_driver(9)rio_unregister_driver(9)rio_bus_init(9)
xoxo, your kernel bestie π
β source/version line: ./drivers/rapidio β’ date: October 2026
π¦ 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