Searched refs:wait_for_sr_state (Results 1 – 1 of 1) sorted by relevance
193 static int wait_for_sr_state(struct mxc_i2c_bus *i2c_bus, unsigned state) in wait_for_sr_state() function237 ret = wait_for_sr_state(i2c_bus, ST_IIF); in tx_byte()267 ret = wait_for_sr_state(i2c_bus, ST_BUS_IDLE); in i2c_imx_stop()303 ret = wait_for_sr_state(i2c_bus, ST_BUS_IDLE); in i2c_init_transfer_()312 ret = wait_for_sr_state(i2c_bus, ST_BUS_BUSY); in i2c_init_transfer_()494 ret = wait_for_sr_state(i2c_bus, ST_IIF); in i2c_read_data()