Home
last modified time | relevance | path

Searched refs:PciDeviceID (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/driver/pci/
H A Ddriver.rs9 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 Ddev_id.rs10 pub struct PciDeviceID { struct
25 impl PciDeviceID { argument
57 pub fn general_match(&self, id: PciDeviceID) -> bool { in general_match()
H A Draw_device.rs20 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 Ddevice.rs23 dev_id::PciDeviceID,
76 fn dynid(&self) -> PciDeviceID; in dynid() argument
/DragonOS/kernel/src/driver/pci/test/
H A Dmod.rs7 dev_id::PciDeviceID,
20 drv.add_dynid(PciDeviceID::dummpy())?; in pt_init()
H A Dpt_driver.rs18 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 Dpt_device.rs17 pci::{dev_id::PciDeviceID, device::PciDevice, pci_irq::IrqType},
56 fn dynid(&self) -> PciDeviceID { in dynid() argument
57 PciDeviceID::dummpy() in dynid()