Home
last modified time | relevance | path

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

12

/drivers/char/hw_random/
Dcore.c52 static struct hwrng *current_rng;
63 static inline int hwrng_init(struct hwrng *rng) in hwrng_init()
70 static inline void hwrng_cleanup(struct hwrng *rng) in hwrng_cleanup()
86 static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size, in rng_get_data()
193 struct hwrng *rng; in hwrng_attr_current_store()
244 struct hwrng *rng; in hwrng_attr_available_show()
303 int hwrng_register(struct hwrng *rng) in hwrng_register()
307 struct hwrng *old_rng, *tmp; in hwrng_register()
358 void hwrng_unregister(struct hwrng *rng) in hwrng_unregister()
370 current_rng = list_entry(rng_list.prev, struct hwrng, list); in hwrng_unregister()
Docteon-rng.c24 struct hwrng ops;
29 static int octeon_rng_init(struct hwrng *rng) in octeon_rng_init()
41 static void octeon_rng_cleanup(struct hwrng *rng) in octeon_rng_cleanup()
51 static int octeon_rng_data_read(struct hwrng *rng, u32 *data) in octeon_rng_data_read()
65 struct hwrng ops = { in octeon_rng_probe()
118 struct hwrng *rng = dev_get_drvdata(&pdev->dev); in octeon_rng_remove()
Damd-rng.c56 static int amd_rng_data_present(struct hwrng *rng, int wait) in amd_rng_data_present()
70 static int amd_rng_data_read(struct hwrng *rng, u32 *data) in amd_rng_data_read()
79 static int amd_rng_init(struct hwrng *rng) in amd_rng_init()
94 static void amd_rng_cleanup(struct hwrng *rng) in amd_rng_cleanup()
104 static struct hwrng amd_rng = {
Dpasemi-rng.c45 static int pasemi_rng_data_present(struct hwrng *rng, int wait) in pasemi_rng_data_present()
60 static int pasemi_rng_data_read(struct hwrng *rng, u32 *data) in pasemi_rng_data_read()
67 static int pasemi_rng_init(struct hwrng *rng) in pasemi_rng_init()
79 static void pasemi_rng_cleanup(struct hwrng *rng) in pasemi_rng_cleanup()
89 static struct hwrng pasemi_rng = {
Dmxc-rnga.c63 static int mxc_rnga_data_present(struct hwrng *rng) in mxc_rnga_data_present()
75 static int mxc_rnga_data_read(struct hwrng *rng, u32 * data) in mxc_rnga_data_read()
98 static int mxc_rnga_init(struct hwrng *rng) in mxc_rnga_init()
121 static void mxc_rnga_cleanup(struct hwrng *rng) in mxc_rnga_cleanup()
132 static struct hwrng mxc_rnga = {
Dvia-rng.c90 static int via_rng_data_present(struct hwrng *rng, int wait) in via_rng_data_present()
123 static int via_rng_data_read(struct hwrng *rng, u32 *data) in via_rng_data_read()
132 static int via_rng_init(struct hwrng *rng) in via_rng_init()
190 static struct hwrng via_rng = {
Dgeode-rng.c55 static int geode_rng_data_read(struct hwrng *rng, u32 *data) in geode_rng_data_read()
64 static int geode_rng_data_present(struct hwrng *rng, int wait) in geode_rng_data_present()
79 static struct hwrng geode_rng = {
Dvirtio-rng.c56 static int virtio_read(struct hwrng *rng, void *buf, size_t size, bool wait) in virtio_read()
75 static void virtio_cleanup(struct hwrng *rng) in virtio_cleanup()
82 static struct hwrng virtio_hwrng = {
Dtimeriomem-rng.c42 static int timeriomem_rng_data_present(struct hwrng *rng, int wait) in timeriomem_rng_data_present()
55 static int timeriomem_rng_data_read(struct hwrng *rng, u32 *data) in timeriomem_rng_data_read()
84 static struct hwrng timeriomem_rng_ops = {
Dppc4xx-rng.c30 static int ppc4xx_rng_data_present(struct hwrng *rng, int wait) in ppc4xx_rng_data_present()
46 static int ppc4xx_rng_data_read(struct hwrng *rng, u32 *data) in ppc4xx_rng_data_read()
87 static struct hwrng ppc4xx_rng = {
Dintel-rng.c167 static int intel_rng_data_present(struct hwrng *rng, int wait) in intel_rng_data_present()
182 static int intel_rng_data_read(struct hwrng *rng, u32 *data) in intel_rng_data_read()
191 static int intel_rng_init(struct hwrng *rng) in intel_rng_init()
210 static void intel_rng_cleanup(struct hwrng *rng) in intel_rng_cleanup()
223 static struct hwrng intel_rng = {
Domap-rng.c63 static int omap_rng_data_present(struct hwrng *rng, int wait) in omap_rng_data_present()
81 static int omap_rng_data_read(struct hwrng *rng, u32 *data) in omap_rng_data_read()
88 static struct hwrng omap_rng_ops = {
Dtx4939-rng.c28 struct hwrng rng;
64 static int tx4939_rng_data_present(struct hwrng *rng, int wait) in tx4939_rng_data_present()
97 static int tx4939_rng_data_read(struct hwrng *rng, u32 *buffer) in tx4939_rng_data_read()
Dixp4xx-rng.c29 static int ixp4xx_rng_data_read(struct hwrng *rng, u32 *buffer) in ixp4xx_rng_data_read()
38 static struct hwrng ixp4xx_rng_ops = {
Dn2rng.h80 struct hwrng hwrng; member
Dn2-drv.c388 static int n2rng_data_read(struct hwrng *rng, u32 *data) in n2rng_data_read()
695 np->hwrng.name = "n2rng"; in n2rng_probe()
696 np->hwrng.data_read = n2rng_data_read; in n2rng_probe()
697 np->hwrng.priv = (unsigned long) np; in n2rng_probe()
699 err = hwrng_register(&np->hwrng); in n2rng_probe()
730 hwrng_unregister(&np->hwrng); in n2rng_remove()
Dnomadik-rng.c23 static int nmk_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) in nmk_rng_read()
37 static struct hwrng nmk_rng = {
Dpicoxcell-rng.c71 static int picoxcell_trng_read(struct hwrng *rng, void *buf, size_t max, in picoxcell_trng_read()
97 static struct hwrng picoxcell_trng = {
Datmel-rng.c27 struct hwrng rng;
30 static int atmel_trng_read(struct hwrng *rng, void *buf, size_t max, in atmel_trng_read()
DKconfig248 /dev/hwrng.
252 /dev/hwrng and injects the entropy into /dev/random.
/drivers/net/wireless/b43legacy/
Db43legacy.h607 struct hwrng rng;
/drivers/s390/crypto/
Dzcrypt_api.c1121 static int zcrypt_rng_data_read(struct hwrng *rng, u32 *data) in zcrypt_rng_data_read()
1139 static struct hwrng zcrypt_rng_dev = {
/drivers/net/wireless/ath/carl9170/
Dcarl9170.h457 struct hwrng rng;
/drivers/crypto/
Dtalitos.c158 struct hwrng rng;
661 static int talitos_rng_data_present(struct hwrng *rng, int wait) in talitos_rng_data_present()
679 static int talitos_rng_data_read(struct hwrng *rng, u32 *data) in talitos_rng_data_read()
691 static int talitos_rng_init(struct hwrng *rng) in talitos_rng_init()
/drivers/net/wireless/b43/
Db43.h904 struct hwrng rng;

12