Searched refs:i2c_io_read8 (Results 1 – 1 of 1) sorted by relevance
/optee_os-3.20.0/core/drivers/ |
A D | imx_i2c.c | 151 static uint8_t i2c_io_read8(uint8_t bid, uint32_t address) in i2c_io_read8() function 241 sr = i2c_io_read8(bid, I2SR); in i2c_sync_bus() 259 uint8_t tmp = i2c_io_read8(bid, I2CR) & ~I2CR_MSTA; in i2c_idle_bus() 288 *p = i2c_io_read8(bid, I2DR); in i2c_read_byte() 303 tmp = i2c_io_read8(bid, I2CR) | I2CR_MTX | I2CR_TX_NO_AK; in i2c_write_data() 324 tmp = i2c_io_read8(bid, I2CR) & ~I2CR_MTX; in i2c_read_data() 327 i2c_io_read8(bid, I2DR); in i2c_read_data() 341 tmp = i2c_io_read8(bid, I2CR) | I2CR_TX_NO_AK; in i2c_read_data() 363 tmp = !(i2c_io_read8(bid, I2CR) & I2CR_IEN); in i2c_init_transfer() 370 tmp = i2c_io_read8(bid, I2CR) | I2CR_MSTA; in i2c_init_transfer()
|
Completed in 3 milliseconds