/linux-4.1.27/drivers/char/hw_random/ |
H A D | Makefile | |
H A D | ixp4xx-rng.c | 29 static int ixp4xx_rng_data_read(struct hwrng *rng, u32 *buffer) ixp4xx_rng_data_read() argument
|
H A D | tpm-rng.c | 26 static int tpm_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) tpm_rng_read() argument
|
H A D | nomadik-rng.c | 22 static int nmk_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) nmk_rng_read() argument
|
H A D | powernv-rng.c | 18 static int powernv_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) powernv_rng_read() argument
|
H A D | amd-rng.c | 56 static int amd_rng_data_present(struct hwrng *rng, int wait) amd_rng_data_present() argument 70 static int amd_rng_data_read(struct hwrng *rng, u32 *data) amd_rng_data_read() argument 79 static int amd_rng_init(struct hwrng *rng) amd_rng_init() argument 94 static void amd_rng_cleanup(struct hwrng *rng) amd_rng_cleanup() argument
|
H A D | bcm2835-rng.c | 29 static int bcm2835_rng_read(struct hwrng *rng, void *buf, size_t max, bcm2835_rng_read() argument
|
H A D | geode-rng.c | 55 static int geode_rng_data_read(struct hwrng *rng, u32 *data) geode_rng_data_read() argument 64 static int geode_rng_data_present(struct hwrng *rng, int wait) geode_rng_data_present() argument
|
H A D | octeon-rng.c | 28 static int octeon_rng_init(struct hwrng *rng) octeon_rng_init() argument 40 static void octeon_rng_cleanup(struct hwrng *rng) octeon_rng_cleanup() argument 50 static int octeon_rng_data_read(struct hwrng *rng, u32 *data) octeon_rng_data_read() argument 62 struct octeon_rng *rng; octeon_rng_probe() local 110 struct hwrng *rng = platform_get_drvdata(pdev); octeon_rng_remove() local
|
H A D | pseries-rng.c | 28 static int pseries_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) pseries_rng_read() argument
|
H A D | atmel-rng.c | 27 struct hwrng rng; member in struct:atmel_trng 30 static int atmel_trng_read(struct hwrng *rng, void *buf, size_t max, atmel_trng_read() argument
|
H A D | bcm63xx-rng.c | 27 struct hwrng rng; member in struct:bcm63xx_rng_priv 34 static int bcm63xx_rng_init(struct hwrng *rng) bcm63xx_rng_init() argument 51 static void bcm63xx_rng_cleanup(struct hwrng *rng) bcm63xx_rng_cleanup() argument 63 static int bcm63xx_rng_data_present(struct hwrng *rng, int wait) bcm63xx_rng_data_present() argument 70 static int bcm63xx_rng_data_read(struct hwrng *rng, u32 *data) bcm63xx_rng_data_read() argument 85 struct hwrng *rng; bcm63xx_rng_probe() local
|
H A D | omap3-rom-rng.c | 74 static int omap3_rom_rng_data_present(struct hwrng *rng, int wait) omap3_rom_rng_data_present() argument 79 static int omap3_rom_rng_data_read(struct hwrng *rng, u32 *data) omap3_rom_rng_data_read() argument
|
H A D | ppc4xx-rng.c | 31 static int ppc4xx_rng_data_present(struct hwrng *rng, int wait) ppc4xx_rng_data_present() argument 47 static int ppc4xx_rng_data_read(struct hwrng *rng, u32 *data) ppc4xx_rng_data_read() argument
|
H A D | timeriomem-rng.c | 54 static int timeriomem_rng_data_present(struct hwrng *rng, int wait) timeriomem_rng_data_present() argument 66 static int timeriomem_rng_data_read(struct hwrng *rng, u32 *data) timeriomem_rng_data_read() argument
|
H A D | tx4939-rng.c | 29 struct hwrng rng; member in struct:tx4939_rng 65 static int tx4939_rng_data_present(struct hwrng *rng, int wait) tx4939_rng_data_present() argument 98 static int tx4939_rng_data_read(struct hwrng *rng, u32 *buffer) tx4939_rng_data_read() argument
|
H A D | exynos-rng.c | 41 struct hwrng rng; member in struct:exynos_rng 46 static u32 exynos_rng_readl(struct exynos_rng *rng, u32 offset) exynos_rng_readl() argument 51 static void exynos_rng_writel(struct exynos_rng *rng, u32 val, u32 offset) exynos_rng_writel() argument 56 static int exynos_init(struct hwrng *rng) exynos_init() argument 78 static int exynos_read(struct hwrng *rng, void *buf, exynos_read() argument
|
H A D | msm-rng.c | 48 struct msm_rng *rng = to_msm_rng(hwrng); msm_rng_enable() local 83 struct msm_rng *rng = to_msm_rng(hwrng); msm_rng_read() local 137 struct msm_rng *rng; msm_rng_probe() local
|
H A D | pasemi-rng.c | 46 static int pasemi_rng_data_present(struct hwrng *rng, int wait) pasemi_rng_data_present() argument 61 static int pasemi_rng_data_read(struct hwrng *rng, u32 *data) pasemi_rng_data_read() argument 68 static int pasemi_rng_init(struct hwrng *rng) pasemi_rng_init() argument 80 static void pasemi_rng_cleanup(struct hwrng *rng) pasemi_rng_cleanup() argument
|
H A D | via-rng.c | 91 static int via_rng_data_present(struct hwrng *rng, int wait) via_rng_data_present() argument 124 static int via_rng_data_read(struct hwrng *rng, u32 *data) via_rng_data_read() argument 133 static int via_rng_init(struct hwrng *rng) via_rng_init() argument
|
H A D | virtio-rng.c | 66 static int virtio_read(struct hwrng *rng, void *buf, size_t size, bool wait) virtio_read() argument 92 static void virtio_cleanup(struct hwrng *rng) virtio_cleanup() argument
|
H A D | intel-rng.c | 167 static int intel_rng_data_present(struct hwrng *rng, int wait) intel_rng_data_present() argument 182 static int intel_rng_data_read(struct hwrng *rng, u32 *data) intel_rng_data_read() argument 191 static int intel_rng_init(struct hwrng *rng) intel_rng_init() argument 210 static void intel_rng_cleanup(struct hwrng *rng) intel_rng_cleanup() argument
|
H A D | iproc-rng200.c | 51 struct hwrng rng; member in struct:iproc_rng200_dev 94 static int iproc_rng200_read(struct hwrng *rng, void *buf, size_t max, iproc_rng200_read() argument 155 static int iproc_rng200_init(struct hwrng *rng) iproc_rng200_init() argument 169 static void iproc_rng200_cleanup(struct hwrng *rng) iproc_rng200_cleanup() argument
|
H A D | mxc-rnga.c | 64 struct hwrng rng; member in struct:mxc_rng 69 static int mxc_rnga_data_present(struct hwrng *rng, int wait) mxc_rnga_data_present() argument 85 static int mxc_rnga_data_read(struct hwrng *rng, u32 * data) mxc_rnga_data_read() argument 108 static int mxc_rnga_init(struct hwrng *rng) mxc_rnga_init() argument 131 static void mxc_rnga_cleanup(struct hwrng *rng) mxc_rnga_cleanup() argument
|
H A D | core.c | 85 static void add_early_randomness(struct hwrng *rng) add_early_randomness() argument 99 struct hwrng *rng = container_of(kref, struct hwrng, ref); cleanup_rng() local 107 static int set_current_rng(struct hwrng *rng) set_current_rng() argument 137 struct hwrng *rng; get_current_rng() local 150 static void put_rng(struct hwrng *rng) put_rng() argument 162 static int hwrng_init(struct hwrng *rng) hwrng_init() argument 203 static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size, rng_get_data() argument 228 struct hwrng *rng; rng_dev_read() local 319 struct hwrng *rng; hwrng_attr_current_store() local 343 struct hwrng *rng; hwrng_attr_current_show() local 360 struct hwrng *rng; hwrng_attr_available_show() local 406 struct hwrng *rng; hwrng_fillfn() local 438 int hwrng_register(struct hwrng *rng) hwrng_register() argument 501 void hwrng_unregister(struct hwrng *rng) hwrng_unregister() argument 543 int devm_hwrng_register(struct device *dev, struct hwrng *rng) devm_hwrng_register() argument 564 void devm_hwrng_unregister(struct device *dev, struct hwrng *rng) devm_hwrng_unregister() argument
|
H A D | n2-drv.c | 387 static int n2rng_data_read(struct hwrng *rng, u32 *data) n2rng_data_read() argument
|
H A D | xgene-rng.c | 226 static int xgene_rng_data_present(struct hwrng *rng, int wait) xgene_rng_data_present() argument 241 static int xgene_rng_data_read(struct hwrng *rng, u32 *data) xgene_rng_data_read() argument 290 static int xgene_rng_init(struct hwrng *rng) xgene_rng_init() argument
|
H A D | omap-rng.c | 143 static int omap_rng_data_present(struct hwrng *rng, int wait) omap_rng_data_present() argument 164 static int omap_rng_data_read(struct hwrng *rng, u32 *data) omap_rng_data_read() argument 180 static int omap_rng_init(struct hwrng *rng) omap_rng_init() argument 188 static void omap_rng_cleanup(struct hwrng *rng) omap_rng_cleanup() argument
|
/linux-4.1.27/include/linux/ |
H A D | serial.h | 21 __u32 cts, dsr, rng, dcd, tx, rx; member in struct:async_icount
|
H A D | serial_core.h | 103 __u32 rng; member in struct:uart_icount
|
H A D | cyclades.h | 104 __u32 cts, dsr, rng, dcd, tx, rx; member in struct:cyclades_icount
|
H A D | crypto.h | 562 struct rng_alg rng; member in union:crypto_alg::__anon11594 683 struct rng_tfm rng; member in union:crypto_tfm::__anon11595
|
/linux-4.1.27/crypto/ |
H A D | rng.c | 113 struct crypto_rng *rng; crypto_get_default_rng() local
|
H A D | testmgr.c | 1706 struct crypto_rng *rng; alg_test_cprng() local
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
H A D | rng.c | 36 struct powernv_rng *rng; powernv_hwrng_present() local 43 static unsigned long rng_whiten(struct powernv_rng *rng, unsigned long val) rng_whiten() argument 61 struct powernv_rng *rng; powernv_get_random_real_mode() local 72 struct powernv_rng *rng; powernv_get_random_long() local 84 static __init void rng_init_per_cpu(struct powernv_rng *rng, rng_init_per_cpu() argument 103 struct powernv_rng *rng; rng_create() local
|
/linux-4.1.27/drivers/s390/crypto/ |
H A D | zcrypt_api.h | 95 long (*rng)(struct zcrypt_device *, char *); member in struct:zcrypt_ops
|
H A D | zcrypt_api.c | 1352 static int zcrypt_rng_data_read(struct hwrng *rng, u32 *data) zcrypt_rng_data_read() argument
|
/linux-4.1.27/drivers/crypto/caam/ |
H A D | caamrng.c | 135 static int caam_read(struct hwrng *rng, void *data, size_t max, bool wait) caam_read() argument 241 static void caam_cleanup(struct hwrng *rng) caam_cleanup() argument
|
H A D | caamalg.c | 3386 struct rng_alg rng; member in union:caam_alg_template::__anon3798
|
/linux-4.1.27/drivers/crypto/ccp/ |
H A D | ccp-dev.c | 260 static int ccp_trng_read(struct hwrng *rng, void *data, size_t max, bool wait) ccp_trng_read() argument
|
/linux-4.1.27/drivers/usb/misc/ |
H A D | chaoskey.c | 441 static int chaoskey_rng_read(struct hwrng *rng, void *data, chaoskey_rng_read() argument
|
/linux-4.1.27/include/uapi/linux/ |
H A D | serial.h | 101 int cts, dsr, rng, dcd; member in struct:serial_icounter_struct
|
H A D | synclink.h | 213 __u32 cts, dsr, rng, dcd, tx, rx; member in struct:mgsl_icount
|
/linux-4.1.27/drivers/mmc/card/ |
H A D | sdio_uart.c | 57 __u32 rng; member in struct:uart_icount
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
H A D | main.c | 1588 static int carl9170_rng_read(struct hwrng *rng, u32 *data) carl9170_rng_read() argument
|
H A D | carl9170.h | 457 struct hwrng rng; member in struct:ar9170::__anon7706 462 } rng; member in struct:ar9170
|
/linux-4.1.27/drivers/crypto/ |
H A D | talitos.c | 562 static int talitos_rng_data_present(struct hwrng *rng, int wait) talitos_rng_data_present() argument 580 static int talitos_rng_data_read(struct hwrng *rng, u32 *data) talitos_rng_data_read() argument 592 static int talitos_rng_init(struct hwrng *rng) talitos_rng_init() argument
|
H A D | talitos.h | 133 struct hwrng rng; member in struct:talitos_private
|
H A D | hifn_795x.c | 460 struct hwrng rng; member in struct:hifn_device 795 static int hifn_rng_data_present(struct hwrng *rng, int wait) hifn_rng_data_present() argument 810 static int hifn_rng_data_read(struct hwrng *rng, u32 *data) hifn_rng_data_read() argument
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
H A D | main.c | 2431 static int b43legacy_rng_read(struct hwrng *rng, u32 *data) b43legacy_rng_read() argument
|
H A D | b43legacy.h | 607 struct hwrng rng; member in struct:b43legacy_wl
|
/linux-4.1.27/drivers/net/wireless/b43/ |
H A D | main.c | 3552 static int b43_rng_read(struct hwrng *rng, u32 *data) b43_rng_read() argument
|
H A D | b43.h | 932 struct hwrng rng; member in struct:b43_wl
|