Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/base/platform/
H A Dsubsys.rs147 fn root_device(&self) -> Option<Weak<dyn Device>> { in root_device() method
148 let root_device = platform_bus_device() as Arc<dyn Device>; in root_device() localVariable
149 return Some(Arc::downgrade(&root_device)); in root_device()
/DragonOS/kernel/src/driver/pci/
H A Dsubsys.rs155 fn root_device(&self) -> Option<Weak<dyn Device>> { in root_device() method
156 let root_device = pci_bus_device() as Arc<dyn Device>; in root_device() localVariable
157 return Some(Arc::downgrade(&root_device)); in root_device()
/DragonOS/kernel/src/driver/base/
H A Dcpu.rs44 let root_device = CpuSubSystemFakeRootDevice::new(); in init() localVariable
48 &(root_device.clone() as Arc<dyn Device>), in init()
52 _root_device: root_device, in init()
/DragonOS/kernel/src/driver/base/device/
H A Dbus.rs108 fn root_device(&self) -> Option<Weak<dyn Device>> { in root_device() method
H A Dmod.rs637 if let Some(root) = bus.root_device().and_then(|x| x.upgrade()) { in get_device_parent()