Searched full:ba431 (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/char/hw_random/ |
D | ba431-rng.c | 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() 76 static int ba431_trng_reset(struct ba431_trng *ba431) in ba431_trng_reset() argument 81 ba431_trng_write_reg(ba431, BA431_REG_CTRL, BA431_CTRL_SOFTRESET); in ba431_trng_reset() [all …]
|
D | Kconfig | 78 tristate "Silex Insight BA431 Random Number Generator support" 82 Generator hardware based on Silex Insight BA431 IP. 85 module will be called ba431-rng.
|
D | Makefile | 12 obj-$(CONFIG_HW_RANDOM_BA431) += ba431-rng.o
|
/Linux-v5.10/Documentation/devicetree/bindings/rng/ |
D | silex-insight,ba431-rng.yaml | 4 $id: http://devicetree.org/schemas/rng/silex-insight,ba431-rng.yaml# 7 title: Silex Insight BA431 RNG bindings 10 The BA431 hardware random number generator is an IP that is FIPS-140-2/3 18 const: silex-insight,ba431-rng 32 compatible = "silex-insight,ba431-rng";
|