Home
last modified time | relevance | path

Searched +full:ba431 +full:- +full:rng (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/char/hw_random/
Dba431-rng.c1 // SPDX-License-Identifier: GPL-2.0
42 struct hwrng rng; member
47 static inline u32 ba431_trng_read_reg(struct ba431_trng *ba431, u32 reg) in ba431_trng_read_reg() argument
49 return ioread32(ba431->base + reg); in ba431_trng_read_reg()
52 static inline void ba431_trng_write_reg(struct ba431_trng *ba431, u32 reg, in ba431_trng_write_reg() argument
55 iowrite32(val, ba431->base + reg); in ba431_trng_write_reg()
58 static inline enum ba431_state ba431_trng_get_state(struct ba431_trng *ba431) in ba431_trng_get_state() argument
60 u32 status = ba431_trng_read_reg(ba431, BA431_REG_STATUS); in ba431_trng_get_state()
65 static int ba431_trng_is_in_error(struct ba431_trng *ba431) in ba431_trng_is_in_error() argument
67 enum ba431_state state = ba431_trng_get_state(ba431); in ba431_trng_is_in_error()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Hardware Random Number Generator (RNG) configuration
13 module will be called rng-core. This provides a device
28 This driver provides kernel-side support for a generic Random
31 the default FPGA bitstream on the TS-7800 has such functionality.
34 module will be called timeriomem-rng.
43 This driver provides kernel-side support for the Random Number
44 Generator hardware found on Intel i8xx-based motherboards.
47 module will be called intel-rng.
56 This driver provides kernel-side support for the Random Number
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for HW Random Number Generator (RNG) device drivers.
6 obj-$(CONFIG_HW_RANDOM) += rng-core.o
7 rng-core-y := core.o
8 obj-$(CONFIG_HW_RANDOM_TIMERIOMEM) += timeriomem-rng.o
9 obj-$(CONFIG_HW_RANDOM_INTEL) += intel-rng.o
10 obj-$(CONFIG_HW_RANDOM_AMD) += amd-rng.o
11 obj-$(CONFIG_HW_RANDOM_ATMEL) += atmel-rng.o
12 obj-$(CONFIG_HW_RANDOM_BA431) += ba431-rng.o
13 obj-$(CONFIG_HW_RANDOM_GEODE) += geode-rng.o
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/rng/
Dsilex-insight,ba431-rng.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/rng/silex-insight,ba431-rng.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Silex Insight BA431 RNG bindings
10 The BA431 hardware random number generator is an IP that is FIPS-140-2/3
14 - Olivier Sobrie <olivier.sobrie@silexinsight.com>
18 const: silex-insight,ba431-rng
24 - compatible
25 - reg
[all …]