Lines Matching refs:rng
41 int (*init)(struct hwrng *rng);
42 void (*cleanup)(struct hwrng *rng);
43 int (*data_present)(struct hwrng *rng, int wait);
44 int (*data_read)(struct hwrng *rng, u32 *data);
45 int (*read)(struct hwrng *rng, void *data, size_t max, bool wait);
59 extern int hwrng_register(struct hwrng *rng);
60 extern int devm_hwrng_register(struct device *dev, struct hwrng *rng);
62 extern void hwrng_unregister(struct hwrng *rng);
63 extern void devm_hwrng_unregister(struct device *dve, struct hwrng *rng);
65 extern long hwrng_msleep(struct hwrng *rng, unsigned int msecs);
66 extern long hwrng_yield(struct hwrng *rng);