Searched refs:PciDeviceStructure (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/virtio/ |
D | virtio.rs | 6 get_pci_device_structure_mut, PciDeviceStructure, PCI_DEVICE_LINKEDLIST, 75 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in virtio_device_search() argument 87 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_virtio_net_device() argument
|
D | transport_pci.rs | 4 BusDeviceFunction, PciDeviceStructure, PciDeviceStructureGeneralDevice, PciError,
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.rs | 72 list: RwLock<LinkedList<Box<dyn PciDeviceStructure>>>, 84 pub fn read(&self) -> RwLockReadGuard<LinkedList<Box<dyn PciDeviceStructure>>> { in read() argument 89 pub fn write(&self) -> RwLockWriteGuard<LinkedList<Box<dyn PciDeviceStructure>>> { in write() argument 99 pub fn add(&self, device: Box<dyn PciDeviceStructure>) { in add() argument 111 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structure_mut() argument 114 ) -> Vec<&'a mut Box<(dyn PciDeviceStructure)>> { in get_pci_device_structure_mut() argument 130 list: &'a mut RwLockReadGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structure() argument 133 ) -> Vec<&'a Box<(dyn PciDeviceStructure)>> { in get_pci_device_structure() argument 271 pub trait PciDeviceStructure: Send + Sync { trait 421 impl PciDeviceStructure for PciDeviceStructureGeneralDevice { [all …]
|
D | pci_irq.rs | 9 use super::pci::{PciDeviceStructure, PciDeviceStructureGeneralDevice, PciError}; 115 pub trait PciInterrupt: PciDeviceStructure {
|