Lines Matching refs:nr_legacy_irqs
154 return irq >= 0 && irq < nr_legacy_irqs(); in mp_is_legacy_irq()
244 if (!nr_legacy_irqs()) in arch_early_ioapic_init()
766 if (irq < nr_legacy_irqs()) { in EISA_ELCR()
934 if (irq < nr_legacy_irqs() && data->count == 1) { in mp_check_pin_attr()
958 if (!ioapic_initialized || gsi >= nr_legacy_irqs()) in alloc_irq_from_domain()
1370 if (!nr_legacy_irqs() || !nr_ioapics) in enable_IO_APIC()
1446 if (!nr_legacy_irqs()) in restore_boot_irq_mode()
1685 if (irq < nr_legacy_irqs()) { in startup_ioapic_irq()
2020 if (irq < nr_legacy_irqs()) in init_IO_APIC_traps()
2406 io_apic_irqs = nr_legacy_irqs() ? ~PIC_IRQS : ~0UL; in setup_IO_APIC()
2420 if (nr_legacy_irqs()) in setup_IO_APIC()
3041 if (virq < nr_legacy_irqs()) in mp_irqdomain_alloc()