Searched refs:elcrval (Results 1 – 2 of 2) sorted by relevance
99 #define ELCR_LEVEL(elcrval, irq) (elcrval & (0x1 << irq)) argument100 #define ELCR_EDGE(elcrval, irq) ((elcrval & (0x1 << irq)) == 0) argument
273 uint_t elcrval; in build_reserved_irqlist() local281 elcrval = (inb(ELCR_PORT2) << 8) | (inb(ELCR_PORT1)); in build_reserved_irqlist()282 if (ELCR_EDGE(elcrval, 0) && ELCR_EDGE(elcrval, 1) && in build_reserved_irqlist()283 ELCR_EDGE(elcrval, 2) && ELCR_EDGE(elcrval, 8) && in build_reserved_irqlist()284 ELCR_EDGE(elcrval, 13)) { in build_reserved_irqlist()287 if (!ELCR_LEVEL(elcrval, i)) in build_reserved_irqlist()