Searched refs:I2C_SR_IF (Results 1 – 2 of 2) sorted by relevance
64 i2c_out(&ccsr_i2c->sr, I2C_SR_IF); in tx_byte()66 ret = wait_for_state(ccsr_i2c, I2C_SR_IF, I2C_SR_IF); in tx_byte()109 i2c_out(&ccsr_i2c->sr, I2C_SR_IF); in i2c_write_addr()157 i2c_out(&ccsr_i2c->sr, I2C_SR_IF); in read_data()160 ret = wait_for_state(ccsr_i2c, I2C_SR_IF, I2C_SR_IF); in read_data()175 i2c_out(&ccsr_i2c->sr, I2C_SR_IF); in read_data()
26 #define I2C_SR_IF (1 << 1) macro28 #define I2C_SR_RST (I2C_SR_AL | I2C_SR_IF)