Searched refs:pci_bus_device (Results 1 – 2 of 2) sorted by relevance
44 pub fn pci_bus_device() -> Arc<PciBusDevice> { in pci_bus_device() function156 let root_device = pci_bus_device() as Arc<dyn Device>; in root_device()183 let pci_bus_device: Arc<PciBusDevice> = PciBusDevice::new(Some(Arc::downgrade( in pci_bus_subsys_init() localVariable187 set_pci_bus_device(pci_bus_device.clone()); in pci_bus_subsys_init()189 device_register(pci_bus_device.clone())?; in pci_bus_subsys_init()
24 subsys::{pci_bus, pci_bus_device},48 pci_dev.set_dev_parent(Some(Arc::downgrade(&(pci_bus_device() as Arc<dyn Device>)))); in device_add()