Searched refs:wait_for_state (Results 1 – 1 of 1) sorted by relevance
/arm-trusted-firmware-2.8.0/drivers/nxp/i2c/ |
A D | i2c.c | 32 static int wait_for_state(struct ls_i2c *ccsr_i2c, in wait_for_state() function 66 ret = wait_for_state(ccsr_i2c, I2C_SR_IF, I2C_SR_IF); in tx_byte() 87 ret = wait_for_state(ccsr_i2c, I2C_SR_IDLE, I2C_SR_BB); in gen_stop() 110 ret = wait_for_state(ccsr_i2c, I2C_SR_IDLE, I2C_SR_BB); in i2c_write_addr() 118 ret = wait_for_state(ccsr_i2c, I2C_SR_BB, I2C_SR_BB); in i2c_write_addr() 160 ret = wait_for_state(ccsr_i2c, I2C_SR_IF, I2C_SR_IF); in read_data()
|
Completed in 2 milliseconds