Lines Matching refs:nr_legacy_irqs
153 return irq >= 0 && irq < nr_legacy_irqs(); in mp_is_legacy_irq()
163 if (!nr_legacy_irqs()) in mp_init_irq_at_boot()
256 if (!nr_legacy_irqs()) in arch_early_ioapic_init()
766 if (irq < nr_legacy_irqs()) { in EISA_ELCR()
945 if (irq < nr_legacy_irqs() && data->count == 1) { in mp_check_pin_attr()
969 if (!ioapic_initialized || gsi >= nr_legacy_irqs()) in alloc_irq_from_domain()
1371 if (!nr_legacy_irqs() || !nr_ioapics) in enable_IO_APIC()
1444 if (!nr_legacy_irqs()) in restore_boot_irq_mode()
1688 if (irq < nr_legacy_irqs()) { in startup_ioapic_irq()
1931 if (irq < nr_legacy_irqs()) in init_IO_APIC_traps()
2309 io_apic_irqs = nr_legacy_irqs() ? ~PIC_IRQS : ~0UL; in setup_IO_APIC()
2323 if (nr_legacy_irqs()) in setup_IO_APIC()
2953 if (virq < nr_legacy_irqs()) in mp_irqdomain_alloc()