Lines Matching refs:ti_i2c_read_2
167 ti_i2c_read_2(struct ti_i2c_softc *sc, bus_size_t off) in ti_i2c_read_2() function
254 (uint8_t)(ti_i2c_read_2(sc, I2C_REG_DATA) & 0xff); in ti_i2c_transfer_intr()
324 status = ti_i2c_read_2(sc, I2C_REG_STATUS); in ti_i2c_intr()
331 events = ti_i2c_read_2(sc, I2C_REG_IRQENABLE_SET); in ti_i2c_intr()
405 while (ti_i2c_read_2(sc, I2C_REG_STATUS_RAW) & I2C_STAT_BB) { in ti_i2c_transfer()
426 reg = ti_i2c_read_2(sc, I2C_REG_BUF); in ti_i2c_transfer()
448 while (ti_i2c_read_2(sc, I2C_REG_STATUS_RAW) & I2C_STAT_BB) { in ti_i2c_transfer()
455 if ((ti_i2c_read_2(sc, I2C_REG_CON) & I2C_CON_MST) == 0) in ti_i2c_transfer()
531 while ((ti_i2c_read_2(sc, I2C_REG_SYSS) & I2C_SYSS_RDONE) == 0) { in ti_i2c_reset()
758 psc = (int)ti_i2c_read_2(sc, I2C_REG_PSC) + 1; in ti_i2c_sysctl_clk()
761 scll = (int)ti_i2c_read_2(sc, I2C_REG_SCLL) & I2C_SCLL_MASK; in ti_i2c_sysctl_clk()
762 sclh = (int)ti_i2c_read_2(sc, I2C_REG_SCLH) & I2C_SCLH_MASK; in ti_i2c_sysctl_clk()
852 sc->sc_rev = ti_i2c_read_2(sc, I2C_REG_REVNB_HI) & 0xff; in ti_i2c_attach()
855 fifosz = ti_i2c_read_2(sc, I2C_REG_BUFSTAT); in ti_i2c_attach()