Lines Matching refs:I2CR
108 #define I2CR 0x08 macro
231 uint8_t tmp = i2c_io_read8(bid, I2CR) & ~I2CR_MSTA; in i2c_idle_bus()
234 i2c_io_write8(bid, I2CR, tmp); in i2c_idle_bus()
275 tmp = i2c_io_read8(bid, I2CR) | I2CR_MTX | I2CR_TX_NO_AK; in i2c_write_data()
276 i2c_io_write8(bid, I2CR, tmp); in i2c_write_data()
296 tmp = i2c_io_read8(bid, I2CR) & ~I2CR_MTX; in i2c_read_data()
298 i2c_io_write8(bid, I2CR, tmp); in i2c_read_data()
313 tmp = i2c_io_read8(bid, I2CR) | I2CR_TX_NO_AK; in i2c_read_data()
314 i2c_io_write8(bid, I2CR, tmp); in i2c_read_data()
335 i2c_io_write8(bid, I2CR, I2CR_IEN); in i2c_init_transfer()
337 tmp = i2c_io_read8(bid, I2CR) | I2CR_MSTA; in i2c_init_transfer()
338 i2c_io_write8(bid, I2CR, tmp); in i2c_init_transfer()