Home
last modified time | relevance | path

Searched refs:pci_bus (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/driver/pci/
H A Dsubsys.rs50 pub fn pci_bus() -> Arc<PciBus> { in pci_bus() function
190 let pci_bus = PciBus::new(); in pci_bus_subsys_init() localVariable
192 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()
H A Ddriver.rs9 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()
H A Ddevice.rs25 subsys::{pci_bus, pci_bus_device},
52 pci_dev.set_bus(Some(Arc::downgrade(&(pci_bus() as Arc<dyn Bus>)))); in device_add()
/DragonOS/kernel/src/driver/virtio/
H A Dvirtio.rs12 use crate::driver::pci::subsys::pci_bus;
43 let bus = pci_bus() as Arc<dyn Bus>; in virtio_probe_pci()