Searched refs:RNG_CTRL (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/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 | histb-rng.c | 15 #define RNG_CTRL 0x0 macro 46 val = readl_relaxed(base + RNG_CTRL); in histb_rng_init() 57 writel_relaxed(val, base + RNG_CTRL); in histb_rng_init() 83 return (readl_relaxed(base + RNG_CTRL) & POST_PROCESS_DEPTH) >> 8; in histb_rng_get_depth()
|
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 109 rng_writel(priv, RNG_RBGEN, RNG_CTRL); in bcm2835_rng_init() 119 rng_writel(priv, 0, RNG_CTRL); in bcm2835_rng_cleanup()
|