Lines Matching defs:atpic_write
130 atpic_write(struct atpic_softc *sc, int icu, int ofs, uint8_t val)
181 atpic_write(sc, icu, 0, ICW1_RESET | ICW1_IC4);
182 atpic_write(sc, icu, 1, (icu == ATPIC_SLAVE) ? 8 : 0);
183 atpic_write(sc, icu, 1, (icu == ATPIC_SLAVE) ? 2 : 4);
184 atpic_write(sc, icu, 1, ICW4_8086);
185 atpic_write(sc, icu, 1, sc->sc_mask[icu]);
186 atpic_write(sc, icu, 0, OCW3_SEL | OCW3_RR);
260 atpic_write(sc, ATPIC_MASTER, 0, OCW3_SEL | OCW3_P);
262 atpic_write(sc, ATPIC_MASTER, 0, OCW3_SEL | OCW3_RR);
267 atpic_write(sc, ATPIC_SLAVE, 0, OCW3_SEL | OCW3_P);
269 atpic_write(sc, ATPIC_SLAVE, 0, OCW3_SEL | OCW3_RR);
294 atpic_write(sc, ATPIC_SLAVE, 0, OCW2_EOI);
295 atpic_write(sc, ATPIC_MASTER, 0, OCW2_EOI);
312 atpic_write(sc, ATPIC_SLAVE, 1, sc->sc_mask[ATPIC_SLAVE]);
315 atpic_write(sc, ATPIC_MASTER, 1, sc->sc_mask[ATPIC_MASTER]);
327 atpic_write(sc, ATPIC_SLAVE, 1, sc->sc_mask[ATPIC_SLAVE]);
330 atpic_write(sc, ATPIC_MASTER, 1, sc->sc_mask[ATPIC_MASTER]);