Searched refs:PciDeviceID (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/driver/pci/ |
H A D | driver.rs | 9 use super::{dev_id::PciDeviceID, device::PciDevice, subsys::pci_bus}; 27 fn probe(&self, device: &Arc<dyn PciDevice>, id: &PciDeviceID) -> Result<(), SystemError>; in probe() 41 fn add_dynid(&mut self, id: PciDeviceID) -> Result<(), SystemError>; in add_dynid() 48 fn locked_dynid_list(&self) -> Option<Vec<Arc<PciDeviceID>>>; in locked_dynid_list() argument 58 fn match_dev(&self, dev: &Arc<dyn PciDevice>) -> Option<Arc<PciDeviceID>> { in match_dev() argument
|
H A D | dev_id.rs | 10 pub struct PciDeviceID { struct 25 impl PciDeviceID { argument 57 pub fn general_match(&self, id: PciDeviceID) -> bool { in general_match()
|
H A D | raw_device.rs | 20 attr::BasicPciReadOnlyAttrs, dev_id::PciDeviceID, device::PciDevice, 29 dev_id: PciDeviceID, 45 let dev_id = PciDeviceID::dummpy(); in from() 64 fn dynid(&self) -> PciDeviceID { in dynid() argument
|
H A D | device.rs | 23 dev_id::PciDeviceID, 76 fn dynid(&self) -> PciDeviceID; in dynid() argument
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | mod.rs | 7 dev_id::PciDeviceID, 20 drv.add_dynid(PciDeviceID::dummpy())?; in pt_init()
|
H A D | pt_driver.rs | 18 pci::{dev_id::PciDeviceID, device::PciDevice, driver::PciDriver}, 29 pub locked_dynid_list: RwLock<Vec<Arc<PciDeviceID>>>, 47 fn add_dynid(&mut self, id: PciDeviceID) -> Result<(), system_error::SystemError> { in add_dynid() 53 fn locked_dynid_list(&self) -> Option<Vec<Arc<PciDeviceID>>> { in locked_dynid_list() argument 60 _id: &PciDeviceID, in probe() argument
|
H A D | pt_device.rs | 17 pci::{dev_id::PciDeviceID, device::PciDevice, pci_irq::IrqType}, 56 fn dynid(&self) -> PciDeviceID { in dynid() argument 57 PciDeviceID::dummpy() in dynid()
|