Lines Matching +full:0 +full:x4d0
35 * IRQs 0 through 15. Thus, we check for the presence of an ELCR on
41 * The format of the ELCR is simple: it is a 16-bit bitmap where bit 0
42 * controls IRQ 0, bit 1 controls IRQ 1, etc. If the bit is zero, the
52 #define ELCR_PORT 0x4d0
60 * verifying that IRQs 0, 1, 2, and 13 are all edge triggered.
68 if ((elcr_status & (ELCR_MASK(0) | ELCR_MASK(1) | ELCR_MASK(2) | in elcr_probe()
69 ELCR_MASK(8) | ELCR_MASK(13))) != 0) in elcr_probe()
73 for (i = 0; i < 16; i++) in elcr_probe()
76 for (i = 0; i < 16; i++) in elcr_probe()
83 if (resource_disabled("elcr", 0)) in elcr_probe()
86 return (0); in elcr_probe()
90 * Returns 1 for level trigger, 0 for edge.
105 * Set the trigger mode for a specified IRQ. Mode of 0 means edge triggered,
125 outb(ELCR_PORT, elcr_status & 0xff); in elcr_write_trigger()
133 outb(ELCR_PORT, elcr_status & 0xff); in elcr_resume()