Searched refs:rng_base (Results 1 – 2 of 2) sorted by relevance
130 vaddr_t rng_base = get_base(); in conceal_seed_error_cond_reset() local133 uint32_t sr = io_read32(rng_base + RNG_SR); in conceal_seed_error_cond_reset()137 io_setbits32(rng_base + RNG_CR, RNG_CR_CONDRST); in conceal_seed_error_cond_reset()138 io_clrbits32(rng_base + RNG_CR, RNG_CR_CONDRST); in conceal_seed_error_cond_reset()146 io_clrbits32(rng_base + RNG_SR, RNG_SR_SEIS); in conceal_seed_error_cond_reset()153 if (io_read32(rng_base + RNG_CR) & RNG_CR_CONDRST) { 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()195 vaddr_t rng_base = get_base(); in conceal_seed_error_sw_reset() local198 io_clrbits32(rng_base + RNG_SR, RNG_SR_SEIS); in conceal_seed_error_sw_reset()[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()