Searched full:twsi_read (Results 1 – 1 of 1) sorted by relevance
| /freebsd/sys/dev/iicbus/controller/twsi/ |
| H A D | twsi.c | 96 TWSI_READ(struct twsi_softc *sc, bus_size_t off) in TWSI_READ() function 120 val = TWSI_READ(sc, sc->reg_control); in twsi_control_clear() 133 val = TWSI_READ(sc, sc->reg_control); in twsi_control_set() 167 while (!(TWSI_READ(sc, sc->reg_control) & mask)) { in twsi_poll_ctrl() 194 iflg_set = TWSI_READ(sc, sc->reg_control) & TWSI_CONTROL_IFLG; in twsi_locked_start() 216 status = TWSI_READ(sc, sc->reg_status); in twsi_locked_start() 235 status = TWSI_READ(sc, sc->reg_status); in twsi_locked_start() 389 twsi_read(device_t dev, char *buf, int len, int *read, int last, int delay) in twsi_read() function 419 status = TWSI_READ(sc, sc->reg_status); in twsi_read() 427 *buf++ = TWSI_READ(sc, sc->reg_data); in twsi_read() [all …]
|