Searched refs:root_device (Results 1 – 5 of 5) sorted by relevance
147 fn root_device(&self) -> Option<Weak<dyn Device>> { in root_device() method148 let root_device = platform_bus_device() as Arc<dyn Device>; in root_device() localVariable149 return Some(Arc::downgrade(&root_device)); in root_device()
155 fn root_device(&self) -> Option<Weak<dyn Device>> { in root_device() method156 let root_device = pci_bus_device() as Arc<dyn Device>; in root_device() localVariable157 return Some(Arc::downgrade(&root_device)); in root_device()
44 let root_device = CpuSubSystemFakeRootDevice::new(); in init() localVariable48 &(root_device.clone() as Arc<dyn Device>), in init()52 _root_device: root_device, in init()
108 fn root_device(&self) -> Option<Weak<dyn Device>> { in root_device() method
637 if let Some(root) = bus.root_device().and_then(|x| x.upgrade()) { in get_device_parent()