/drivers/char/hw_random/ |
D | core.c | 52 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()
|
D | octeon-rng.c | 24 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() 111 struct hwrng *rng = dev_get_drvdata(&pdev->dev); in octeon_rng_remove()
|
D | amd-rng.c | 56 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 = {
|
D | bcm63xx-rng.c | 26 static int bcm63xx_rng_init(struct hwrng *rng) in bcm63xx_rng_init() 38 static void bcm63xx_rng_cleanup(struct hwrng *rng) in bcm63xx_rng_cleanup() 48 static int bcm63xx_rng_data_present(struct hwrng *rng, int wait) in bcm63xx_rng_data_present() 55 static int bcm63xx_rng_data_read(struct hwrng *rng, u32 *data) in bcm63xx_rng_data_read() 70 struct hwrng *rng; in bcm63xx_rng_probe() 150 struct hwrng *rng = platform_get_drvdata(pdev); in bcm63xx_rng_remove()
|
D | pasemi-rng.c | 45 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 = {
|
D | mxc-rnga.c | 64 struct hwrng rng; 69 static int mxc_rnga_data_present(struct hwrng *rng, int wait) in mxc_rnga_data_present() 85 static int mxc_rnga_data_read(struct hwrng *rng, u32 * data) in mxc_rnga_data_read() 108 static int mxc_rnga_init(struct hwrng *rng) in mxc_rnga_init() 131 static void mxc_rnga_cleanup(struct hwrng *rng) in mxc_rnga_cleanup()
|
D | via-rng.c | 90 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 = {
|
D | geode-rng.c | 55 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 = {
|
D | ppc4xx-rng.c | 30 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 = {
|
D | virtio-rng.c | 56 static int virtio_read(struct hwrng *rng, void *buf, size_t size, bool wait) in virtio_read() 78 static void virtio_cleanup(struct hwrng *rng) in virtio_cleanup() 85 static struct hwrng virtio_hwrng = {
|
D | intel-rng.c | 167 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 = {
|
D | tpm-rng.c | 26 static int tpm_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) in tpm_rng_read() 31 static struct hwrng tpm_rng = {
|
D | tx4939-rng.c | 29 struct hwrng rng; 65 static int tx4939_rng_data_present(struct hwrng *rng, int wait) in tx4939_rng_data_present() 98 static int tx4939_rng_data_read(struct hwrng *rng, u32 *buffer) in tx4939_rng_data_read()
|
D | ixp4xx-rng.c | 29 static int ixp4xx_rng_data_read(struct hwrng *rng, u32 *buffer) in ixp4xx_rng_data_read() 38 static struct hwrng ixp4xx_rng_ops = {
|
D | omap-rng.c | 69 static int omap_rng_data_present(struct hwrng *rng, int wait) in omap_rng_data_present() 90 static int omap_rng_data_read(struct hwrng *rng, u32 *data) in omap_rng_data_read() 101 static struct hwrng omap_rng_ops = {
|
D | exynos-rng.c | 42 struct hwrng rng; 57 static int exynos_init(struct hwrng *rng) in exynos_init() 79 static int exynos_read(struct hwrng *rng, void *buf, in exynos_read()
|
D | pseries-rng.c | 26 static int pseries_rng_data_read(struct hwrng *rng, u32 *data) in pseries_rng_data_read() 49 static struct hwrng pseries_rng = {
|
D | n2rng.h | 80 struct hwrng hwrng; member
|
D | timeriomem-rng.c | 45 struct hwrng timeriomem_rng_ops; 54 static int timeriomem_rng_data_present(struct hwrng *rng, int wait) in timeriomem_rng_data_present() 66 static int timeriomem_rng_data_read(struct hwrng *rng, u32 *data) in timeriomem_rng_data_read()
|
D | n2-drv.c | 388 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()
|
D | bcm2835-rng.c | 30 static int bcm2835_rng_read(struct hwrng *rng, void *buf, size_t max, in bcm2835_rng_read() 45 static struct hwrng bcm2835_rng_ops = {
|
D | nomadik-rng.c | 23 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 = {
|
D | picoxcell-rng.c | 71 static int picoxcell_trng_read(struct hwrng *rng, void *buf, size_t max, in picoxcell_trng_read() 97 static struct hwrng picoxcell_trng = {
|
D | atmel-rng.c | 27 struct hwrng rng; 30 static int atmel_trng_read(struct hwrng *rng, void *buf, size_t max, in atmel_trng_read()
|
/drivers/crypto/caam/ |
D | caamrng.c | 138 static int caam_read(struct hwrng *rng, void *data, size_t max, bool wait) in caam_read() 234 static void caam_cleanup(struct hwrng *rng) in caam_cleanup() 268 static struct hwrng caam_rng = {
|