Home
last modified time | relevance | path

Searched refs:i2c_wait_flag (Results 1 – 1 of 1) sorted by relevance

/external/arm-trusted-firmware/drivers/st/i2c/
Dstm32_i2c.c265 static int i2c_wait_flag(struct i2c_handle_s *hi2c, uint32_t flag, in i2c_wait_flag() function
461 if (i2c_wait_flag(hi2c, I2C_FLAG_TCR, 0, timeout_ref) != 0) { in i2c_request_memory_write()
508 if (i2c_wait_flag(hi2c, I2C_FLAG_TC, 0, timeout_ref) != 0) { in i2c_request_memory_read()
556 if (i2c_wait_flag(hi2c, I2C_FLAG_BUSY, 1, timeout_ref) != 0) { in i2c_write()
609 if (i2c_wait_flag(hi2c, I2C_FLAG_TCR, 0, in i2c_write()
737 if (i2c_wait_flag(hi2c, I2C_FLAG_BUSY, 1, timeout_ref) != 0) { in i2c_read()
769 if (i2c_wait_flag(hi2c, I2C_FLAG_RXNE, 0, timeout_ref) != 0) { in i2c_read()
779 if (i2c_wait_flag(hi2c, I2C_FLAG_TCR, 0, in i2c_read()
935 if (i2c_wait_flag(hi2c, I2C_FLAG_STOPF, 0, in stm32_i2c_is_device_ready()
949 if (i2c_wait_flag(hi2c, I2C_FLAG_STOPF, 0, timeout_ref) != 0) { in stm32_i2c_is_device_ready()
[all …]