Searched refs:pci_bus (Results 1 – 4 of 4) sorted by relevance
50 pub fn pci_bus() -> Arc<PciBus> { in pci_bus() function190 let pci_bus = PciBus::new(); in pci_bus_subsys_init() localVariable192 set_pci_bus(pci_bus.clone()); in pci_bus_subsys_init()193 let r = bus_register(pci_bus.clone() as Arc<dyn Bus>); in pci_bus_subsys_init()
9 use super::{dev_id::PciDeviceID, device::PciDevice, subsys::pci_bus};76 driver.set_bus(Some(Arc::downgrade(&(pci_bus() as Arc<dyn Bus>)))); in register()
25 subsys::{pci_bus, pci_bus_device},52 pci_dev.set_bus(Some(Arc::downgrade(&(pci_bus() as Arc<dyn Bus>)))); in device_add()
12 use crate::driver::pci::subsys::pci_bus;43 let bus = pci_bus() as Arc<dyn Bus>; in virtio_probe_pci()