Lines Matching refs:ioapic
446 int ioapic; in mp_config_acpi_gsi() local
465 ioapic = mp_find_ioapic(gsi); in mp_config_acpi_gsi()
466 mp_irq.dstapic = mpc_ioapic_id(ioapic); in mp_config_acpi_gsi()
467 mp_irq.dstirq = mp_find_ioapic_pin(ioapic, gsi); in mp_config_acpi_gsi()
477 int ioapic, pin; in mp_register_ioapic_irq() local
480 ioapic = mp_find_ioapic(gsi); in mp_register_ioapic_irq()
481 if (ioapic < 0) { in mp_register_ioapic_irq()
483 return ioapic; in mp_register_ioapic_irq()
486 pin = mp_find_ioapic_pin(ioapic, gsi); in mp_register_ioapic_irq()
493 mp_irq.dstapic = mpc_ioapic_id(ioapic); in mp_register_ioapic_irq()
504 struct acpi_madt_io_apic *ioapic = NULL; in acpi_parse_ioapic() local
510 ioapic = (struct acpi_madt_io_apic *)header; in acpi_parse_ioapic()
512 if (BAD_MADT_ENTRY(ioapic, end)) in acpi_parse_ioapic()
518 if (ioapic->global_irq_base < nr_legacy_irqs()) in acpi_parse_ioapic()
521 mp_register_ioapic(ioapic->id, ioapic->address, ioapic->global_irq_base, in acpi_parse_ioapic()
1190 int ioapic, pin; in mp_config_acpi_legacy_irqs() local
1202 ioapic = mp_find_ioapic(gsi); in mp_config_acpi_legacy_irqs()
1203 if (ioapic < 0) in mp_config_acpi_legacy_irqs()
1205 pin = mp_find_ioapic_pin(ioapic, gsi); in mp_config_acpi_legacy_irqs()
1206 dstapic = mpc_ioapic_id(ioapic); in mp_config_acpi_legacy_irqs()