Searched refs:RNG_CR (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/char/hw_random/ |
H A D | stm32-rng.c | 20 #define RNG_CR 0x00 macro 105 u32 cr = readl_relaxed(priv->base + RNG_CR); in stm32_rng_conceal_seed_error_cond_reset() 110 writel_relaxed(cr | RNG_CR_CONDRST, priv->base + RNG_CR); in stm32_rng_conceal_seed_error_cond_reset() 111 writel_relaxed(cr & ~RNG_CR_CONDRST, priv->base + RNG_CR); in stm32_rng_conceal_seed_error_cond_reset() 118 err = readl_relaxed_poll_timeout_atomic(priv->base + RNG_CR, cr, !(cr & RNG_CR_CONDRST), 10, in stm32_rng_conceal_seed_error_cond_reset() 298 reg = readl_relaxed(priv->base + RNG_CR); in stm32_rng_init() 314 writel_relaxed(reg, priv->base + RNG_CR); in stm32_rng_init() 325 writel_relaxed(reg, priv->base + RNG_CR); in stm32_rng_init() 327 err = readl_relaxed_poll_timeout_atomic(priv->base + RNG_CR, reg, in stm32_rng_init() 345 writel_relaxed(reg, priv->base + RNG_CR); in stm32_rng_init() [all …]
|