Searched refs:LEGAL_IRQ (Results 1 – 6 of 6) sorted by relevance
57 #define LEGAL_IRQ(x) ((x >= 0) && (x < ICU_LEN)) macro289 if (!LEGAL_IRQ(irq) || type == IST_NONE) { in macintr_establish()356 if (!LEGAL_IRQ(irq)) { in macintr_disestablish()
66 #define LEGAL_IRQ(x) ((x >= 0) && (x < ICU_LEN)) macro424 if (!LEGAL_IRQ(irq) || type == IST_NONE) { in openpic_intr_establish()490 if (!LEGAL_IRQ(irq)) { in openpic_intr_disestablish()
342 #define LEGAL_IRQ(x) ((x) >= 0 && (x) < ICU_LEN && (x) != 2) macro367 if (LEGAL_IRQ(i) == 0 || (mask & (1<<i)) == 0) in isa_intr_alloc()423 if (!LEGAL_IRQ(irq) || type == IST_NONE) in isa_intr_check()504 if (!LEGAL_IRQ(irq) || type == IST_NONE) { in isa_intr_establish()580 if (!LEGAL_IRQ(irq)) in isa_intr_disestablish()
148 #define LEGAL_IRQ(x) ((x) >= 0 && (x) < ICU_LEN && (x) != 2) macro173 if (LEGAL_IRQ(i) == 0 || (mask & (1<<i)) == 0) in isa_intr_alloc()229 if (!LEGAL_IRQ(irq) || type == IST_NONE) in isa_intr_check()
578 #define LEGAL_IRQ(x) ((x) >= 0 && (x) < ICU_LEN && (x) != 2) macro607 if (LEGAL_IRQ(i) == 0 || (mask & (1<<i)) == 0)
408 #define LEGAL_IRQ(x) ((x) >= 0 && (x) < APIC_ICU_LEN && (x) != 2) macro