Lines Matching refs:gsi
49 kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, irqfd->gsi, 1, in irqfd_inject()
51 kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, irqfd->gsi, 0, in irqfd_inject()
55 irqfd->gsi, 1, false); in irqfd_inject()
84 resampler->notifier.gsi, 0, false); in irqfd_resampler_ack()
110 resampler->notifier.gsi, 0, false); in irqfd_resampler_shutdown()
263 n_entries = kvm_irq_map_gsi(kvm, entries, irqfd->gsi); in irqfd_update()
323 irqfd->gsi = args->gsi; in kvm_irqfd_assign()
359 if (resampler->notifier.gsi == irqfd->gsi) { in kvm_irqfd_assign()
376 resampler->notifier.gsi = irqfd->gsi; in kvm_irqfd_assign()
470 int gsi, idx; in kvm_irq_has_notifier() local
473 gsi = kvm_irq_map_chip_pin(kvm, irqchip, pin); in kvm_irq_has_notifier()
474 if (gsi != -1) in kvm_irq_has_notifier()
477 if (kian->gsi == gsi) { in kvm_irq_has_notifier()
488 void kvm_notify_acked_gsi(struct kvm *kvm, int gsi) in kvm_notify_acked_gsi() argument
494 if (kian->gsi == gsi) in kvm_notify_acked_gsi()
500 int gsi, idx; in kvm_notify_acked_irq() local
505 gsi = kvm_irq_map_chip_pin(kvm, irqchip, pin); in kvm_notify_acked_irq()
506 if (gsi != -1) in kvm_notify_acked_irq()
507 kvm_notify_acked_gsi(kvm, gsi); in kvm_notify_acked_irq()
560 if (irqfd->eventfd == eventfd && irqfd->gsi == args->gsi) { in kvm_irqfd_deassign()
646 irqfd->gsi, 1); in kvm_irq_routing_update()
660 int gsi, idx; in kvm_notify_irqfd_resampler() local
663 gsi = kvm_irq_map_chip_pin(kvm, irqchip, pin); in kvm_notify_irqfd_resampler()
664 if (gsi != -1) { in kvm_notify_irqfd_resampler()
668 if (resampler->notifier.gsi == gsi) { in kvm_notify_irqfd_resampler()