Home
last modified time | relevance | path

Searched hist:"0711 ee5cbc5645b55de1a751bd52dc8ce02ae037" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/include/drivers/
H A Ddelay_timer.h0711ee5cbc5645b55de1a751bd52dc8ce02ae037 Tue Sep 24 14:59:56 UTC 2019 Lionel Debieve <lionel.debieve@st.com> delay: timeout detection support

Introduce timeout_init_us/timeout_elapsed() delay tracking with CNTPCT.

timeout_init_us(some_timeout_us); returns a reference to detect
timeout for the provided microsecond delay value from current time.

timeout_elapsed(reference) return true/false whether the reference
timeout is elapsed.

Cherry picked from OP-TEE implementation [1].
[1] commit 33d30a74502b ("core: timeout detection support")

Minor:
- Remove stm32mp platform duplicated implementation.
- Add new include in marvell ble.mk

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Change-Id: Iaef6d43c11a2e6992fb48efdc674a0552755ad9c
/rk3399_ARM-atf/plat/st/common/include/
H A Dstm32mp_common.h0711ee5cbc5645b55de1a751bd52dc8ce02ae037 Tue Sep 24 14:59:56 UTC 2019 Lionel Debieve <lionel.debieve@st.com> delay: timeout detection support

Introduce timeout_init_us/timeout_elapsed() delay tracking with CNTPCT.

timeout_init_us(some_timeout_us); returns a reference to detect
timeout for the provided microsecond delay value from current time.

timeout_elapsed(reference) return true/false whether the reference
timeout is elapsed.

Cherry picked from OP-TEE implementation [1].
[1] commit 33d30a74502b ("core: timeout detection support")

Minor:
- Remove stm32mp platform duplicated implementation.
- Add new include in marvell ble.mk

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Change-Id: Iaef6d43c11a2e6992fb48efdc674a0552755ad9c