Home
last modified time | relevance | path

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

/optee_os/core/drivers/
H A Dstm32_rng.c27 #define RNG_SR U(0x04) macro
133 uint32_t sr = io_read32(rng_base + RNG_SR); in conceal_seed_error_cond_reset()
146 io_clrbits32(rng_base + RNG_SR, RNG_SR_SEIS); in conceal_seed_error_cond_reset()
162 if (io_read32(rng_base + RNG_SR) & RNG_SR_SEIS) in conceal_seed_error_cond_reset()
166 if (io_read32(rng_base + RNG_SR) & RNG_SR_SECS) { in conceal_seed_error_cond_reset()
198 io_clrbits32(rng_base + RNG_SR, RNG_SR_SEIS); in conceal_seed_error_sw_reset()
203 if (io_read32(rng_base + RNG_SR) & RNG_SR_SEIS) in conceal_seed_error_sw_reset()
222 if (dev->error_conceal || io_read32(rng_base + RNG_SR) & RNG_SR_SEIS) in read_available()
225 if (!(io_read32(rng_base + RNG_SR) & RNG_SR_DRDY)) { in read_available()
230 if (io_read32(rng_base + RNG_SR) & RNG_SR_SEIS) { in read_available()
[all …]
H A Dimx_rngb.c28 #define RNG_SR 0x0C macro
80 status = io_read32(rng->base.va + RNG_SR); in wait_for_irq()
179 status = io_read32(rngb.base.va + RNG_SR); in hw_get_random_bytes()