Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/st/i2c/
Dstm32_i2c.c266 uint8_t awaited_value, uint64_t timeout_ref) in i2c_wait_flag() argument
275 if (timeout_elapsed(timeout_ref)) { in i2c_wait_flag()
292 static int i2c_ack_failed(struct i2c_handle_s *hi2c, uint64_t timeout_ref) in i2c_ack_failed() argument
304 if (timeout_elapsed(timeout_ref)) { in i2c_ack_failed()
337 static int i2c_wait_txis(struct i2c_handle_s *hi2c, uint64_t timeout_ref) in i2c_wait_txis() argument
341 if (i2c_ack_failed(hi2c, timeout_ref) != 0) { in i2c_wait_txis()
345 if (timeout_elapsed(timeout_ref)) { in i2c_wait_txis()
364 static int i2c_wait_stop(struct i2c_handle_s *hi2c, uint64_t timeout_ref) in i2c_wait_stop() argument
368 if (i2c_ack_failed(hi2c, timeout_ref) != 0) { in i2c_wait_stop()
372 if (timeout_elapsed(timeout_ref)) { in i2c_wait_stop()
[all …]
/external/arm-trusted-firmware/drivers/st/reset/
Dstm32mp1_reset.c38 uint64_t timeout_ref = timeout_init_us(to_us); in stm32mp_reset_assert() local
41 if (timeout_elapsed(timeout_ref)) { in stm32mp_reset_assert()
59 uint64_t timeout_ref = timeout_init_us(to_us); in stm32mp_reset_deassert() local
62 if (timeout_elapsed(timeout_ref)) { in stm32mp_reset_deassert()