Home
last modified time | relevance | path

Searched hist:"0817 aa6f8fa03d8d8dbea84485c245dadecfa93d" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/
H A Dstm32_rng.c0817aa6f8fa03d8d8dbea84485c245dadecfa93d Wed Jan 18 17:28:35 UTC 2023 Gatien Chevallier <gatien.chevallier@foss.st.com> drivers: stm32_rng: cleanup and change sample read timeout to 10ms

10ms timeout is sufficient when reading samples from RNG subsystem
when log level is below TRACE_FLOW log level. This changes renames
the timeout value macro to RNG_READY_TIMEOUT_US.

This change also renames the reset timeout value for clarity,
from RNG_TIMEOUT_US_1MS to RNG_RESET_TIMEOUT_US.

Moves RNG_FIFO_BYTE_DEPTH macro definition to source file beginning.
Uses U() macro to define IOMEM registers offsets.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>