Home
last modified time | relevance | path

Searched refs:elcrval (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/i86pc/sys/
H A Dpsm_common.h99 #define ELCR_LEVEL(elcrval, irq) (elcrval & (0x1 << irq)) argument
100 #define ELCR_EDGE(elcrval, irq) ((elcrval & (0x1 << irq)) == 0) argument
/titanic_41/usr/src/uts/i86pc/io/psm/
H A Dpsm_common.c273 uint_t elcrval; in build_reserved_irqlist() local
281 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()