gsi 36 arch/ia64/include/asm/acpi.h int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); gsi 87 arch/ia64/include/asm/iosapic.h extern int gsi_to_irq (unsigned int gsi); gsi 88 arch/ia64/include/asm/iosapic.h extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity, gsi 91 arch/ia64/include/asm/iosapic.h extern void iosapic_override_isa_irq (unsigned int isa_irq, unsigned int gsi, gsi 95 arch/ia64/include/asm/iosapic.h unsigned int gsi, gsi 526 arch/ia64/kernel/acpi.c int acpi_register_gsi(struct device *dev, u32 gsi, int triggering, int polarity) gsi 529 arch/ia64/kernel/acpi.c return gsi; gsi 531 arch/ia64/kernel/acpi.c if (has_8259 && gsi < 16) gsi 532 arch/ia64/kernel/acpi.c return isa_irq_to_vector(gsi); gsi 534 arch/ia64/kernel/acpi.c return iosapic_register_intr(gsi, gsi 544 arch/ia64/kernel/acpi.c void acpi_unregister_gsi(u32 gsi) gsi 549 arch/ia64/kernel/acpi.c if (has_8259 && gsi < 16) gsi 552 arch/ia64/kernel/acpi.c iosapic_unregister_intr(gsi); gsi 687 arch/ia64/kernel/acpi.c int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) gsi 691 arch/ia64/kernel/acpi.c if (has_8259 && gsi < 16) gsi 692 arch/ia64/kernel/acpi.c *irq = isa_irq_to_vector(gsi); gsi 694 arch/ia64/kernel/acpi.c tmp = gsi_to_irq(gsi); gsi 702 arch/ia64/kernel/acpi.c int acpi_isa_irq_to_gsi(unsigned isa_irq, u32 *gsi) gsi 706 arch/ia64/kernel/acpi.c *gsi = isa_irq; gsi 163 arch/ia64/kernel/iosapic.c find_iosapic (unsigned int gsi) gsi 168 arch/ia64/kernel/iosapic.c if ((unsigned) (gsi - iosapic_lists[i].gsi_base) < gsi 176 arch/ia64/kernel/iosapic.c static inline int __gsi_to_irq(unsigned int gsi) gsi 185 arch/ia64/kernel/iosapic.c if (rte->iosapic->gsi_base + rte->rte_index == gsi) gsi 192 arch/ia64/kernel/iosapic.c gsi_to_irq (unsigned int gsi) gsi 198 arch/ia64/kernel/iosapic.c irq = __gsi_to_irq(gsi); gsi 203 arch/ia64/kernel/iosapic.c static struct iosapic_rte_info *find_rte(unsigned int irq, unsigned int gsi) gsi 208 arch/ia64/kernel/iosapic.c if (rte->iosapic->gsi_base + rte->rte_index == gsi) gsi 214 arch/ia64/kernel/iosapic.c set_rte (unsigned int gsi, unsigned int irq, unsigned int dest, int mask) gsi 225 arch/ia64/kernel/iosapic.c rte = find_rte(irq, gsi); gsi 551 arch/ia64/kernel/iosapic.c register_intr (unsigned int gsi, int irq, unsigned char delivery, gsi 558 arch/ia64/kernel/iosapic.c index = find_iosapic(gsi); gsi 561 arch/ia64/kernel/iosapic.c __func__, gsi); gsi 565 arch/ia64/kernel/iosapic.c rte = find_rte(irq, gsi); gsi 575 arch/ia64/kernel/iosapic.c rte->rte_index = gsi - rte->iosapic->gsi_base; gsi 617 arch/ia64/kernel/iosapic.c get_target_cpu (unsigned int gsi, int irq) gsi 653 arch/ia64/kernel/iosapic.c iosapic_index = find_iosapic(gsi); gsi 711 arch/ia64/kernel/iosapic.c iosapic_register_intr (unsigned int gsi, gsi 728 arch/ia64/kernel/iosapic.c irq = __gsi_to_irq(gsi); gsi 730 arch/ia64/kernel/iosapic.c rte = find_rte(irq, gsi); gsi 750 arch/ia64/kernel/iosapic.c dest = get_target_cpu(gsi, irq); gsi 752 arch/ia64/kernel/iosapic.c err = register_intr(gsi, irq, dmode, polarity, trigger); gsi 766 arch/ia64/kernel/iosapic.c set_rte(gsi, irq, dest, mask); gsi 769 arch/ia64/kernel/iosapic.c gsi, (trigger == IOSAPIC_EDGE ? "edge" : "level"), gsi 780 arch/ia64/kernel/iosapic.c iosapic_unregister_intr (unsigned int gsi) gsi 794 arch/ia64/kernel/iosapic.c irq = gsi_to_irq(gsi); gsi 797 arch/ia64/kernel/iosapic.c gsi); gsi 803 arch/ia64/kernel/iosapic.c if ((rte = find_rte(irq, gsi)) == NULL) { gsi 805 arch/ia64/kernel/iosapic.c gsi); gsi 820 arch/ia64/kernel/iosapic.c index = find_iosapic(gsi); gsi 829 arch/ia64/kernel/iosapic.c gsi, (trigger == IOSAPIC_EDGE ? "edge" : "level"), gsi 856 arch/ia64/kernel/iosapic.c iosapic_register_platform_intr (u32 int_type, unsigned int gsi, gsi 895 arch/ia64/kernel/iosapic.c register_intr(gsi, irq, delivery, polarity, trigger); gsi 901 arch/ia64/kernel/iosapic.c int_type, gsi, (trigger == IOSAPIC_EDGE ? "edge" : "level"), gsi 905 arch/ia64/kernel/iosapic.c set_rte(gsi, irq, dest, mask); gsi 912 arch/ia64/kernel/iosapic.c void iosapic_override_isa_irq(unsigned int isa_irq, unsigned int gsi, gsi 922 arch/ia64/kernel/iosapic.c register_intr(gsi, irq, dmode, polarity, trigger); gsi 925 arch/ia64/kernel/iosapic.c isa_irq, gsi, trigger == IOSAPIC_EDGE ? "edge" : "level", gsi 929 arch/ia64/kernel/iosapic.c set_rte(gsi, irq, dest, 1); gsi 1009 arch/ia64/kernel/iosapic.c iosapic_delete_rte(unsigned int irq, unsigned int gsi) gsi 1015 arch/ia64/kernel/iosapic.c if (rte->iosapic->gsi_base + rte->rte_index == gsi) { gsi 1042 arch/powerpc/kvm/book3s.c return kvm_set_irq(kvm, irq_source_id, irq_entry->gsi, gsi 1049 arch/powerpc/kvm/book3s.c return kvm_set_irq(kvm, irq_source_id, e->gsi, level, line_status); gsi 1053 arch/powerpc/kvm/book3s.c struct kvm_kernel_irq_routing_entry *entries, int gsi) gsi 1055 arch/powerpc/kvm/book3s.c entries->gsi = gsi; gsi 1059 arch/powerpc/kvm/book3s.c entries->irqchip.pin = gsi; gsi 5153 arch/powerpc/kvm/book3s_hv.c ret = kvmppc_set_passthru_irq(irqfd->kvm, prod->irq, irqfd->gsi); gsi 5156 arch/powerpc/kvm/book3s_hv.c prod->irq, irqfd->gsi, ret); gsi 5175 arch/powerpc/kvm/book3s_hv.c ret = kvmppc_clr_passthru_irq(irqfd->kvm, prod->irq, irqfd->gsi); gsi 5178 arch/powerpc/kvm/book3s_hv.c prod->irq, irqfd->gsi, ret); gsi 41 arch/x86/include/asm/acpi.h extern int (*__acpi_register_gsi)(struct device *dev, u32 gsi, gsi 43 arch/x86/include/asm/acpi.h extern void (*__acpi_unregister_gsi)(u32 gsi); gsi 52 arch/x86/include/asm/acpi.h extern int acpi_gsi_to_irq(u32 gsi, unsigned int *irq); gsi 167 arch/x86/include/asm/io_apic.h extern int mp_find_ioapic(u32 gsi); gsi 168 arch/x86/include/asm/io_apic.h extern int mp_find_ioapic_pin(int ioapic, u32 gsi); gsi 169 arch/x86/include/asm/io_apic.h extern int mp_map_gsi_to_irq(u32 gsi, unsigned int flags, gsi 208 arch/x86/include/asm/io_apic.h static inline int mp_find_ioapic(u32 gsi) { return 0; } gsi 209 arch/x86/include/asm/io_apic.h static inline int mp_map_gsi_to_irq(u32 gsi, unsigned int flags, gsi 212 arch/x86/include/asm/io_apic.h return gsi; gsi 337 arch/x86/kernel/acpi/boot.c u8 trigger, u32 gsi); gsi 340 arch/x86/kernel/acpi/boot.c u32 gsi) gsi 358 arch/x86/kernel/acpi/boot.c if (mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi) < 0) gsi 365 arch/x86/kernel/acpi/boot.c if (gsi < nr_legacy_irqs() && isa_irq_to_gsi[gsi] == gsi) gsi 366 arch/x86/kernel/acpi/boot.c isa_irq_to_gsi[gsi] = INVALID_ACPI_IRQ; gsi 367 arch/x86/kernel/acpi/boot.c isa_irq_to_gsi[bus_irq] = gsi; gsi 370 arch/x86/kernel/acpi/boot.c static int mp_config_acpi_gsi(struct device *dev, u32 gsi, int trigger, gsi 397 arch/x86/kernel/acpi/boot.c ioapic = mp_find_ioapic(gsi); gsi 399 arch/x86/kernel/acpi/boot.c mp_irq.dstirq = mp_find_ioapic_pin(ioapic, gsi); gsi 407 arch/x86/kernel/acpi/boot.c u8 trigger, u32 gsi) gsi 413 arch/x86/kernel/acpi/boot.c ioapic = mp_find_ioapic(gsi); gsi 415 arch/x86/kernel/acpi/boot.c pr_warn("Failed to find ioapic for gsi : %u\n", gsi); gsi 419 arch/x86/kernel/acpi/boot.c pin = mp_find_ioapic_pin(ioapic, gsi); gsi 463 arch/x86/kernel/acpi/boot.c static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) gsi 479 arch/x86/kernel/acpi/boot.c mp_override_legacy_irq(bus_irq, polarity, trigger, gsi); gsi 481 arch/x86/kernel/acpi/boot.c mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi); gsi 489 arch/x86/kernel/acpi/boot.c acpi_sci_override_gsi = gsi; gsi 604 arch/x86/kernel/acpi/boot.c int acpi_gsi_to_irq(u32 gsi, unsigned int *irqp) gsi 609 arch/x86/kernel/acpi/boot.c *irqp = gsi; gsi 613 arch/x86/kernel/acpi/boot.c rc = acpi_get_override_irq(gsi, &trigger, &polarity); gsi 619 arch/x86/kernel/acpi/boot.c irq = acpi_register_gsi(NULL, gsi, trigger, polarity); gsi 628 arch/x86/kernel/acpi/boot.c int acpi_isa_irq_to_gsi(unsigned isa_irq, u32 *gsi) gsi 632 arch/x86/kernel/acpi/boot.c *gsi = isa_irq_to_gsi[isa_irq]; gsi 639 arch/x86/kernel/acpi/boot.c static int acpi_register_gsi_pic(struct device *dev, u32 gsi, gsi 647 arch/x86/kernel/acpi/boot.c elcr_set_level_irq(gsi); gsi 650 arch/x86/kernel/acpi/boot.c return gsi; gsi 654 arch/x86/kernel/acpi/boot.c static int acpi_register_gsi_ioapic(struct device *dev, u32 gsi, gsi 657 arch/x86/kernel/acpi/boot.c int irq = gsi; gsi 668 arch/x86/kernel/acpi/boot.c irq = mp_map_gsi_to_irq(gsi, IOAPIC_MAP_ALLOC, &info); gsi 670 arch/x86/kernel/acpi/boot.c if (irq >= 0 && enable_update_mptable && gsi != acpi_gbl_FADT.sci_interrupt) gsi 671 arch/x86/kernel/acpi/boot.c mp_config_acpi_gsi(dev, gsi, trigger, polarity); gsi 678 arch/x86/kernel/acpi/boot.c static void acpi_unregister_gsi_ioapic(u32 gsi) gsi 684 arch/x86/kernel/acpi/boot.c irq = mp_map_gsi_to_irq(gsi, 0, NULL); gsi 692 arch/x86/kernel/acpi/boot.c int (*__acpi_register_gsi)(struct device *dev, u32 gsi, gsi 694 arch/x86/kernel/acpi/boot.c void (*__acpi_unregister_gsi)(u32 gsi) = NULL; gsi 706 arch/x86/kernel/acpi/boot.c int acpi_register_gsi(struct device *dev, u32 gsi, int trigger, int polarity) gsi 708 arch/x86/kernel/acpi/boot.c return __acpi_register_gsi(dev, gsi, trigger, polarity); gsi 712 arch/x86/kernel/acpi/boot.c void acpi_unregister_gsi(u32 gsi) gsi 715 arch/x86/kernel/acpi/boot.c __acpi_unregister_gsi(gsi); gsi 1113 arch/x86/kernel/acpi/boot.c u32 gsi; gsi 1116 arch/x86/kernel/acpi/boot.c if (acpi_isa_irq_to_gsi(i, &gsi)) gsi 1122 arch/x86/kernel/acpi/boot.c ioapic = mp_find_ioapic(gsi); gsi 1125 arch/x86/kernel/acpi/boot.c pin = mp_find_ioapic_pin(ioapic, gsi); gsi 883 arch/x86/kernel/apic/io_apic.c int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity); gsi 888 arch/x86/kernel/apic/io_apic.c u32 gsi, int ioapic_idx, int pin) gsi 903 arch/x86/kernel/apic/io_apic.c if (acpi_get_override_irq(gsi, &trigger, &polarity) >= 0) { gsi 959 arch/x86/kernel/apic/io_apic.c static int alloc_irq_from_domain(struct irq_domain *domain, int ioapic, u32 gsi, gsi 972 arch/x86/kernel/apic/io_apic.c if (!ioapic_initialized || gsi >= nr_legacy_irqs()) gsi 973 arch/x86/kernel/apic/io_apic.c irq = gsi; gsi 977 arch/x86/kernel/apic/io_apic.c irq = gsi; gsi 1034 arch/x86/kernel/apic/io_apic.c static int mp_map_pin_to_irq(u32 gsi, int idx, int ioapic, int pin, gsi 1059 arch/x86/kernel/apic/io_apic.c ioapic_copy_alloc_attr(&tmp, info, gsi, ioapic, pin); gsi 1064 arch/x86/kernel/apic/io_apic.c irq = alloc_irq_from_domain(domain, ioapic, gsi, &tmp); gsi 1079 arch/x86/kernel/apic/io_apic.c u32 gsi = mp_pin_to_gsi(ioapic, pin); gsi 1107 arch/x86/kernel/apic/io_apic.c return mp_map_pin_to_irq(gsi, idx, ioapic, pin, flags, NULL); gsi 1110 arch/x86/kernel/apic/io_apic.c int mp_map_gsi_to_irq(u32 gsi, unsigned int flags, struct irq_alloc_info *info) gsi 1114 arch/x86/kernel/apic/io_apic.c ioapic = mp_find_ioapic(gsi); gsi 1118 arch/x86/kernel/apic/io_apic.c pin = mp_find_ioapic_pin(ioapic, gsi); gsi 1123 arch/x86/kernel/apic/io_apic.c return mp_map_pin_to_irq(gsi, idx, ioapic, pin, flags, info); gsi 2597 arch/x86/kernel/apic/io_apic.c int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity) gsi 2604 arch/x86/kernel/apic/io_apic.c ioapic = mp_find_ioapic(gsi); gsi 2608 arch/x86/kernel/apic/io_apic.c pin = mp_find_ioapic_pin(ioapic, gsi); gsi 2724 arch/x86/kernel/apic/io_apic.c int mp_find_ioapic(u32 gsi) gsi 2734 arch/x86/kernel/apic/io_apic.c if (gsi >= gsi_cfg->gsi_base && gsi <= gsi_cfg->gsi_end) gsi 2738 arch/x86/kernel/apic/io_apic.c printk(KERN_ERR "ERROR: Unable to locate IOAPIC for GSI %d\n", gsi); gsi 2742 arch/x86/kernel/apic/io_apic.c int mp_find_ioapic_pin(int ioapic, u32 gsi) gsi 2750 arch/x86/kernel/apic/io_apic.c if (WARN_ON(gsi > gsi_cfg->gsi_end)) gsi 2753 arch/x86/kernel/apic/io_apic.c return gsi - gsi_cfg->gsi_base; gsi 2903 arch/x86/kernel/apic/io_apic.c u32 gsi = mp_pin_to_gsi(ioapic, pin); gsi 2904 arch/x86/kernel/apic/io_apic.c int irq = mp_map_gsi_to_irq(gsi, 0, NULL); gsi 2940 arch/x86/kernel/apic/io_apic.c static void mp_irqdomain_get_attr(u32 gsi, struct mp_chip_data *data, gsi 2946 arch/x86/kernel/apic/io_apic.c } else if (acpi_get_override_irq(gsi, &data->trigger, gsi 168 arch/x86/kvm/hyperv.c int gsi, idx; gsi 182 arch/x86/kvm/hyperv.c gsi = atomic_read(&synic->sint_to_gsi[sint]); gsi 183 arch/x86/kvm/hyperv.c if (gsi != -1) gsi 184 arch/x86/kvm/hyperv.c kvm_notify_acked_gsi(kvm, gsi); gsi 351 arch/x86/kvm/hyperv.c static int kvm_hv_set_sint_gsi(struct kvm *kvm, u32 vpidx, u32 sint, int gsi) gsi 362 arch/x86/kvm/hyperv.c atomic_set(&synic->sint_to_gsi[sint], gsi); gsi 370 arch/x86/kvm/hyperv.c u32 gsi; gsi 375 arch/x86/kvm/hyperv.c for (gsi = 0; gsi < irq_rt->nr_rt_entries; gsi++) { gsi 376 arch/x86/kvm/hyperv.c hlist_for_each_entry(e, &irq_rt->map[gsi], link) { gsi 379 arch/x86/kvm/hyperv.c e->hv_sint.sint, gsi); gsi 682 arch/x86/kvm/i8254.c pit_state->irq_ack_notifier.gsi = 0; gsi 255 arch/x86/kvm/irq_comm.c int idx, gsi; gsi 258 arch/x86/kvm/irq_comm.c gsi = kvm_irq_map_chip_pin(kvm, irqchip, pin); gsi 259 arch/x86/kvm/irq_comm.c if (gsi != -1) gsi 261 arch/x86/kvm/irq_comm.c if (kimn->irq == gsi) gsi 352 arch/x86/kvm/irq_comm.c { .gsi = irq, .type = KVM_IRQ_ROUTING_IRQCHIP, \ gsi 357 arch/x86/kvm/irq_comm.c { .gsi = irq, .type = KVM_IRQ_ROUTING_IRQCHIP, \ gsi 5404 arch/x86/kvm/svm.c e->gsi, vcpu_info.vector, gsi 997 arch/x86/kvm/trace.h unsigned int gsi, unsigned int gvec, gsi 999 arch/x86/kvm/trace.h TP_ARGS(host_irq, vcpu_id, gsi, gvec, pi_desc_addr, set), gsi 1004 arch/x86/kvm/trace.h __field( unsigned int, gsi ) gsi 1013 arch/x86/kvm/trace.h __entry->gsi = gsi; gsi 1024 arch/x86/kvm/trace.h __entry->gsi, gsi 7522 arch/x86/kvm/vmx/vmx.c trace_kvm_pi_irte_update(host_irq, vcpu->vcpu_id, e->gsi, gsi 10314 arch/x86/kvm/x86.c prod->irq, irqfd->gsi, 1); gsi 10333 arch/x86/kvm/x86.c ret = kvm_x86_ops->update_pi_irte(irqfd->kvm, prod->irq, irqfd->gsi, 0); gsi 219 arch/x86/pci/intel_mid_pci.c u8 gsi; gsi 224 arch/x86/pci/intel_mid_pci.c ret = pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &gsi); gsi 235 arch/x86/pci/intel_mid_pci.c if (gsi == 0) { gsi 264 arch/x86/pci/intel_mid_pci.c ret = mp_map_gsi_to_irq(gsi, IOAPIC_MAP_ALLOC, &info); gsi 36 arch/x86/pci/xen.c u8 gsi; gsi 38 arch/x86/pci/xen.c rc = pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &gsi); gsi 45 arch/x86/pci/xen.c pirq = gsi; gsi 47 arch/x86/pci/xen.c if (gsi < nr_legacy_irqs()) gsi 50 arch/x86/pci/xen.c rc = xen_bind_pirq_gsi_to_irq(gsi, pirq, share, "pcifront"); gsi 53 arch/x86/pci/xen.c gsi, pirq, rc); gsi 58 arch/x86/pci/xen.c dev_info(&dev->dev, "Xen PCI mapped GSI%d to IRQ%d\n", gsi, dev->irq); gsi 63 arch/x86/pci/xen.c static int xen_register_pirq(u32 gsi, int gsi_override, int triggering, gsi 71 arch/x86/pci/xen.c irq = xen_irq_from_gsi(gsi); gsi 76 arch/x86/pci/xen.c pirq = gsi; gsi 80 arch/x86/pci/xen.c map_irq.index = gsi; gsi 98 arch/x86/pci/xen.c gsi = gsi_override; gsi 100 arch/x86/pci/xen.c irq = xen_bind_pirq_gsi_to_irq(gsi, map_irq.pirq, shareable, name); gsi 104 arch/x86/pci/xen.c printk(KERN_DEBUG "xen: --> pirq=%d -> irq=%d (gsi=%d)\n", map_irq.pirq, irq, gsi); gsi 109 arch/x86/pci/xen.c static int acpi_register_gsi_xen_hvm(struct device *dev, u32 gsi, gsi 115 arch/x86/pci/xen.c return xen_register_pirq(gsi, -1 /* no GSI override */, trigger, gsi 120 arch/x86/pci/xen.c static int xen_register_gsi(u32 gsi, int gsi_override, int triggering, int polarity) gsi 129 arch/x86/pci/xen.c gsi, triggering, polarity); gsi 131 arch/x86/pci/xen.c irq = xen_register_pirq(gsi, gsi_override, triggering, true); gsi 133 arch/x86/pci/xen.c setup_gsi.gsi = gsi; gsi 139 arch/x86/pci/xen.c printk(KERN_INFO "Already setup the GSI :%d\n", gsi); gsi 142 arch/x86/pci/xen.c gsi, rc); gsi 148 arch/x86/pci/xen.c static int acpi_register_gsi_xen(struct device *dev, u32 gsi, gsi 151 arch/x86/pci/xen.c return xen_register_gsi(gsi, -1 /* no GSI override */, trigger, polarity); gsi 30 arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c int gsi = TANGIER_EXT_TIMER0_MSI; gsi 38 arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c irq = mp_map_gsi_to_irq(gsi, IOAPIC_MAP_ALLOC, &info); gsi 40 arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c dev_warn(&pdev->dev, "cannot find interrupt %d in ioapic\n", gsi); gsi 51 drivers/acpi/evged.c unsigned int gsi; gsi 61 drivers/acpi/evged.c acpi_ret = acpi_execute_simple_method(event->handle, NULL, event->gsi); gsi 73 drivers/acpi/evged.c unsigned int gsi; gsi 93 drivers/acpi/evged.c gsi = p->interrupts[0]; gsi 96 drivers/acpi/evged.c gsi = pext->interrupts[0]; gsi 102 drivers/acpi/evged.c switch (gsi) { gsi 105 drivers/acpi/evged.c trigger == ACPI_EDGE_SENSITIVE ? 'E' : 'L', gsi); gsi 122 drivers/acpi/evged.c event->gsi = gsi; gsi 136 drivers/acpi/evged.c dev_dbg(dev, "GED listening GSI %u @ IRQ %u\n", gsi, irq); gsi 172 drivers/acpi/evged.c event->gsi, event->irq); gsi 27 drivers/acpi/irq.c int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) gsi 32 drivers/acpi/irq.c *irq = irq_find_mapping(d, gsi); gsi 51 drivers/acpi/irq.c int acpi_register_gsi(struct device *dev, u32 gsi, int trigger, gsi 62 drivers/acpi/irq.c fwspec.param[0] = gsi; gsi 74 drivers/acpi/irq.c void acpi_unregister_gsi(u32 gsi) gsi 78 drivers/acpi/irq.c int irq = irq_find_mapping(d, gsi); gsi 556 drivers/acpi/osl.c acpi_os_install_interrupt_handler(u32 gsi, acpi_osd_handler handler, gsi 567 drivers/acpi/osl.c if (gsi != acpi_gbl_FADT.sci_interrupt) gsi 573 drivers/acpi/osl.c if (acpi_gsi_to_irq(gsi, &irq) < 0) { gsi 575 drivers/acpi/osl.c gsi); gsi 591 drivers/acpi/osl.c acpi_status acpi_os_remove_interrupt_handler(u32 gsi, acpi_osd_handler handler) gsi 593 drivers/acpi/osl.c if (gsi != acpi_gbl_FADT.sci_interrupt || !acpi_sci_irq_valid()) gsi 398 drivers/acpi/pci_irq.c int gsi; gsi 438 drivers/acpi/pci_irq.c gsi = acpi_pci_link_allocate_irq(entry->link, gsi 443 drivers/acpi/pci_irq.c gsi = entry->index; gsi 445 drivers/acpi/pci_irq.c gsi = -1; gsi 447 drivers/acpi/pci_irq.c if (gsi < 0) { gsi 465 drivers/acpi/pci_irq.c rc = acpi_register_gsi(&dev->dev, gsi, triggering, polarity); gsi 481 drivers/acpi/pci_irq.c pin_name(pin), link_desc, gsi, gsi 492 drivers/acpi/pci_irq.c int gsi; gsi 512 drivers/acpi/pci_irq.c gsi = acpi_pci_link_free_irq(entry->link); gsi 514 drivers/acpi/pci_irq.c gsi = entry->index; gsi 524 drivers/acpi/pci_irq.c if (gsi >= 0) { gsi 525 drivers/acpi/pci_irq.c acpi_unregister_gsi(gsi); gsi 383 drivers/acpi/resource.c static void acpi_dev_irqresource_disabled(struct resource *res, u32 gsi) gsi 385 drivers/acpi/resource.c res->start = gsi; gsi 386 drivers/acpi/resource.c res->end = gsi; gsi 390 drivers/acpi/resource.c static void acpi_dev_get_irqresource(struct resource *res, u32 gsi, gsi 396 drivers/acpi/resource.c if (!valid_IRQ(gsi)) { gsi 397 drivers/acpi/resource.c acpi_dev_irqresource_disabled(res, gsi); gsi 411 drivers/acpi/resource.c if (legacy && !acpi_get_override_irq(gsi, &t, &p)) { gsi 416 drivers/acpi/resource.c pr_warning("ACPI: IRQ %d override to %s, %s\n", gsi, gsi 424 drivers/acpi/resource.c irq = acpi_register_gsi(NULL, gsi, triggering, polarity); gsi 429 drivers/acpi/resource.c acpi_dev_irqresource_disabled(res, gsi); gsi 201 drivers/char/hpet.c int irq, gsi; gsi 238 drivers/char/hpet.c gsi = acpi_register_gsi(NULL, irq, ACPI_LEVEL_SENSITIVE, gsi 240 drivers/char/hpet.c if (gsi > 0) gsi 251 drivers/char/hpet.c devp->hd_hdwirq = gsi; gsi 48 drivers/firmware/pcdp.h u32 gsi; gsi 73 drivers/infiniband/hw/mlx5/gsi.c static void generate_completions(struct mlx5_ib_gsi_qp *gsi) gsi 75 drivers/infiniband/hw/mlx5/gsi.c struct ib_cq *gsi_cq = gsi->ibqp.send_cq; gsi 79 drivers/infiniband/hw/mlx5/gsi.c for (index = gsi->outstanding_ci; index != gsi->outstanding_pi; gsi 81 drivers/infiniband/hw/mlx5/gsi.c wr = &gsi->outstanding_wrs[index % gsi->cap.max_send_wr]; gsi 86 drivers/infiniband/hw/mlx5/gsi.c if (gsi->sq_sig_type == IB_SIGNAL_ALL_WR || gsi 93 drivers/infiniband/hw/mlx5/gsi.c gsi->outstanding_ci = index; gsi 98 drivers/infiniband/hw/mlx5/gsi.c struct mlx5_ib_gsi_qp *gsi = cq->cq_context; gsi 104 drivers/infiniband/hw/mlx5/gsi.c spin_lock_irqsave(&gsi->lock, flags); gsi 109 drivers/infiniband/hw/mlx5/gsi.c wr->wc.qp = &gsi->ibqp; gsi 111 drivers/infiniband/hw/mlx5/gsi.c generate_completions(gsi); gsi 112 drivers/infiniband/hw/mlx5/gsi.c spin_unlock_irqrestore(&gsi->lock, flags); gsi 119 drivers/infiniband/hw/mlx5/gsi.c struct mlx5_ib_gsi_qp *gsi; gsi 135 drivers/infiniband/hw/mlx5/gsi.c gsi = kzalloc(sizeof(*gsi), GFP_KERNEL); gsi 136 drivers/infiniband/hw/mlx5/gsi.c if (!gsi) gsi 139 drivers/infiniband/hw/mlx5/gsi.c gsi->tx_qps = kcalloc(num_qps, sizeof(*gsi->tx_qps), GFP_KERNEL); gsi 140 drivers/infiniband/hw/mlx5/gsi.c if (!gsi->tx_qps) { gsi 145 drivers/infiniband/hw/mlx5/gsi.c gsi->outstanding_wrs = kcalloc(init_attr->cap.max_send_wr, gsi 146 drivers/infiniband/hw/mlx5/gsi.c sizeof(*gsi->outstanding_wrs), gsi 148 drivers/infiniband/hw/mlx5/gsi.c if (!gsi->outstanding_wrs) { gsi 153 drivers/infiniband/hw/mlx5/gsi.c mutex_init(&gsi->mutex); gsi 157 drivers/infiniband/hw/mlx5/gsi.c if (dev->devr.ports[port_num - 1].gsi) { gsi 163 drivers/infiniband/hw/mlx5/gsi.c gsi->num_qps = num_qps; gsi 164 drivers/infiniband/hw/mlx5/gsi.c spin_lock_init(&gsi->lock); gsi 166 drivers/infiniband/hw/mlx5/gsi.c gsi->cap = init_attr->cap; gsi 167 drivers/infiniband/hw/mlx5/gsi.c gsi->sq_sig_type = init_attr->sq_sig_type; gsi 168 drivers/infiniband/hw/mlx5/gsi.c gsi->ibqp.qp_num = 1; gsi 169 drivers/infiniband/hw/mlx5/gsi.c gsi->port_num = port_num; gsi 171 drivers/infiniband/hw/mlx5/gsi.c gsi->cq = ib_alloc_cq(pd->device, gsi, init_attr->cap.max_send_wr, 0, gsi 173 drivers/infiniband/hw/mlx5/gsi.c if (IS_ERR(gsi->cq)) { gsi 175 drivers/infiniband/hw/mlx5/gsi.c PTR_ERR(gsi->cq)); gsi 176 drivers/infiniband/hw/mlx5/gsi.c ret = PTR_ERR(gsi->cq); gsi 181 drivers/infiniband/hw/mlx5/gsi.c hw_init_attr.send_cq = gsi->cq; gsi 187 drivers/infiniband/hw/mlx5/gsi.c gsi->rx_qp = ib_create_qp(pd, &hw_init_attr); gsi 188 drivers/infiniband/hw/mlx5/gsi.c if (IS_ERR(gsi->rx_qp)) { gsi 190 drivers/infiniband/hw/mlx5/gsi.c PTR_ERR(gsi->rx_qp)); gsi 191 drivers/infiniband/hw/mlx5/gsi.c ret = PTR_ERR(gsi->rx_qp); gsi 195 drivers/infiniband/hw/mlx5/gsi.c dev->devr.ports[init_attr->port_num - 1].gsi = gsi; gsi 199 drivers/infiniband/hw/mlx5/gsi.c return &gsi->ibqp; gsi 202 drivers/infiniband/hw/mlx5/gsi.c ib_free_cq(gsi->cq); gsi 205 drivers/infiniband/hw/mlx5/gsi.c kfree(gsi->outstanding_wrs); gsi 207 drivers/infiniband/hw/mlx5/gsi.c kfree(gsi->tx_qps); gsi 209 drivers/infiniband/hw/mlx5/gsi.c kfree(gsi); gsi 216 drivers/infiniband/hw/mlx5/gsi.c struct mlx5_ib_gsi_qp *gsi = gsi_qp(qp); gsi 217 drivers/infiniband/hw/mlx5/gsi.c const int port_num = gsi->port_num; gsi 224 drivers/infiniband/hw/mlx5/gsi.c ret = ib_destroy_qp(gsi->rx_qp); gsi 231 drivers/infiniband/hw/mlx5/gsi.c dev->devr.ports[port_num - 1].gsi = NULL; gsi 233 drivers/infiniband/hw/mlx5/gsi.c gsi->rx_qp = NULL; gsi 235 drivers/infiniband/hw/mlx5/gsi.c for (qp_index = 0; qp_index < gsi->num_qps; ++qp_index) { gsi 236 drivers/infiniband/hw/mlx5/gsi.c if (!gsi->tx_qps[qp_index]) gsi 238 drivers/infiniband/hw/mlx5/gsi.c WARN_ON_ONCE(ib_destroy_qp(gsi->tx_qps[qp_index])); gsi 239 drivers/infiniband/hw/mlx5/gsi.c gsi->tx_qps[qp_index] = NULL; gsi 242 drivers/infiniband/hw/mlx5/gsi.c ib_free_cq(gsi->cq); gsi 244 drivers/infiniband/hw/mlx5/gsi.c kfree(gsi->outstanding_wrs); gsi 245 drivers/infiniband/hw/mlx5/gsi.c kfree(gsi->tx_qps); gsi 246 drivers/infiniband/hw/mlx5/gsi.c kfree(gsi); gsi 251 drivers/infiniband/hw/mlx5/gsi.c static struct ib_qp *create_gsi_ud_qp(struct mlx5_ib_gsi_qp *gsi) gsi 253 drivers/infiniband/hw/mlx5/gsi.c struct ib_pd *pd = gsi->rx_qp->pd; gsi 255 drivers/infiniband/hw/mlx5/gsi.c .event_handler = gsi->rx_qp->event_handler, gsi 256 drivers/infiniband/hw/mlx5/gsi.c .qp_context = gsi->rx_qp->qp_context, gsi 257 drivers/infiniband/hw/mlx5/gsi.c .send_cq = gsi->cq, gsi 258 drivers/infiniband/hw/mlx5/gsi.c .recv_cq = gsi->rx_qp->recv_cq, gsi 260 drivers/infiniband/hw/mlx5/gsi.c .max_send_wr = gsi->cap.max_send_wr, gsi 261 drivers/infiniband/hw/mlx5/gsi.c .max_send_sge = gsi->cap.max_send_sge, gsi 262 drivers/infiniband/hw/mlx5/gsi.c .max_inline_data = gsi->cap.max_inline_data, gsi 264 drivers/infiniband/hw/mlx5/gsi.c .sq_sig_type = gsi->sq_sig_type, gsi 272 drivers/infiniband/hw/mlx5/gsi.c static int modify_to_rts(struct mlx5_ib_gsi_qp *gsi, struct ib_qp *qp, gsi 284 drivers/infiniband/hw/mlx5/gsi.c attr.port_num = gsi->port_num; gsi 312 drivers/infiniband/hw/mlx5/gsi.c static void setup_qp(struct mlx5_ib_gsi_qp *gsi, u16 qp_index) gsi 314 drivers/infiniband/hw/mlx5/gsi.c struct ib_device *device = gsi->rx_qp->device; gsi 321 drivers/infiniband/hw/mlx5/gsi.c ret = ib_query_pkey(device, gsi->port_num, qp_index, &pkey); gsi 324 drivers/infiniband/hw/mlx5/gsi.c gsi->port_num, qp_index); gsi 330 drivers/infiniband/hw/mlx5/gsi.c gsi->port_num, qp_index); gsi 334 drivers/infiniband/hw/mlx5/gsi.c spin_lock_irqsave(&gsi->lock, flags); gsi 335 drivers/infiniband/hw/mlx5/gsi.c qp = gsi->tx_qps[qp_index]; gsi 336 drivers/infiniband/hw/mlx5/gsi.c spin_unlock_irqrestore(&gsi->lock, flags); gsi 339 drivers/infiniband/hw/mlx5/gsi.c gsi->port_num, qp_index); gsi 343 drivers/infiniband/hw/mlx5/gsi.c qp = create_gsi_ud_qp(gsi); gsi 350 drivers/infiniband/hw/mlx5/gsi.c ret = modify_to_rts(gsi, qp, qp_index); gsi 354 drivers/infiniband/hw/mlx5/gsi.c spin_lock_irqsave(&gsi->lock, flags); gsi 355 drivers/infiniband/hw/mlx5/gsi.c WARN_ON_ONCE(gsi->tx_qps[qp_index]); gsi 356 drivers/infiniband/hw/mlx5/gsi.c gsi->tx_qps[qp_index] = qp; gsi 357 drivers/infiniband/hw/mlx5/gsi.c spin_unlock_irqrestore(&gsi->lock, flags); gsi 365 drivers/infiniband/hw/mlx5/gsi.c static void setup_qps(struct mlx5_ib_gsi_qp *gsi) gsi 369 drivers/infiniband/hw/mlx5/gsi.c for (qp_index = 0; qp_index < gsi->num_qps; ++qp_index) gsi 370 drivers/infiniband/hw/mlx5/gsi.c setup_qp(gsi, qp_index); gsi 377 drivers/infiniband/hw/mlx5/gsi.c struct mlx5_ib_gsi_qp *gsi = gsi_qp(qp); gsi 382 drivers/infiniband/hw/mlx5/gsi.c mutex_lock(&gsi->mutex); gsi 383 drivers/infiniband/hw/mlx5/gsi.c ret = ib_modify_qp(gsi->rx_qp, attr, attr_mask); gsi 389 drivers/infiniband/hw/mlx5/gsi.c if (to_mqp(gsi->rx_qp)->state == IB_QPS_RTS) gsi 390 drivers/infiniband/hw/mlx5/gsi.c setup_qps(gsi); gsi 393 drivers/infiniband/hw/mlx5/gsi.c mutex_unlock(&gsi->mutex); gsi 402 drivers/infiniband/hw/mlx5/gsi.c struct mlx5_ib_gsi_qp *gsi = gsi_qp(qp); gsi 405 drivers/infiniband/hw/mlx5/gsi.c mutex_lock(&gsi->mutex); gsi 406 drivers/infiniband/hw/mlx5/gsi.c ret = ib_query_qp(gsi->rx_qp, qp_attr, qp_attr_mask, qp_init_attr); gsi 407 drivers/infiniband/hw/mlx5/gsi.c qp_init_attr->cap = gsi->cap; gsi 408 drivers/infiniband/hw/mlx5/gsi.c mutex_unlock(&gsi->mutex); gsi 414 drivers/infiniband/hw/mlx5/gsi.c static int mlx5_ib_add_outstanding_wr(struct mlx5_ib_gsi_qp *gsi, gsi 417 drivers/infiniband/hw/mlx5/gsi.c struct mlx5_ib_dev *dev = to_mdev(gsi->rx_qp->device); gsi 420 drivers/infiniband/hw/mlx5/gsi.c if (gsi->outstanding_pi == gsi->outstanding_ci + gsi->cap.max_send_wr) { gsi 425 drivers/infiniband/hw/mlx5/gsi.c gsi_wr = &gsi->outstanding_wrs[gsi->outstanding_pi % gsi 426 drivers/infiniband/hw/mlx5/gsi.c gsi->cap.max_send_wr]; gsi 427 drivers/infiniband/hw/mlx5/gsi.c gsi->outstanding_pi++; gsi 445 drivers/infiniband/hw/mlx5/gsi.c static int mlx5_ib_gsi_silent_drop(struct mlx5_ib_gsi_qp *gsi, gsi 452 drivers/infiniband/hw/mlx5/gsi.c .qp = &gsi->ibqp, gsi 456 drivers/infiniband/hw/mlx5/gsi.c ret = mlx5_ib_add_outstanding_wr(gsi, wr, &wc); gsi 460 drivers/infiniband/hw/mlx5/gsi.c generate_completions(gsi); gsi 466 drivers/infiniband/hw/mlx5/gsi.c static struct ib_qp *get_tx_qp(struct mlx5_ib_gsi_qp *gsi, struct ib_ud_wr *wr) gsi 468 drivers/infiniband/hw/mlx5/gsi.c struct mlx5_ib_dev *dev = to_mdev(gsi->rx_qp->device); gsi 472 drivers/infiniband/hw/mlx5/gsi.c return gsi->rx_qp; gsi 474 drivers/infiniband/hw/mlx5/gsi.c if (qp_index >= gsi->num_qps) gsi 477 drivers/infiniband/hw/mlx5/gsi.c return gsi->tx_qps[qp_index]; gsi 483 drivers/infiniband/hw/mlx5/gsi.c struct mlx5_ib_gsi_qp *gsi = gsi_qp(qp); gsi 493 drivers/infiniband/hw/mlx5/gsi.c spin_lock_irqsave(&gsi->lock, flags); gsi 494 drivers/infiniband/hw/mlx5/gsi.c tx_qp = get_tx_qp(gsi, &cur_wr); gsi 496 drivers/infiniband/hw/mlx5/gsi.c ret = mlx5_ib_gsi_silent_drop(gsi, &cur_wr); gsi 499 drivers/infiniband/hw/mlx5/gsi.c spin_unlock_irqrestore(&gsi->lock, flags); gsi 503 drivers/infiniband/hw/mlx5/gsi.c ret = mlx5_ib_add_outstanding_wr(gsi, &cur_wr, NULL); gsi 510 drivers/infiniband/hw/mlx5/gsi.c gsi->outstanding_pi--; gsi 513 drivers/infiniband/hw/mlx5/gsi.c spin_unlock_irqrestore(&gsi->lock, flags); gsi 519 drivers/infiniband/hw/mlx5/gsi.c spin_unlock_irqrestore(&gsi->lock, flags); gsi 527 drivers/infiniband/hw/mlx5/gsi.c struct mlx5_ib_gsi_qp *gsi = gsi_qp(qp); gsi 529 drivers/infiniband/hw/mlx5/gsi.c return ib_post_recv(gsi->rx_qp, wr, bad_wr); gsi 532 drivers/infiniband/hw/mlx5/gsi.c void mlx5_ib_gsi_pkey_change(struct mlx5_ib_gsi_qp *gsi) gsi 534 drivers/infiniband/hw/mlx5/gsi.c if (!gsi) gsi 537 drivers/infiniband/hw/mlx5/gsi.c mutex_lock(&gsi->mutex); gsi 538 drivers/infiniband/hw/mlx5/gsi.c setup_qps(gsi); gsi 539 drivers/infiniband/hw/mlx5/gsi.c mutex_unlock(&gsi->mutex); gsi 4463 drivers/infiniband/hw/mlx5/main.c mlx5_ib_gsi_pkey_change(ports->gsi); gsi 703 drivers/infiniband/hw/mlx5/mlx5_ib.h struct mlx5_ib_gsi_qp *gsi; gsi 1326 drivers/infiniband/hw/mlx5/mlx5_ib.h void mlx5_ib_gsi_pkey_change(struct mlx5_ib_gsi_qp *gsi); gsi 24 drivers/perf/arm_pmu_acpi.c int gsi, trigger; gsi 28 drivers/perf/arm_pmu_acpi.c gsi = gicc->performance_interrupt; gsi 37 drivers/perf/arm_pmu_acpi.c if (!gsi) gsi 56 drivers/perf/arm_pmu_acpi.c return acpi_register_gsi(NULL, gsi, trigger, ACPI_ACTIVE_HIGH); gsi 62 drivers/perf/arm_pmu_acpi.c int gsi; gsi 66 drivers/perf/arm_pmu_acpi.c gsi = gicc->performance_interrupt; gsi 67 drivers/perf/arm_pmu_acpi.c if (gsi) gsi 68 drivers/perf/arm_pmu_acpi.c acpi_unregister_gsi(gsi); gsi 95 drivers/perf/arm_pmu_acpi.c u16 gsi = 0; gsi 109 drivers/perf/arm_pmu_acpi.c gsi = gicc->spe_interrupt; gsi 110 drivers/perf/arm_pmu_acpi.c if (!gsi) gsi 114 drivers/perf/arm_pmu_acpi.c } else if ((gsi != gicc->spe_interrupt) || gsi 121 drivers/perf/arm_pmu_acpi.c irq = acpi_register_gsi(NULL, gsi, ACPI_LEVEL_SENSITIVE, gsi 124 drivers/perf/arm_pmu_acpi.c pr_warn("ACPI: SPE Unable to register interrupt: %d\n", gsi); gsi 132 drivers/perf/arm_pmu_acpi.c acpi_unregister_gsi(gsi); gsi 225 drivers/xen/events/events_base.c unsigned gsi, gsi 232 drivers/xen/events/events_base.c info->u.pirq.gsi = gsi; gsi 402 drivers/xen/events/events_base.c static int __must_check xen_allocate_irq_gsi(unsigned gsi) gsi 416 drivers/xen/events/events_base.c if (gsi < nr_legacy_irqs()) gsi 417 drivers/xen/events/events_base.c irq = gsi; gsi 419 drivers/xen/events/events_base.c irq = irq_alloc_desc_at(gsi, -1); gsi 586 drivers/xen/events/events_base.c int xen_irq_from_gsi(unsigned gsi) gsi 594 drivers/xen/events/events_base.c if (info->u.pirq.gsi == gsi) gsi 645 drivers/xen/events/events_base.c int xen_bind_pirq_gsi_to_irq(unsigned gsi, gsi 654 drivers/xen/events/events_base.c irq = xen_irq_from_gsi(gsi); gsi 657 drivers/xen/events/events_base.c __func__, irq, gsi); gsi 661 drivers/xen/events/events_base.c irq = xen_allocate_irq_gsi(gsi); gsi 678 drivers/xen/events/events_base.c ret = xen_irq_info_pirq_setup(irq, 0, pirq, gsi, DOMID_SELF, gsi 1414 drivers/xen/events/events_base.c int pirq, rc, irq, gsi; gsi 1423 drivers/xen/events/events_base.c gsi = info->u.pirq.gsi; gsi 1428 drivers/xen/events/events_base.c if (!gsi) gsi 1433 drivers/xen/events/events_base.c map_irq.index = gsi; gsi 1439 drivers/xen/events/events_base.c gsi, irq, pirq, rc); gsi 44 drivers/xen/events/events_internal.h unsigned short gsi; gsi 311 include/linux/acpi.h int acpi_register_gsi (struct device *dev, u32 gsi, int triggering, int polarity); gsi 312 include/linux/acpi.h int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); gsi 313 include/linux/acpi.h int acpi_isa_irq_to_gsi (unsigned isa_irq, u32 *gsi); gsi 325 include/linux/acpi.h extern int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity); gsi 327 include/linux/acpi.h static inline int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity) gsi 337 include/linux/acpi.h void acpi_unregister_gsi (u32 gsi); gsi 379 include/linux/kvm_host.h u32 gsi; gsi 978 include/linux/kvm_host.h unsigned gsi; gsi 983 include/linux/kvm_host.h struct kvm_kernel_irq_routing_entry *entries, int gsi); gsi 994 include/linux/kvm_host.h void kvm_notify_acked_gsi(struct kvm *kvm, int gsi); gsi 47 include/linux/kvm_irqfd.h int gsi; gsi 67 include/trace/events/kvm.h TP_PROTO(unsigned int gsi, int level, int irq_source_id), gsi 68 include/trace/events/kvm.h TP_ARGS(gsi, level, irq_source_id), gsi 71 include/trace/events/kvm.h __field( unsigned int, gsi ) gsi 77 include/trace/events/kvm.h __entry->gsi = gsi; gsi 83 include/trace/events/kvm.h __entry->gsi, __entry->level, __entry->irq_source_id) gsi 1041 include/uapi/linux/kvm.h __u32 gsi; gsi 1099 include/uapi/linux/kvm.h __u32 gsi; gsi 1589 include/uapi/linux/kvm.h __u32 gsi; gsi 105 include/xen/events.h int xen_bind_pirq_gsi_to_irq(unsigned gsi, gsi 126 include/xen/events.h int xen_irq_from_gsi(unsigned gsi); gsi 212 include/xen/interface/physdev.h int gsi; gsi 348 scripts/gcc-plugins/latent_entropy_plugin.c gimple_stmt_iterator gsi; gsi 355 scripts/gcc-plugins/latent_entropy_plugin.c gsi = gsi_after_labels(bb); gsi 356 scripts/gcc-plugins/latent_entropy_plugin.c gsi_insert_before(&gsi, assign, GSI_NEW_STMT); gsi 360 scripts/gcc-plugins/latent_entropy_plugin.c static void __perturb_latent_entropy(gimple_stmt_iterator *gsi, gsi 374 scripts/gcc-plugins/latent_entropy_plugin.c gsi_insert_before(gsi, assign, GSI_NEW_STMT); gsi 380 scripts/gcc-plugins/latent_entropy_plugin.c gsi_insert_after(gsi, assign, GSI_NEW_STMT); gsi 385 scripts/gcc-plugins/latent_entropy_plugin.c gsi_insert_after(gsi, assign, GSI_NEW_STMT); gsi 391 scripts/gcc-plugins/latent_entropy_plugin.c gimple_stmt_iterator gsi; gsi 393 scripts/gcc-plugins/latent_entropy_plugin.c for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { gsi 395 scripts/gcc-plugins/latent_entropy_plugin.c gimple stmt = gsi_stmt(gsi); gsi 404 scripts/gcc-plugins/latent_entropy_plugin.c __perturb_latent_entropy(&gsi, local_entropy); gsi 431 scripts/gcc-plugins/latent_entropy_plugin.c gimple_stmt_iterator gsi = gsi_last_bb(last_bb); gsi 433 scripts/gcc-plugins/latent_entropy_plugin.c __perturb_latent_entropy(&gsi, local_entropy); gsi 443 scripts/gcc-plugins/latent_entropy_plugin.c gimple_stmt_iterator gsi = gsi_after_labels(bb); gsi 452 scripts/gcc-plugins/latent_entropy_plugin.c gsi_insert_before(&gsi, call, GSI_NEW_STMT); gsi 457 scripts/gcc-plugins/latent_entropy_plugin.c gsi_insert_after(&gsi, assign, GSI_NEW_STMT); gsi 467 scripts/gcc-plugins/latent_entropy_plugin.c gsi_insert_after(&gsi, assign, GSI_NEW_STMT); gsi 472 scripts/gcc-plugins/latent_entropy_plugin.c gsi_insert_after(&gsi, assign, GSI_NEW_STMT); gsi 479 scripts/gcc-plugins/latent_entropy_plugin.c gsi_insert_after(&gsi, assign, GSI_NEW_STMT); gsi 816 scripts/gcc-plugins/randomize_layout_plugin.c gimple_stmt_iterator gsi; gsi 818 scripts/gcc-plugins/randomize_layout_plugin.c for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { gsi 830 scripts/gcc-plugins/randomize_layout_plugin.c stmt = gsi_stmt(gsi); gsi 45 scripts/gcc-plugins/sancov_plugin.c gimple_stmt_iterator gsi = gsi_after_labels(bb); gsi 47 scripts/gcc-plugins/sancov_plugin.c if (gsi_end_p(gsi)) gsi 50 scripts/gcc-plugins/sancov_plugin.c stmt = gsi_stmt(gsi); gsi 53 scripts/gcc-plugins/sancov_plugin.c gsi_insert_before(&gsi, gcall, GSI_SAME_STMT); gsi 49 scripts/gcc-plugins/stackleak_plugin.c static void stackleak_add_track_stack(gimple_stmt_iterator *gsi, bool after) gsi 61 scripts/gcc-plugins/stackleak_plugin.c gsi_insert_after(gsi, stackleak_track_stack, gsi 64 scripts/gcc-plugins/stackleak_plugin.c gsi_insert_before(gsi, stackleak_track_stack, GSI_SAME_STMT); gsi 98 scripts/gcc-plugins/stackleak_plugin.c gimple_stmt_iterator gsi; gsi 114 scripts/gcc-plugins/stackleak_plugin.c for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { gsi 117 scripts/gcc-plugins/stackleak_plugin.c stmt = gsi_stmt(gsi); gsi 127 scripts/gcc-plugins/stackleak_plugin.c stackleak_add_track_stack(&gsi, true); gsi 171 scripts/gcc-plugins/stackleak_plugin.c gsi = gsi_after_labels(bb); gsi 172 scripts/gcc-plugins/stackleak_plugin.c stackleak_add_track_stack(&gsi, false); gsi 123 scripts/gcc-plugins/structleak_plugin.c gimple_stmt_iterator gsi; gsi 132 scripts/gcc-plugins/structleak_plugin.c for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { gsi 133 scripts/gcc-plugins/structleak_plugin.c gimple stmt = gsi_stmt(gsi); gsi 169 scripts/gcc-plugins/structleak_plugin.c gsi = gsi_after_labels(single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun))); gsi 170 scripts/gcc-plugins/structleak_plugin.c gsi_insert_before(&gsi, init_stmt, GSI_NEW_STMT); gsi 1041 tools/include/uapi/linux/kvm.h __u32 gsi; gsi 1099 tools/include/uapi/linux/kvm.h __u32 gsi; gsi 1589 tools/include/uapi/linux/kvm.h __u32 gsi; gsi 133 virt/kvm/arm/vgic/vgic-irqfd.c entries[i].gsi = i; gsi 49 virt/kvm/eventfd.c kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, irqfd->gsi, 1, gsi 51 virt/kvm/eventfd.c kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, irqfd->gsi, 0, gsi 55 virt/kvm/eventfd.c irqfd->gsi, 1, false); gsi 76 virt/kvm/eventfd.c resampler->notifier.gsi, 0, false); gsi 101 virt/kvm/eventfd.c resampler->notifier.gsi, 0, false); gsi 249 virt/kvm/eventfd.c n_entries = kvm_irq_map_gsi(kvm, entries, irqfd->gsi); gsi 302 virt/kvm/eventfd.c irqfd->gsi = args->gsi; gsi 338 virt/kvm/eventfd.c if (resampler->notifier.gsi == irqfd->gsi) { gsi 355 virt/kvm/eventfd.c resampler->notifier.gsi = irqfd->gsi; gsi 449 virt/kvm/eventfd.c int gsi, idx; gsi 452 virt/kvm/eventfd.c gsi = kvm_irq_map_chip_pin(kvm, irqchip, pin); gsi 453 virt/kvm/eventfd.c if (gsi != -1) gsi 456 virt/kvm/eventfd.c if (kian->gsi == gsi) { gsi 467 virt/kvm/eventfd.c void kvm_notify_acked_gsi(struct kvm *kvm, int gsi) gsi 473 virt/kvm/eventfd.c if (kian->gsi == gsi) gsi 479 virt/kvm/eventfd.c int gsi, idx; gsi 484 virt/kvm/eventfd.c gsi = kvm_irq_map_chip_pin(kvm, irqchip, pin); gsi 485 virt/kvm/eventfd.c if (gsi != -1) gsi 486 virt/kvm/eventfd.c kvm_notify_acked_gsi(kvm, gsi); gsi 539 virt/kvm/eventfd.c if (irqfd->eventfd == eventfd && irqfd->gsi == args->gsi) { gsi 619 virt/kvm/eventfd.c irqfd->gsi, 1); gsi 23 virt/kvm/irqchip.c struct kvm_kernel_irq_routing_entry *entries, int gsi) gsi 31 virt/kvm/irqchip.c if (irq_rt && gsi < irq_rt->nr_rt_entries) { gsi 32 virt/kvm/irqchip.c hlist_for_each_entry(e, &irq_rt->map[gsi], link) { gsi 135 virt/kvm/irqchip.c u32 gsi = array_index_nospec(ue->gsi, KVM_MAX_IRQ_ROUTES); gsi 141 virt/kvm/irqchip.c hlist_for_each_entry(ei, &rt->map[gsi], link) gsi 147 virt/kvm/irqchip.c e->gsi = gsi; gsi 153 virt/kvm/irqchip.c rt->chip[e->irqchip.irqchip][e->irqchip.pin] = e->gsi; gsi 155 virt/kvm/irqchip.c hlist_add_head(&e->link, &rt->map[e->gsi]); gsi 180 virt/kvm/irqchip.c if (ue[i].gsi >= KVM_MAX_IRQ_ROUTES) gsi 182 virt/kvm/irqchip.c nr_rt_entries = max(nr_rt_entries, ue[i].gsi);