Searched refs:PciDeviceStructure (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.7/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.7/kernel/src/driver/pci/ |
D | pci.rs | 71 list: RwLock<LinkedList<Box<dyn PciDeviceStructure>>>, 83 pub fn read(&self) -> RwLockReadGuard<LinkedList<Box<dyn PciDeviceStructure>>> { in read() argument 88 pub fn write(&self) -> RwLockWriteGuard<LinkedList<Box<dyn PciDeviceStructure>>> { in write() argument 98 pub fn add(&self, device: Box<dyn PciDeviceStructure>) { in add() argument 110 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structure_mut() argument 113 ) -> Vec<&'a mut Box<(dyn PciDeviceStructure)>> { in get_pci_device_structure_mut() argument 129 list: &'a mut RwLockReadGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structure() argument 132 ) -> Vec<&'a Box<(dyn PciDeviceStructure)>> { in get_pci_device_structure() argument 264 pub trait PciDeviceStructure: Send + Sync { interface 382 impl PciDeviceStructure for PciDeviceStructureGeneralDevice { [all …]
|