Home
last modified time | relevance | path

Searched refs:IrqType (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci_irq.rs48 pub enum IrqType { enum
120 fn irq_init(&mut self, flag: IRQ) -> Option<IrqType> { in irq_init() argument
135 *self.irq_type_mut()? = IrqType::Msix { in irq_init()
143 return Some(IrqType::Msix { in irq_init()
162 *self.irq_type_mut()? = IrqType::Msi { in irq_init()
168 return Some(IrqType::Msi { in irq_init()
178 *self.irq_type_mut()? = IrqType::Legacy; in irq_init()
179 return Some(IrqType::Legacy); in irq_init()
190 IrqType::Msix { .. } => { in irq_enable()
193 IrqType::Msi { .. } => { in irq_enable()
[all …]
Dpci.rs4 use super::pci_irq::{IrqType, PciIrqError};
371 fn irq_type_mut(&mut self) -> Option<&mut IrqType>; in irq_type_mut() argument
404 pub irq_type: IrqType,
462 fn irq_type_mut(&mut self) -> Option<&mut IrqType> { in irq_type_mut() argument
476 pub irq_type: IrqType,
526 fn irq_type_mut(&mut self) -> Option<&mut IrqType> { in irq_type_mut() argument
585 fn irq_type_mut(&mut self) -> Option<&mut IrqType> { in irq_type_mut() argument
844 irq_type: IrqType::Unused, in pci_read_general_device_header()
914 irq_type: IrqType::Unused, in pci_read_pci_to_pci_bridge_header()