Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/pci/
H A Ddriver.rs16 pub trait PciDriver: Driver { trait
75 pub fn register(&self, driver: Arc<dyn PciDriver>) -> Result<(), SystemError> { in register()
81 pub fn unregister(&self, driver: &Arc<dyn PciDriver>) { in unregister() argument
H A Dsubsys.rs25 driver::PciDriver,
92 let pci_drv = drv.cast::<dyn PciDriver>().map_err(|_| { in probe()
133 let pci_driver = driver.clone().cast::<dyn PciDriver>().map_err(|_| { in match_device()
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs18 pci::{dev_id::PciDeviceID, device::PciDevice, driver::PciDriver},
24 #[cast_to([sync] PciDriver)]
46 impl PciDriver for TestDriver {
H A Dmod.rs9 driver::{pci_driver_manager, PciDriver},