Home
last modified time | relevance | path

Searched refs:bus_register (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/driver/input/serio/
H A Dmod.rs4 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()
/DragonOS/docs/kernel/filesystem/
H A Dsysfs.md91 &emsp;&emsp;对于bus设备而言,需要调用bus_register,将bus注册进系统,并在sysfs中可视化。
97 pub fn bus_register<T: Bus>(bus: Arc<T>) -> Result<(), DeviceError> {
109 &emsp;&emsp;通过bus_register源码可知,该函数不仅在sysfs/bus下生成总线文件夹,同时内部调用device_register,该函数将总线加入设备管理器中,同时在sys/…
/DragonOS/kernel/src/driver/base/platform/
H A Dmod.rs5 bus::{bus_register, Bus, BusState},
91 let r = bus_register(paltform_bus.clone() as Arc<dyn Bus>); in platform_bus_init()
/DragonOS/kernel/src/driver/pci/
H A Dsubsys.rs12 bus::{bus_register, Bus},
193 let r = bus_register(pci_bus.clone() as Arc<dyn Bus>); in pci_bus_subsys_init()
/DragonOS/kernel/src/driver/base/device/
H A Dbus.rs520 pub fn bus_register(bus: Arc<dyn Bus>) -> Result<(), SystemError> { in bus_register() function