Lines Matching refs:irqchip
34 return kvm_pic_set_irq(pic, e->irqchip.pin, irq_source_id, level); in kvm_set_pic_irq()
42 return kvm_ioapic_set_irq(ioapic, e->irqchip.pin, irq_source_id, level, in kvm_set_ioapic_irq()
255 void kvm_fire_mask_notifiers(struct kvm *kvm, unsigned irqchip, unsigned pin, in kvm_fire_mask_notifiers() argument
262 gsi = kvm_irq_map_chip_pin(kvm, irqchip, pin); in kvm_fire_mask_notifiers()
287 e->irqchip.pin = ue->u.irqchip.pin; in kvm_set_routing_entry()
288 switch (ue->u.irqchip.irqchip) { in kvm_set_routing_entry()
290 e->irqchip.pin += PIC_NUM_PINS / 2; in kvm_set_routing_entry()
293 if (ue->u.irqchip.pin >= PIC_NUM_PINS / 2) in kvm_set_routing_entry()
298 if (ue->u.irqchip.pin >= KVM_IOAPIC_NUM_PINS) in kvm_set_routing_entry()
305 e->irqchip.irqchip = ue->u.irqchip.irqchip; in kvm_set_routing_entry()
362 .u.irqchip = { .irqchip = KVM_IRQCHIP_IOAPIC, .pin = (irq) } }
367 .u.irqchip = { .irqchip = SELECT_PIC(irq), .pin = (irq) % 8 } }