Searched refs:hwrng (Results 1 - 25 of 48) sorted by relevance

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Dhw_random.h19 * struct hwrng - Hardware Random Number Generator driver
33 struct hwrng { struct
35 int (*init)(struct hwrng *rng);
36 void (*cleanup)(struct hwrng *rng);
37 int (*data_present)(struct hwrng *rng, int wait);
38 int (*data_read)(struct hwrng *rng, u32 *data);
39 int (*read)(struct hwrng *rng, void *data, size_t max, bool wait);
47 extern int hwrng_register(struct hwrng *rng);
49 extern void hwrng_unregister(struct hwrng *rng);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Dhw_random.h19 * struct hwrng - Hardware Random Number Generator driver
33 struct hwrng { struct
35 int (*init)(struct hwrng *rng);
36 void (*cleanup)(struct hwrng *rng);
37 int (*data_present)(struct hwrng *rng, int wait);
38 int (*data_read)(struct hwrng *rng, u32 *data);
39 int (*read)(struct hwrng *rng, void *data, size_t max, bool wait);
47 extern int hwrng_register(struct hwrng *rng);
49 extern void hwrng_unregister(struct hwrng *rng);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/char/hw_random/
H A Damd-rng.c56 static int amd_rng_data_present(struct hwrng *rng, int wait)
70 static int amd_rng_data_read(struct hwrng *rng, u32 *data)
79 static int amd_rng_init(struct hwrng *rng)
94 static void amd_rng_cleanup(struct hwrng *rng)
104 static struct hwrng amd_rng = {
H A Dpasemi-rng.c45 static int pasemi_rng_data_present(struct hwrng *rng, int wait)
60 static int pasemi_rng_data_read(struct hwrng *rng, u32 *data)
67 static int pasemi_rng_init(struct hwrng *rng)
79 static void pasemi_rng_cleanup(struct hwrng *rng)
89 static struct hwrng pasemi_rng = {
H A Dcore.c52 static struct hwrng *current_rng;
59 static inline int hwrng_init(struct hwrng *rng)
66 static inline void hwrng_cleanup(struct hwrng *rng)
82 static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size,
178 .nodename = "hwrng",
188 struct hwrng *rng;
239 struct hwrng *rng;
298 int hwrng_register(struct hwrng *rng)
302 struct hwrng *old_rng, *tmp;
345 void hwrng_unregister(struct hwrng *rn
[all...]
H A Docteon-rng.c24 struct hwrng ops;
29 static int octeon_rng_init(struct hwrng *rng)
41 static void octeon_rng_cleanup(struct hwrng *rng)
51 static int octeon_rng_data_read(struct hwrng *rng, u32 *data)
65 struct hwrng ops = {
118 struct hwrng *rng = dev_get_drvdata(&pdev->dev);
H A Dgeode-rng.c55 static int geode_rng_data_read(struct hwrng *rng, u32 *data)
64 static int geode_rng_data_present(struct hwrng *rng, int wait)
79 static struct hwrng geode_rng = {
H A Dvirtio-rng.c55 static int virtio_read(struct hwrng *rng, void *buf, size_t size, bool wait)
74 static void virtio_cleanup(struct hwrng *rng)
81 static struct hwrng virtio_hwrng = {
H A Dvia-rng.c91 static int via_rng_data_present(struct hwrng *rng, int wait)
121 static int via_rng_data_read(struct hwrng *rng, u32 *data)
130 static int via_rng_init(struct hwrng *rng)
188 static struct hwrng via_rng = {
H A Dixp4xx-rng.c29 static int ixp4xx_rng_data_read(struct hwrng *rng, u32 *buffer)
38 static struct hwrng ixp4xx_rng_ops = {
H A Dtimeriomem-rng.c42 static int timeriomem_rng_data_present(struct hwrng *rng, int wait)
55 static int timeriomem_rng_data_read(struct hwrng *rng, u32 *data)
84 static struct hwrng timeriomem_rng_ops = {
H A Dn2rng.h80 struct hwrng hwrng; member in struct:n2rng
H A Dnomadik-rng.c23 static int nmk_rng_read(struct hwrng *rng, void *data, size_t max, bool wait)
37 static struct hwrng nmk_rng = {
H A Dmxc-rnga.c63 static int mxc_rnga_data_present(struct hwrng *rng)
75 static int mxc_rnga_data_read(struct hwrng *rng, u32 * data)
98 static int mxc_rnga_init(struct hwrng *rng)
121 static void mxc_rnga_cleanup(struct hwrng *rng)
132 static struct hwrng mxc_rnga = {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/char/hw_random/
H A Damd-rng.c56 static int amd_rng_data_present(struct hwrng *rng, int wait)
70 static int amd_rng_data_read(struct hwrng *rng, u32 *data)
79 static int amd_rng_init(struct hwrng *rng)
94 static void amd_rng_cleanup(struct hwrng *rng)
104 static struct hwrng amd_rng = {
H A Dpasemi-rng.c45 static int pasemi_rng_data_present(struct hwrng *rng, int wait)
60 static int pasemi_rng_data_read(struct hwrng *rng, u32 *data)
67 static int pasemi_rng_init(struct hwrng *rng)
79 static void pasemi_rng_cleanup(struct hwrng *rng)
89 static struct hwrng pasemi_rng = {
H A Dcore.c52 static struct hwrng *current_rng;
59 static inline int hwrng_init(struct hwrng *rng)
66 static inline void hwrng_cleanup(struct hwrng *rng)
82 static inline int rng_get_data(struct hwrng *rng, u8 *buffer, size_t size,
178 .nodename = "hwrng",
188 struct hwrng *rng;
239 struct hwrng *rng;
298 int hwrng_register(struct hwrng *rng)
302 struct hwrng *old_rng, *tmp;
345 void hwrng_unregister(struct hwrng *rn
[all...]
H A Docteon-rng.c24 struct hwrng ops;
29 static int octeon_rng_init(struct hwrng *rng)
41 static void octeon_rng_cleanup(struct hwrng *rng)
51 static int octeon_rng_data_read(struct hwrng *rng, u32 *data)
65 struct hwrng ops = {
118 struct hwrng *rng = dev_get_drvdata(&pdev->dev);
H A Dgeode-rng.c55 static int geode_rng_data_read(struct hwrng *rng, u32 *data)
64 static int geode_rng_data_present(struct hwrng *rng, int wait)
79 static struct hwrng geode_rng = {
H A Dvirtio-rng.c55 static int virtio_read(struct hwrng *rng, void *buf, size_t size, bool wait)
74 static void virtio_cleanup(struct hwrng *rng)
81 static struct hwrng virtio_hwrng = {
H A Dvia-rng.c91 static int via_rng_data_present(struct hwrng *rng, int wait)
121 static int via_rng_data_read(struct hwrng *rng, u32 *data)
130 static int via_rng_init(struct hwrng *rng)
188 static struct hwrng via_rng = {
H A Dixp4xx-rng.c29 static int ixp4xx_rng_data_read(struct hwrng *rng, u32 *buffer)
38 static struct hwrng ixp4xx_rng_ops = {
H A Dtimeriomem-rng.c42 static int timeriomem_rng_data_present(struct hwrng *rng, int wait)
55 static int timeriomem_rng_data_read(struct hwrng *rng, u32 *data)
84 static struct hwrng timeriomem_rng_ops = {
H A Dn2rng.h80 struct hwrng hwrng; member in struct:n2rng
H A Dnomadik-rng.c23 static int nmk_rng_read(struct hwrng *rng, void *data, size_t max, bool wait)
37 static struct hwrng nmk_rng = {

Completed in 110 milliseconds

12