Lines Matching refs:TWSI_WRITE
107 TWSI_WRITE(struct twsi_softc *sc, bus_size_t off, uint32_t val) in TWSI_WRITE() function
125 TWSI_WRITE(sc, sc->reg_control, val); in twsi_control_clear()
138 TWSI_WRITE(sc, sc->reg_control, val); in twsi_control_set()
225 TWSI_WRITE(sc, sc->reg_data, slave); in twsi_locked_start()
314 TWSI_WRITE(sc, sc->reg_soft_reset, 0x1); in twsi_reset()
315 TWSI_WRITE(sc, sc->reg_baud_rate, param); in twsi_reset()
316 TWSI_WRITE(sc, sc->reg_control, TWSI_CONTROL_TWSIEN); in twsi_reset()
448 TWSI_WRITE(sc, sc->reg_data, *buf++); in twsi_write()
482 TWSI_WRITE(sc, sc->reg_control, sc->control_val | TWSI_CONTROL_STOP); in twsi_error()
523 TWSI_WRITE(sc, sc->reg_control, sc->control_val | TWSI_CONTROL_START); in twsi_transfer()
538 TWSI_WRITE(sc, sc->reg_control, 0); in twsi_transfer()
567 TWSI_WRITE(sc, sc->reg_control, sc->control_val | in twsi_intr()
583 TWSI_WRITE(sc, sc->reg_data, in twsi_intr()
586 TWSI_WRITE(sc, sc->reg_data, in twsi_intr()
599 TWSI_WRITE(sc, sc->reg_data, in twsi_intr()
603 TWSI_WRITE(sc, sc->reg_control, in twsi_intr()
614 TWSI_WRITE(sc, sc->reg_control, in twsi_intr()
641 TWSI_WRITE(sc, sc->reg_control, in twsi_intr()
654 TWSI_WRITE(sc, sc->reg_data, in twsi_intr()
701 TWSI_WRITE(sc, sc->reg_control, in twsi_intr()
762 TWSI_WRITE(sc, sc->reg_control, sc->control_val | in twsi_intr()