Searched refs:ocw1 (Results 1 - 2 of 2) sorted by relevance
/netbsd-6-1-5-RELEASE/sys/arch/alpha/pci/ |
H A D | sio_pic.c | 273 uint8_t ocw1[2], elcr[2]; local 284 ocw1[0] = bus_space_read_1(sio_iot, sio_ioh_icu1, 1); 285 ocw1[1] = bus_space_read_1(sio_iot, sio_ioh_icu2, 1); 293 ocw1[icu] &= ~(1 << bit); 295 ocw1[icu] |= 1 << bit; 307 ocw1[0] &= ~0x04; /* always enable IRQ2 on first PIC */ 312 bus_space_write_1(sio_iot, sio_ioh_icu1, 1, ocw1[0]); 313 bus_space_write_1(sio_iot, sio_ioh_icu2, 1, ocw1[1]);
|
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/loongson/ |
H A D | generic2e_machdep.c | 292 uint8_t ocw1, ocw2; local 297 ocw1 = REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_OCW3); 298 if ((ocw1 & OCW3_POLL_PENDING) == 0) 301 irq = OCW3_POLL_IRQ(ocw1);
|
Completed in 101 milliseconds