Lines Matching defs:rng
120 struct hwrng rng; member
127 static void rk_rng_writel(struct rk_rng *rng, u32 val, u32 offset) in rk_rng_writel()
132 static u32 rk_rng_readl(struct rk_rng *rng, u32 offset) in rk_rng_readl()
137 static int rk_rng_init(struct hwrng *rng) in rk_rng_init()
153 static void rk_rng_cleanup(struct hwrng *rng) in rk_rng_cleanup()
161 static int rk_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) in rk_rng_read()
193 static void rk_rng_read_regs(struct rk_rng *rng, u32 offset, void *buf, in rk_rng_read_regs()
202 static int crypto_v1_read(struct hwrng *rng, void *buf, size_t max, bool wait) in crypto_v1_read()
237 static int crypto_v2_read(struct hwrng *rng, void *buf, size_t max, bool wait) in crypto_v2_read()
273 static int trng_v1_init(struct hwrng *rng) in trng_v1_init()
322 static int trng_v1_read(struct hwrng *rng, void *buf, size_t max, bool wait) in trng_v1_read()
366 static int rkrng_init(struct hwrng *rng) in rkrng_init()
379 static int rkrng_read(struct hwrng *rng, void *buf, size_t max, bool wait) in rkrng_read()