Home
last modified time | relevance | path

Searched refs:hwrng (Results 1 – 2 of 2) sorted by relevance

/include/linux/
Dhw_random.h39 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
58 extern int hwrng_register(struct hwrng *rng); argument
59 extern int devm_hwrng_register(struct device *dev, struct hwrng *rng);
61 extern void hwrng_unregister(struct hwrng *rng);
62 extern void devm_hwrng_unregister(struct device *dve, struct hwrng *rng);
Dtpm.h132 struct hwrng hwrng; member