/linux-4.19.296/virt/kvm/ |
D | irqchip.c | 35 struct kvm_kernel_irq_routing_entry *entries, int gsi) in kvm_irq_map_gsi() argument 43 if (irq_rt && gsi < irq_rt->nr_rt_entries) { in kvm_irq_map_gsi() 44 hlist_for_each_entry(e, &irq_rt->map[gsi], link) { in kvm_irq_map_gsi() 147 u32 gsi = array_index_nospec(ue->gsi, KVM_MAX_IRQ_ROUTES); in setup_routing_entry() local 153 hlist_for_each_entry(ei, &rt->map[gsi], link) in setup_routing_entry() 159 e->gsi = gsi; in setup_routing_entry() 165 rt->chip[e->irqchip.irqchip][e->irqchip.pin] = e->gsi; in setup_routing_entry() 167 hlist_add_head(&e->link, &rt->map[e->gsi]); in setup_routing_entry() 192 if (ue[i].gsi >= KVM_MAX_IRQ_ROUTES) in kvm_set_irq_routing() 194 nr_rt_entries = max(nr_rt_entries, ue[i].gsi); in kvm_set_irq_routing()
|
D | eventfd.c | 61 kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, irqfd->gsi, 1, in irqfd_inject() 63 kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, irqfd->gsi, 0, in irqfd_inject() 67 irqfd->gsi, 1, false); in irqfd_inject() 88 resampler->notifier.gsi, 0, false); in irqfd_resampler_ack() 113 resampler->notifier.gsi, 0, false); in irqfd_resampler_shutdown() 261 n_entries = kvm_irq_map_gsi(kvm, entries, irqfd->gsi); in irqfd_update() 314 irqfd->gsi = args->gsi; in kvm_irqfd_assign() 350 if (resampler->notifier.gsi == irqfd->gsi) { in kvm_irqfd_assign() 366 resampler->notifier.gsi = irqfd->gsi; in kvm_irqfd_assign() 460 int gsi, idx; in kvm_irq_has_notifier() local [all …]
|
/linux-4.19.296/include/trace/events/ |
D | kvm.h | 67 TP_PROTO(unsigned int gsi, int level, int irq_source_id), 68 TP_ARGS(gsi, level, irq_source_id), 71 __field( unsigned int, gsi ) 77 __entry->gsi = gsi; 83 __entry->gsi, __entry->level, __entry->irq_source_id)
|
/linux-4.19.296/drivers/xen/events/ |
D | events_base.c | 288 unsigned gsi, in xen_irq_info_pirq_setup() argument 295 info->u.pirq.gsi = gsi; in xen_irq_info_pirq_setup() 653 static int __must_check xen_allocate_irq_gsi(unsigned gsi) in xen_allocate_irq_gsi() argument 667 if (gsi < nr_legacy_irqs()) in xen_allocate_irq_gsi() 668 irq = gsi; in xen_allocate_irq_gsi() 670 irq = irq_alloc_desc_at(gsi, -1); in xen_allocate_irq_gsi() 839 int xen_irq_from_gsi(unsigned gsi) in xen_irq_from_gsi() argument 847 if (info->u.pirq.gsi == gsi) in xen_irq_from_gsi() 898 int xen_bind_pirq_gsi_to_irq(unsigned gsi, in xen_bind_pirq_gsi_to_irq() argument 907 irq = xen_irq_from_gsi(gsi); in xen_bind_pirq_gsi_to_irq() [all …]
|
D | events_internal.h | 59 unsigned short gsi; member
|
/linux-4.19.296/include/xen/ |
D | events.h | 124 int xen_bind_pirq_gsi_to_irq(unsigned gsi, 145 int xen_irq_from_gsi(unsigned gsi);
|
/linux-4.19.296/include/linux/ |
D | kvm_irqfd.h | 54 int gsi; member
|
D | acpi.h | 323 int acpi_register_gsi (struct device *dev, u32 gsi, int triggering, int polarity); 324 int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); 325 int acpi_isa_irq_to_gsi (unsigned isa_irq, u32 *gsi); 331 extern int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity); 333 static inline int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity) in acpi_get_override_irq() argument 343 void acpi_unregister_gsi (u32 gsi);
|
D | kvm_host.h | 362 u32 gsi; member 972 unsigned gsi; member 977 struct kvm_kernel_irq_routing_entry *entries, int gsi); 988 void kvm_notify_acked_gsi(struct kvm *kvm, int gsi);
|
/linux-4.19.296/virt/kvm/arm/vgic/ |
D | vgic-irqfd.c | 120 entries[i].gsi = i; in kvm_vgic_setup_default_irq_routing()
|
/linux-4.19.296/include/xen/interface/ |
D | physdev.h | 212 int gsi; member
|
/linux-4.19.296/drivers/char/ |
D | hpet.c | 204 int irq, gsi; in hpet_timer_set_irq() local 241 gsi = acpi_register_gsi(NULL, irq, ACPI_LEVEL_SENSITIVE, in hpet_timer_set_irq() 243 if (gsi > 0) in hpet_timer_set_irq() 254 devp->hd_hdwirq = gsi; in hpet_timer_set_irq()
|
/linux-4.19.296/include/uapi/linux/ |
D | kvm.h | 997 __u32 gsi; member 1055 __u32 gsi; member 1530 __u32 gsi; member
|