pub fn map_interrupt(&self, irq: i32) -> ZxResult<Arc<Interrupt>> {
        if irq < 0 || irq as u32 >= self.irqs_avail_cnt {
            return Err(ZxError::INVALID_ARGS);
        }
        Interrupt::new_pci(self.device.clone(), irq as u32, self.irqs_maskable)
    }
/// Map the interrupt to the IRQ.
Map the interrupt to the IRQ.
Map the interrupt to the IRQ .
pub fn map_interrupt(&self, irq: i32) -> ZxResult<Arc<Interrupt>> {
        if irq < 0 || irq as u32 >= self.irqs_avail_cnt {
            return Err(ZxError::INVALID_ARGS);
        }
        Interrupt::new_pci(self.device.clone(), irq as u32, self.irqs_maskable)
    }
pub fn map_interrupt ( & self , irq : i32 ) -> ZxResult < Arc < Interrupt > > { if irq < 0 || irq as u32 >= self . irqs_avail_cnt { return Err ( ZxError :: INVALID_ARGS ) ; } Interrupt :: new_pci ( self . device . clone ( ) , irq as u32 , self . irqs_maskable ) }
Map the interrupt to the IRQ.
Map the interrupt to the IRQ .
&self
irq
i32
&self
irq
i32