Home
last modified time | relevance | path

Searched defs:PciError (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/driver/pci/
H A Dpci_irq.rs229 fn irq_enable(&self, enable: bool) -> Result<u8, PciError> { in irq_enable() argument
251 fn msix_enable(&self, enable: bool) -> Result<u8, PciError> { in msix_enable() argument
282 fn msi_enable(&self, enable: bool) -> Result<u8, PciError> { in msi_enable() argument
318 fn irq_install(&self, msg: PciIrqMsg) -> Result<u8, PciError> { in irq_install() argument
349 fn msi_install(&self, msg: PciIrqMsg) -> Result<u8, PciError> { in msi_install() argument
514 fn msix_install(&self, msg: PciIrqMsg) -> Result<u8, PciError> { in msix_install() argument
604 fn irq_uninstall(&mut self) -> Result<u8, PciError> { in irq_uninstall() argument
626 fn msi_uninstall(&self) -> Result<u8, PciError> { in msi_uninstall() argument
674 fn msix_uninstall(&self) -> Result<u8, PciError> { in msix_uninstall() argument
729 fn irq_mask(&mut self, irq_index: u16) -> Result<u8, PciError> { in irq_mask() argument
[all …]
H A Droot.rs82 ) -> Result<Arc<Self>, PciError> { in new() argument
100 fn map(&mut self) -> Result<u8, PciError> { in map() argument
H A Dpci.rs282 pub enum PciError { enum
295 impl Display for PciError { implementation
375 fn bar_ioremap(&self) -> Option<Result<u8, PciError>> { in bar_ioremap() argument
481 fn bar_ioremap(&self) -> Option<Result<u8, PciError>> { in bar_ioremap() argument
675 ) -> Result<Arc<dyn PciDeviceStructure>, PciError> { in pci_read_header() argument
976 fn pci_check_function(busdevicefunction: BusDeviceFunction) -> Result<u8, PciError> { in pci_check_function() argument
1002 fn pci_check_device(bus: u8, device: u8) -> Result<u8, PciError> { in pci_check_device() argument
1040 fn pci_check_bus(bus: u8) -> Result<u8, PciError> { in pci_check_bus() argument
1268 pub fn get_bar(&self, bar_index: u8) -> Result<&BarInfo, PciError> { in get_bar() argument
1309 ) -> Result<PciStandardDeviceBar, PciError> { in pci_bar_init() argument
/DragonOS/kernel/src/driver/virtio/
H A Dtransport.rs34 pub fn setup_irq(&self, dev_id: Arc<DeviceId>) -> Result<(), PciError> { in setup_irq() argument