Lines Matching refs:exynos_rng_dev
66 struct exynos_rng_dev *rng;
70 struct exynos_rng_dev { struct
85 static struct exynos_rng_dev *exynos_rng_dev; argument
87 static u32 exynos_rng_readl(struct exynos_rng_dev *rng, u32 offset) in exynos_rng_readl()
92 static void exynos_rng_writel(struct exynos_rng_dev *rng, u32 val, u32 offset) in exynos_rng_writel()
97 static int exynos_rng_set_seed(struct exynos_rng_dev *rng, in exynos_rng_set_seed()
140 static int exynos_rng_get_random(struct exynos_rng_dev *rng, in exynos_rng_get_random()
172 static void exynos_rng_reseed(struct exynos_rng_dev *rng) in exynos_rng_reseed()
199 struct exynos_rng_dev *rng = ctx->rng; in exynos_rng_generate()
229 struct exynos_rng_dev *rng = ctx->rng; in exynos_rng_seed()
249 ctx->rng = exynos_rng_dev; in exynos_rng_kcapi_init()
270 struct exynos_rng_dev *rng; in exynos_rng_probe()
273 if (exynos_rng_dev) in exynos_rng_probe()
297 exynos_rng_dev = rng; in exynos_rng_probe()
303 exynos_rng_dev = NULL; in exynos_rng_probe()
313 exynos_rng_dev = NULL; in exynos_rng_remove()
320 struct exynos_rng_dev *rng = dev_get_drvdata(dev); in exynos_rng_suspend()
350 struct exynos_rng_dev *rng = dev_get_drvdata(dev); in exynos_rng_resume()