Home
last modified time | relevance | path

Searched refs:LEGAL_IRQ (Results 1 – 6 of 6) sorted by relevance

/openbsd/src/sys/arch/macppc/dev/
Dmacintr.c57 #define LEGAL_IRQ(x) ((x >= 0) && (x < ICU_LEN)) macro
289 if (!LEGAL_IRQ(irq) || type == IST_NONE) { in macintr_establish()
356 if (!LEGAL_IRQ(irq)) { in macintr_disestablish()
Dopenpic.c66 #define LEGAL_IRQ(x) ((x >= 0) && (x < ICU_LEN)) macro
424 if (!LEGAL_IRQ(irq) || type == IST_NONE) { in openpic_intr_establish()
490 if (!LEGAL_IRQ(irq)) { in openpic_intr_disestablish()
/openbsd/src/sys/arch/i386/isa/
Disa_machdep.c342 #define LEGAL_IRQ(x) ((x) >= 0 && (x) < ICU_LEN && (x) != 2) macro
367 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()
/openbsd/src/sys/arch/amd64/isa/
Disa_machdep.c148 #define LEGAL_IRQ(x) ((x) >= 0 && (x) < ICU_LEN && (x) != 2) macro
173 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()
/openbsd/src/sys/arch/alpha/pci/
Dsio_pic.c578 #define LEGAL_IRQ(x) ((x) >= 0 && (x) < ICU_LEN && (x) != 2) macro
607 if (LEGAL_IRQ(i) == 0 || (mask & (1<<i)) == 0)
/openbsd/src/sys/arch/i386/i386/
Dioapic.c408 #define LEGAL_IRQ(x) ((x) >= 0 && (x) < APIC_ICU_LEN && (x) != 2) macro