Lines Matching refs:hwrng

33 static struct hwrng *current_rng;
56 static int hwrng_init(struct hwrng *rng);
59 static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size,
67 static void add_early_randomness(struct hwrng *rng) in add_early_randomness()
82 struct hwrng *rng = container_of(kref, struct hwrng, ref); in cleanup_rng()
90 static int set_current_rng(struct hwrng *rng) in set_current_rng()
127 static struct hwrng *get_current_rng_nolock(void) in get_current_rng_nolock()
135 static struct hwrng *get_current_rng(void) in get_current_rng()
137 struct hwrng *rng; in get_current_rng()
148 static void put_rng(struct hwrng *rng) in put_rng()
160 static int hwrng_init(struct hwrng *rng) in hwrng_init()
193 static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size, in rng_get_data()
219 struct hwrng *rng; in rng_dev_read()
313 struct hwrng *rng, *new_rng = NULL; in enable_best_rng()
343 struct hwrng *rng, *old_rng, *new_rng; in rng_current_store()
379 struct hwrng *rng; in rng_current_show()
396 struct hwrng *rng; in rng_available_show()
424 struct hwrng *rng; in rng_quality_show()
507 struct hwrng *rng; in hwrng_fillfn()
543 int hwrng_register(struct hwrng *rng) in hwrng_register()
546 struct hwrng *tmp; in hwrng_register()
603 void hwrng_unregister(struct hwrng *rng) in hwrng_unregister()
605 struct hwrng *old_rng, *new_rng; in hwrng_unregister()
641 hwrng_unregister(*(struct hwrng **)res); in devm_hwrng_release()
646 struct hwrng **r = res; in devm_hwrng_match()
654 int devm_hwrng_register(struct device *dev, struct hwrng *rng) in devm_hwrng_register()
656 struct hwrng **ptr; in devm_hwrng_register()
675 void devm_hwrng_unregister(struct device *dev, struct hwrng *rng) in devm_hwrng_unregister()
681 long hwrng_msleep(struct hwrng *rng, unsigned int msecs) in hwrng_msleep()
689 long hwrng_yield(struct hwrng *rng) in hwrng_yield()