Lines Matching refs:irq
281 fn routes_to_chips(&self, irq: u32) -> Vec<(IrqSourceChip, u32)> { in routes_to_chips()
288 } if *gsi == irq => match chip { in routes_to_chips()
330 irq: u32, in register_irq_event()
335 if irq < self.ioapic_pins as u32 { in register_irq_event()
337 gsi: irq, in register_irq_event()
352 self.vm.register_irqfd(irq, irq_event, resample_event)?; in register_irq_event()
358 fn unregister_irq_event(&mut self, irq: u32, irq_event: &Event) -> Result<()> { in unregister_irq_event()
359 if irq < self.ioapic_pins as u32 { in unregister_irq_event()
363 if evt.gsi == irq && irq_event.eq(&evt.event) { in unregister_irq_event()
371 self.vm.unregister_irqfd(irq, irq_event) in unregister_irq_event()
420 irq: u32, in register_edge_irq_event()
424 self.register_irq_event(irq, irq_event.get_trigger(), None, source) in register_edge_irq_event()
427 fn unregister_edge_irq_event(&mut self, irq: u32, irq_event: &IrqEdgeEvent) -> Result<()> { in unregister_edge_irq_event()
428 self.unregister_irq_event(irq, irq_event.get_trigger()) in unregister_edge_irq_event()
433 irq: u32, in register_level_irq_event()
438 irq, in register_level_irq_event()
445 fn unregister_level_irq_event(&mut self, irq: u32, irq_event: &IrqLevelEvent) -> Result<()> { in unregister_level_irq_event()
446 self.unregister_irq_event(irq, irq_event.get_trigger()) in unregister_level_irq_event()
489 fn service_irq(&mut self, irq: u32, level: bool) -> Result<()> { in service_irq()
490 let chips = self.routes_to_chips(irq); in service_irq()