Lines Matching refs:hwrng
114 int (*rk_rng_init)(struct hwrng *rng);
115 int (*rk_rng_read)(struct hwrng *rng, void *buf, size_t max, bool wait);
120 struct hwrng rng;
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()
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()