Lines Matching defs:rng
69 struct hwrng *rng = container_of(kref, struct hwrng, ref); in cleanup_rng() local
77 static int set_current_rng(struct hwrng *rng) in set_current_rng()
124 struct hwrng *rng; in get_current_rng() local
135 static void put_rng(struct hwrng *rng) in put_rng()
147 static int hwrng_init(struct hwrng *rng) in hwrng_init()
179 static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size, in rng_get_data()
212 struct hwrng *rng; in rng_dev_read() local
306 struct hwrng *rng, *new_rng = NULL; in enable_best_rng() local
336 struct hwrng *rng, *new_rng; in rng_current_store() local
368 struct hwrng *rng; in rng_current_show() local
385 struct hwrng *rng; in rng_available_show() local
413 struct hwrng *rng; in rng_quality_show() local
486 struct hwrng *rng; in hwrng_fillfn() local
522 int hwrng_register(struct hwrng *rng) in hwrng_register()
567 void hwrng_unregister(struct hwrng *rng) in hwrng_unregister()
614 int devm_hwrng_register(struct device *dev, struct hwrng *rng) in devm_hwrng_register()
635 void devm_hwrng_unregister(struct device *dev, struct hwrng *rng) in devm_hwrng_unregister()
641 long hwrng_msleep(struct hwrng *rng, unsigned int msecs) in hwrng_msleep()
649 long hwrng_yield(struct hwrng *rng) in hwrng_yield()