Lines Matching refs:i2c_wait_flag
266 static int i2c_wait_flag(struct i2c_handle_s *hi2c, uint32_t flag, in i2c_wait_flag() function
462 if (i2c_wait_flag(hi2c, I2C_FLAG_TCR, 0, timeout_ref) != 0) { in i2c_request_memory_write()
509 if (i2c_wait_flag(hi2c, I2C_FLAG_TC, 0, timeout_ref) != 0) { in i2c_request_memory_read()
557 if (i2c_wait_flag(hi2c, I2C_FLAG_BUSY, 1, timeout_ref) != 0) { in i2c_write()
610 if (i2c_wait_flag(hi2c, I2C_FLAG_TCR, 0, in i2c_write()
738 if (i2c_wait_flag(hi2c, I2C_FLAG_BUSY, 1, timeout_ref) != 0) { in i2c_read()
770 if (i2c_wait_flag(hi2c, I2C_FLAG_RXNE, 0, timeout_ref) != 0) { in i2c_read()
780 if (i2c_wait_flag(hi2c, I2C_FLAG_TCR, 0, in i2c_read()
936 if (i2c_wait_flag(hi2c, I2C_FLAG_STOPF, 0, in stm32_i2c_is_device_ready()
950 if (i2c_wait_flag(hi2c, I2C_FLAG_STOPF, 0, timeout_ref) != 0) { in stm32_i2c_is_device_ready()
962 if (i2c_wait_flag(hi2c, I2C_FLAG_STOPF, 0, in stm32_i2c_is_device_ready()