Lines Matching refs:gsi
844 int gsi) in mp_find_ioapic() argument
850 if ((gsi >= mp_ioapic_routing[i].gsi_base) in mp_find_ioapic()
851 && (gsi <= mp_ioapic_routing[i].gsi_end)) in mp_find_ioapic()
855 printk(KERN_ERR "ERROR: Unable to locate IOAPIC for GSI %d\n", gsi); in mp_find_ioapic()
934 u32 gsi) in mp_override_legacy_irq() argument
943 ioapic = mp_find_ioapic(gsi); in mp_override_legacy_irq()
946 pin = gsi - mp_ioapic_routing[ioapic].gsi_base; in mp_override_legacy_irq()
1041 int mp_register_gsi (u32 gsi, int triggering, int polarity) in mp_register_gsi() argument
1056 if (acpi_fadt.sci_int == gsi) in mp_register_gsi()
1057 return gsi; in mp_register_gsi()
1061 unsigned int port = 0x4d0 + (gsi >> 3); in mp_register_gsi()
1064 if (!platform_legacy_irq(gsi)) in mp_register_gsi()
1068 val |= 1 << (gsi & 7); in mp_register_gsi()
1070 val &= ~(1 << (gsi & 7)); in mp_register_gsi()
1075 ioapic = mp_find_ioapic(gsi); in mp_register_gsi()
1077 printk(KERN_WARNING "No IOAPIC for GSI %u\n", gsi); in mp_register_gsi()
1081 ioapic_pin = gsi - mp_ioapic_routing[ioapic].gsi_base; in mp_register_gsi()
1083 desc = irq_to_desc(gsi); in mp_register_gsi()
1109 return io_apic_set_pci_routing(ioapic, ioapic_pin, gsi, in mp_register_gsi()