Lines Matching refs:hwrng
39 struct hwrng { struct
41 int (*init)(struct hwrng *rng); argument
42 void (*cleanup)(struct hwrng *rng); argument
43 int (*data_present)(struct hwrng *rng, int wait); argument
44 int (*data_read)(struct hwrng *rng, u32 *data); argument
45 int (*read)(struct hwrng *rng, void *data, size_t max, bool wait); argument
59 extern int hwrng_register(struct hwrng *rng); argument
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);