Searched refs:rng_base (Results 1 – 2 of 2) sorted by relevance
66 static void conceal_seed_error(vaddr_t rng_base) in conceal_seed_error() argument71 io_mask32(rng_base + RNG_SR, 0, RNG_SR_SEIS); in conceal_seed_error()74 (void)io_read32(rng_base + RNG_DR); in conceal_seed_error()76 if (io_read32(rng_base + RNG_SR) & RNG_SR_SEIS) in conceal_seed_error()89 conceal_seed_error(rng_base); in read_available()91 if (!(io_read32(rng_base + RNG_SR) & RNG_SR_DRDY)) { in read_available()96 if (io_read32(rng_base + RNG_SR) & RNG_SR_SEIS) { in read_available()107 uint32_t data32 = io_read32(rng_base + RNG_DR); in read_available()152 vaddr_t rng_base = 0; in stm32_rng_read() local161 rng_base = io_pa_or_va(&stm32_rng->base, 1); in stm32_rng_read()[all …]
23 static vaddr_t rng_base(void) in rng_base() function40 status = io_read32(rng_base() + RNG_STATUS_OFFSET); in hwrng_waithost_fifo_full()111 tmpval[i] = io_read32(rng_base() + in hw_get_random_bytes()
Completed in 2 milliseconds