Home
last modified time | relevance | path

Searched refs:RNG_CTRL (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/char/hw_random/
Dmtk-rng.c27 #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()
Dhistb-rng.c15 #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()
Dhisi-rng.c16 #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()
Dbcm2835-rng.c17 #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()