Home
last modified time | relevance | path

Searched defs:rng (Results 1 – 57 of 57) sorted by relevance

/linux-4.1.27/drivers/char/hw_random/
Dcore.c85 static void add_early_randomness(struct hwrng *rng) in add_early_randomness()
99 struct hwrng *rng = container_of(kref, struct hwrng, ref); in cleanup_rng() local
107 static int set_current_rng(struct hwrng *rng) in set_current_rng()
137 struct hwrng *rng; in get_current_rng() local
150 static void put_rng(struct hwrng *rng) in put_rng()
162 static int hwrng_init(struct hwrng *rng) in hwrng_init()
203 static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size, in rng_get_data()
228 struct hwrng *rng; in rng_dev_read() local
319 struct hwrng *rng; in hwrng_attr_current_store() local
343 struct hwrng *rng; in hwrng_attr_current_show() local
[all …]
Dbcm63xx-rng.c27 struct hwrng rng; member
32 #define to_rng_priv(rng) container_of(rng, struct bcm63xx_rng_priv, rng) argument
34 static int bcm63xx_rng_init(struct hwrng *rng) in bcm63xx_rng_init()
51 static void bcm63xx_rng_cleanup(struct hwrng *rng) in bcm63xx_rng_cleanup()
63 static int bcm63xx_rng_data_present(struct hwrng *rng, int wait) in bcm63xx_rng_data_present()
70 static int bcm63xx_rng_data_read(struct hwrng *rng, u32 *data) in bcm63xx_rng_data_read()
85 struct hwrng *rng; in bcm63xx_rng_probe() local
Docteon-rng.c28 static int octeon_rng_init(struct hwrng *rng) in octeon_rng_init()
40 static void octeon_rng_cleanup(struct hwrng *rng) in octeon_rng_cleanup()
50 static int octeon_rng_data_read(struct hwrng *rng, u32 *data) in octeon_rng_data_read()
62 struct octeon_rng *rng; in octeon_rng_probe() local
110 struct hwrng *rng = platform_get_drvdata(pdev); in octeon_rng_remove() local
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()
Dexynos-rng.c41 struct hwrng rng; member
46 static u32 exynos_rng_readl(struct exynos_rng *rng, u32 offset) in exynos_rng_readl()
51 static void exynos_rng_writel(struct exynos_rng *rng, u32 val, u32 offset) in exynos_rng_writel()
56 static int exynos_init(struct hwrng *rng) in exynos_init()
78 static int exynos_read(struct hwrng *rng, void *buf, in exynos_read()
Diproc-rng200.c51 struct hwrng rng; member
55 #define to_rng_priv(rng) container_of(rng, struct iproc_rng200_dev, rng) argument
94 static int iproc_rng200_read(struct hwrng *rng, void *buf, size_t max, in iproc_rng200_read()
155 static int iproc_rng200_init(struct hwrng *rng) in iproc_rng200_init()
169 static void iproc_rng200_cleanup(struct hwrng *rng) in iproc_rng200_cleanup()
Dmxc-rnga.c64 struct hwrng rng; member
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()
Dpasemi-rng.c46 static int pasemi_rng_data_present(struct hwrng *rng, int wait) in pasemi_rng_data_present()
61 static int pasemi_rng_data_read(struct hwrng *rng, u32 *data) in pasemi_rng_data_read()
68 static int pasemi_rng_init(struct hwrng *rng) in pasemi_rng_init()
80 static void pasemi_rng_cleanup(struct hwrng *rng) in pasemi_rng_cleanup()
Dtimeriomem-rng.c48 #define to_rng_priv(rng) \ argument
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()
Dtx4939-rng.c29 struct hwrng rng; member
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()
Dvia-rng.c91 static int via_rng_data_present(struct hwrng *rng, int wait) in via_rng_data_present()
124 static int via_rng_data_read(struct hwrng *rng, u32 *data) in via_rng_data_read()
133 static int via_rng_init(struct hwrng *rng) in via_rng_init()
Dmsm-rng.c48 struct msm_rng *rng = to_msm_rng(hwrng); in msm_rng_enable() local
83 struct msm_rng *rng = to_msm_rng(hwrng); in msm_rng_read() local
137 struct msm_rng *rng; in msm_rng_probe() local
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()
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()
Domap3-rom-rng.c74 static int omap3_rom_rng_data_present(struct hwrng *rng, int wait) in omap3_rom_rng_data_present()
79 static int omap3_rom_rng_data_read(struct hwrng *rng, u32 *data) in omap3_rom_rng_data_read()
Datmel-rng.c27 struct hwrng rng; member
30 static int atmel_trng_read(struct hwrng *rng, void *buf, size_t max, in atmel_trng_read()
Dppc4xx-rng.c31 static int ppc4xx_rng_data_present(struct hwrng *rng, int wait) in ppc4xx_rng_data_present()
47 static int ppc4xx_rng_data_read(struct hwrng *rng, u32 *data) in ppc4xx_rng_data_read()
Domap-rng.c143 static int omap_rng_data_present(struct hwrng *rng, int wait) in omap_rng_data_present()
164 static int omap_rng_data_read(struct hwrng *rng, u32 *data) in omap_rng_data_read()
180 static int omap_rng_init(struct hwrng *rng) in omap_rng_init()
188 static void omap_rng_cleanup(struct hwrng *rng) in omap_rng_cleanup()
Dvirtio-rng.c66 static int virtio_read(struct hwrng *rng, void *buf, size_t size, bool wait) in virtio_read()
92 static void virtio_cleanup(struct hwrng *rng) in virtio_cleanup()
Dtpm-rng.c26 static int tpm_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) in tpm_rng_read()
Dixp4xx-rng.c29 static int ixp4xx_rng_data_read(struct hwrng *rng, u32 *buffer) in ixp4xx_rng_data_read()
Dnomadik-rng.c22 static int nmk_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) in nmk_rng_read()
Dpowernv-rng.c18 static int powernv_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) in powernv_rng_read()
Dxgene-rng.c226 static int xgene_rng_data_present(struct hwrng *rng, int wait) in xgene_rng_data_present()
241 static int xgene_rng_data_read(struct hwrng *rng, u32 *data) in xgene_rng_data_read()
290 static int xgene_rng_init(struct hwrng *rng) in xgene_rng_init()
Dbcm2835-rng.c29 static int bcm2835_rng_read(struct hwrng *rng, void *buf, size_t max, in bcm2835_rng_read()
Dpseries-rng.c28 static int pseries_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) in pseries_rng_read()
Dn2-drv.c387 static int n2rng_data_read(struct hwrng *rng, u32 *data) in n2rng_data_read()
/linux-4.1.27/arch/powerpc/platforms/powernv/
Drng.c36 struct powernv_rng *rng; in powernv_hwrng_present() local
43 static unsigned long rng_whiten(struct powernv_rng *rng, unsigned long val) in rng_whiten()
61 struct powernv_rng *rng; in powernv_get_random_real_mode() local
72 struct powernv_rng *rng; in powernv_get_random_long() local
84 static __init void rng_init_per_cpu(struct powernv_rng *rng, in rng_init_per_cpu()
103 struct powernv_rng *rng; in rng_create() local
/linux-4.1.27/include/linux/
Dserial.h21 __u32 cts, dsr, rng, dcd, tx, rx; member
Dcyclades.h104 __u32 cts, dsr, rng, dcd, tx, rx; member
Dserial_core.h103 __u32 rng; member
Dcrypto.h562 struct rng_alg rng; member
683 struct rng_tfm rng; member
/linux-4.1.27/drivers/crypto/caam/
Dcaamrng.c135 static int caam_read(struct hwrng *rng, void *data, size_t max, bool wait) in caam_read()
241 static void caam_cleanup(struct hwrng *rng) in caam_cleanup()
Dcaamalg.c3386 struct rng_alg rng; member
/linux-4.1.27/arch/arm/boot/dts/
Domap2.dtsi136 rng: rng@480a0000 { label
Dam33xx.dtsi867 rng: rng@48310000 { label
Dste-nomadik-stn8815.dtsi774 rng: rng@101b0000 { label
/linux-4.1.27/crypto/
Drng.c113 struct crypto_rng *rng; in crypto_get_default_rng() local
Dtestmgr.c1706 struct crypto_rng *rng; in alg_test_cprng() local
/linux-4.1.27/arch/arm64/boot/dts/apm/
Dapm-storm.dtsi691 rng: rng@10520000 { label
/linux-4.1.27/drivers/s390/crypto/
Dzcrypt_api.h95 long (*rng)(struct zcrypt_device *, char *); member
Dzcrypt_api.c1352 static int zcrypt_rng_data_read(struct hwrng *rng, u32 *data) in zcrypt_rng_data_read()
/linux-4.1.27/drivers/crypto/ccp/
Dccp-dev.c260 static int ccp_trng_read(struct hwrng *rng, void *data, size_t max, bool wait) in ccp_trng_read()
/linux-4.1.27/drivers/usb/misc/
Dchaoskey.c441 static int chaoskey_rng_read(struct hwrng *rng, void *data, in chaoskey_rng_read()
/linux-4.1.27/include/uapi/linux/
Dserial.h101 int cts, dsr, rng, dcd; member
Dsynclink.h213 __u32 cts, dsr, rng, dcd, tx, rx; member
/linux-4.1.27/drivers/crypto/
Dtalitos.c562 static int talitos_rng_data_present(struct hwrng *rng, int wait) in talitos_rng_data_present()
580 static int talitos_rng_data_read(struct hwrng *rng, u32 *data) in talitos_rng_data_read()
592 static int talitos_rng_init(struct hwrng *rng) in talitos_rng_init()
Dtalitos.h133 struct hwrng rng; member
Dhifn_795x.c460 struct hwrng rng; member
795 static int hifn_rng_data_present(struct hwrng *rng, int wait) in hifn_rng_data_present()
810 static int hifn_rng_data_read(struct hwrng *rng, u32 *data) in hifn_rng_data_read()
/linux-4.1.27/drivers/mmc/card/
Dsdio_uart.c57 __u32 rng; member
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Dcarl9170.h457 struct hwrng rng; member
462 } rng; member
Dmain.c1588 static int carl9170_rng_read(struct hwrng *rng, u32 *data) in carl9170_rng_read()
/linux-4.1.27/drivers/net/wireless/b43legacy/
Db43legacy.h607 struct hwrng rng; member
Dmain.c2431 static int b43legacy_rng_read(struct hwrng *rng, u32 *data) in b43legacy_rng_read()
/linux-4.1.27/drivers/staging/comedi/
Dcomedi.h65 #define CR_PACK(chan, rng, aref) \ argument
/linux-4.1.27/drivers/net/wireless/b43/
Db43.h932 struct hwrng rng; member
Dmain.c3552 static int b43_rng_read(struct hwrng *rng, u32 *data) in b43_rng_read()