Lines Matching refs:io_read32

133 		uint32_t sr = io_read32(rng_base + RNG_SR);  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()
201 (void)io_read32(rng_base + RNG_DR); 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()
244 if (!(io_read32(rng_base + RNG_SR) & RNG_SR_DRDY)) in read_available()
246 data32 = io_read32(rng_base + RNG_DR); in read_available()
342 stm32_rng->rng_config = io_read32(rng_base + RNG_CR) & in stm32_rng_init()
377 io_read32(rng_base + RNG_CR)); in stm32_rng_init()
379 io_read32(rng_base + RNG_NSCR)); in stm32_rng_init()
381 io_read32(rng_base + RNG_HTCR)); in stm32_rng_init()
516 while (io_read32(base + RNG_CR) & RNG_CR_CONDRST) in stm32_rng_pm_resume()
519 if (io_read32(base + RNG_CR) & RNG_CR_CONDRST) in stm32_rng_pm_resume()
532 stm32_rng->pm_cr = io_read32(rng_base + RNG_CR); in stm32_rng_pm_suspend()
535 stm32_rng->pm_health = io_read32(rng_base + RNG_HTCR); in stm32_rng_pm_suspend()
536 stm32_rng->pm_noise_ctrl = io_read32(rng_base + RNG_NSCR); in stm32_rng_pm_suspend()
551 while (io_read32(rng_base + RNG_CR) & RNG_CR_CONDRST) in stm32_rng_pm_suspend()
554 if (io_read32(rng_base + RNG_CR) & RNG_CR_CONDRST) in stm32_rng_pm_suspend()
658 version = io_read32(get_base() + RNG_VERR); in stm32_rng_probe()