Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/virtio/
Dvirtio.rs6 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
Dtransport_pci.rs4 BusDeviceFunction, PciDeviceStructure, PciDeviceStructureGeneralDevice, PciError,
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs72 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 …]
Dpci_irq.rs9 use super::pci::{PciDeviceStructure, PciDeviceStructureGeneralDevice, PciError};
115 pub trait PciInterrupt: PciDeviceStructure {