Home
last modified time | relevance | path

Searched refs:pci_bus_device (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/driver/pci/
H A Dsubsys.rs44 pub fn pci_bus_device() -> Arc<PciBusDevice> { in pci_bus_device() function
156 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() localVariable
187 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()
H A Ddevice.rs24 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()