Searched refs:hwrng (Results 1 – 2 of 2) sorted by relevance
38 struct hwrng { struct40 int (*init)(struct hwrng *rng); argument41 void (*cleanup)(struct hwrng *rng); argument42 int (*data_present)(struct hwrng *rng, int wait); argument43 int (*data_read)(struct hwrng *rng, u32 *data); argument44 int (*read)(struct hwrng *rng, void *data, size_t max, bool wait); argument58 extern int hwrng_register(struct hwrng *rng); argument59 extern int devm_hwrng_register(struct device *dev, struct hwrng *rng);61 extern void hwrng_unregister(struct hwrng *rng);64 extern long hwrng_msleep(struct hwrng *rng, unsigned int msecs);[all …]
174 struct hwrng hwrng; member
Completed in 8 milliseconds