Lines Matching refs:nr_legacy_irqs
152 return irq >= 0 && irq < nr_legacy_irqs(); in mp_is_legacy_irq()
241 if (!nr_legacy_irqs()) in arch_early_ioapic_init()
704 if (irq < nr_legacy_irqs()) { in EISA_ELCR()
871 if (irq < nr_legacy_irqs() && data->count == 1) { in mp_check_pin_attr()
895 if (!ioapic_initialized || gsi >= nr_legacy_irqs()) in alloc_irq_from_domain()
1279 if (!nr_legacy_irqs() || !nr_ioapics) in enable_IO_APIC()
1350 if (!nr_legacy_irqs()) in restore_boot_irq_mode()
1569 if (irq < nr_legacy_irqs()) { in startup_ioapic_irq()
1895 if (irq < nr_legacy_irqs()) in init_IO_APIC_traps()
2281 io_apic_irqs = nr_legacy_irqs() ? ~PIC_IRQS : ~0UL; in setup_IO_APIC()
2293 if (nr_legacy_irqs()) in setup_IO_APIC()
2899 if (virq < nr_legacy_irqs()) in mp_irqdomain_alloc()