Lines Matching refs:bus_irq
342 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity,
345 static void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, in mp_override_legacy_irq() argument
351 if (bus_irq >= NR_IRQS_LEGACY) { in mp_override_legacy_irq()
352 pr_warn("Invalid bus_irq %u for legacy override\n", bus_irq); in mp_override_legacy_irq()
361 if ((bus_irq == 0) && (trigger == 3)) in mp_override_legacy_irq()
364 if (mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi) < 0) in mp_override_legacy_irq()
373 isa_irq_to_gsi[bus_irq] = gsi; in mp_override_legacy_irq()
411 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity, in mp_register_ioapic_irq() argument
430 mp_irq.srcbusirq = bus_irq; in mp_register_ioapic_irq()
468 static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) in acpi_sci_ioapic_setup() argument
483 if (bus_irq < NR_IRQS_LEGACY) in acpi_sci_ioapic_setup()
484 mp_override_legacy_irq(bus_irq, polarity, trigger, gsi); in acpi_sci_ioapic_setup()
486 mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi); in acpi_sci_ioapic_setup()
488 acpi_penalize_sci_irq(bus_irq, trigger, polarity); in acpi_sci_ioapic_setup()