Home
last modified time | relevance | path

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

/linux-6.14.4/Documentation/devicetree/bindings/rng/
Dbrcm,bcm74110-rng.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/rng/brcm,bcm74110-rng.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: BCM74110 Random number generator
10 Random number generator used on the BCM74110.
13 - Markus Mayer <[email protected]>
14 - Florian Fainelli <[email protected]>
19 - brcm,bcm74110-rng
25 - compatible
[all …]
/linux-6.14.4/drivers/char/hw_random/
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.
57 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_AIROHA) += airoha-trng.o
12 obj-$(CONFIG_HW_RANDOM_ATMEL) += atmel-rng.o
13 obj-$(CONFIG_HW_RANDOM_BA431) += ba431-rng.o
[all …]
Dbcm74110-rng.c1 // SPDX-License-Identifier: GPL-2.0
39 static int bcm74110_rng_read(struct hwrng *rng, void *buf, size_t max, in bcm74110_rng_read() argument
42 struct bcm74110_priv *priv = (struct bcm74110_priv *)rng->priv; in bcm74110_rng_read()
43 void __iomem *fc_addr = priv->base + HOST_FIFO_COUNT; in bcm74110_rng_read()
44 void __iomem *fd_addr = priv->base + HOST_FIFO_DATA; in bcm74110_rng_read()
51 * We need to check how many words are available in the RNG FIFO. If in bcm74110_rng_read()
84 struct device *dev = &pdev->dev; in bcm74110_rng_probe()
90 return -ENOMEM; in bcm74110_rng_probe()
92 bcm74110_hwrng.name = pdev->name; in bcm74110_rng_probe()
95 priv->base = devm_platform_ioremap_resource(pdev, 0); in bcm74110_rng_probe()
[all …]