Searched refs:bus_register (Results 1 – 5 of 5) sorted by relevance
4 use crate::driver::base::device::bus::{bus_register, Bus};27 let r = bus_register(serio_bus.clone() as Arc<dyn Bus>); in serio_bus_init()
91   对于bus设备而言,需要调用bus_register,将bus注册进系统,并在sysfs中可视化。97 pub fn bus_register<T: Bus>(bus: Arc<T>) -> Result<(), DeviceError> {109   通过bus_register源码可知,该函数不仅在sysfs/bus下生成总线文件夹,同时内部调用device_register,该函数将总线加入设备管理器中,同时在sys/…
5 bus::{bus_register, Bus, BusState},91 let r = bus_register(paltform_bus.clone() as Arc<dyn Bus>); in platform_bus_init()
12 bus::{bus_register, Bus},193 let r = bus_register(pci_bus.clone() as Arc<dyn Bus>); in pci_bus_subsys_init()
520 pub fn bus_register(bus: Arc<dyn Bus>) -> Result<(), SystemError> { in bus_register() function