Searched refs:RNG_CTRL (Results 1 – 3 of 3) sorted by relevance
/drivers/char/hw_random/ |
D | mtk-rng.c | 27 #define RNG_CTRL 0x00 macro 51 val = readl(priv->base + RNG_CTRL); in mtk_rng_init() 53 writel(val, priv->base + RNG_CTRL); in mtk_rng_init() 63 val = readl(priv->base + RNG_CTRL); in mtk_rng_cleanup() 65 writel(val, priv->base + RNG_CTRL); in mtk_rng_cleanup() 75 ready = readl(priv->base + RNG_CTRL) & RNG_READY; in mtk_rng_wait_ready() 77 readl_poll_timeout_atomic(priv->base + RNG_CTRL, ready, in mtk_rng_wait_ready()
|
D | hisi-rng.c | 16 #define RNG_CTRL 0x4 macro 53 writel_relaxed(val, hrng->base + RNG_CTRL); in hisi_rng_init() 61 writel_relaxed(0, hrng->base + RNG_CTRL); in hisi_rng_cleanup()
|
D | bcm2835-rng.c | 17 #define RNG_CTRL 0x0 macro 106 rng_writel(priv, RNG_RBGEN, RNG_CTRL); in bcm2835_rng_init() 116 rng_writel(priv, 0, RNG_CTRL); in bcm2835_rng_cleanup()
|