Lines Matching refs:icu
59 #define WICU(icu, val) *(volatile u_int8_t*)(icu) = val
66 volatile u_int8_t *icu;
69 * Initialize both the icu's:
73 icu = (u_int8_t*)(AD_8259_MASTER);
75 icu[0] = 0x11; /* reset; program device, four bytes */
76 icu[1] = ICU_OFFSET; /* starting at this vector index */
77 icu[1] = (1 << IRQ_SLAVE); /* slave on line 2 */
78 icu[1] = 1; /* 8086 mode */
79 icu[1] = 0xff; /* leave interrupts masked */
80 icu[0] = 0x68; /* special mask mode */
81 icu[0] = 0x0a; /* Read IRR by default. */
83 icu = (u_int8_t*)(AD_8259_SLAVE);
85 icu[0] = 0x11; /* reset; program device, four bytes */
86 icu[1] = ICU_OFFSET + 8; /* starting at this vector index */
87 icu[1] = IRQ_SLAVE; /* slave on line 2 */
88 icu[1] = 1; /* 8086 mode */
89 icu[1] = 0xff; /* leave interrupts masked */
90 icu[0] = 0x68; /* special mask mode */
91 icu[0] = 0x0a; /* Read IRR by default. */