Struct pci_driver::interrupts::PciInterrupts
source · pub struct PciInterrupts<'a> { /* private fields */ }
Expand description
Gives you control over a PCI device’s interrupt mechanisms: INTx, MSI, and MSI-X.
Each device may only support a subset of these mechanisms. The PciInterruptMechanism::max
method returns 0 for unsupported mechanisms.
Implementations§
source§impl PciInterrupts<'_>
impl PciInterrupts<'_>
sourcepub fn intx(&self) -> PciInterruptMechanism<'_>
pub fn intx(&self) -> PciInterruptMechanism<'_>
Returns a thing that gives you control over a PCI device’s INTx interrupts.
sourcepub fn msi(&self) -> PciInterruptMechanism<'_>
pub fn msi(&self) -> PciInterruptMechanism<'_>
Returns a thing that gives you control over a PCI device’s MSI interrupts.
sourcepub fn msi_x(&self) -> PciInterruptMechanism<'_>
pub fn msi_x(&self) -> PciInterruptMechanism<'_>
Returns a thing that gives you control over a PCI device’s MSI-X interrupts.