Home
last modified time | relevance | path

Searched +full:meson +full:- +full:rng (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/rng/
Damlogic,meson-rng.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/rng/amlogic,meson-rng.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Amlogic Meson Random number generator
11 - Neil Armstrong <narmstrong@baylibre.com>
16 - amlogic,meson-rng
24 clock-names:
26 - const: core
29 - compatible
[all …]
/kernel/linux/linux-5.10/drivers/char/hw_random/
Dmeson-rng.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
22 struct hwrng rng; member
26 static int meson_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) in meson_rng_read() argument
29 container_of(rng, struct meson_rng_data, rng); in meson_rng_read()
31 *(u32 *)buf = readl_relaxed(data->base + RNG_DATA); in meson_rng_read()
43 struct device *dev = &pdev->dev; in meson_rng_probe()
49 return -ENOMEM; in meson_rng_probe()
51 data->pdev = pdev; in meson_rng_probe()
53 data->base = devm_platform_ioremap_resource(pdev, 0); in meson_rng_probe()
54 if (IS_ERR(data->base)) in meson_rng_probe()
[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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/rng/
Damlogic,meson-rng.txt1 Amlogic Meson Random number generator
6 - compatible : should be "amlogic,meson-rng"
7 - reg : Specifies base physical address and size of the registers.
11 - clocks : phandle to the following named clocks
12 - clock-names: Name of core clock, must be "core"
16 rng {
17 compatible = "amlogic,meson-rng";
20 clock-names = "core";
/kernel/linux/linux-4.19/drivers/char/hw_random/
Dmeson-rng.c72 struct hwrng rng; member
76 static int meson_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) in meson_rng_read() argument
79 container_of(rng, struct meson_rng_data, rng); in meson_rng_read()
81 *(u32 *)buf = readl_relaxed(data->base + RNG_DATA); in meson_rng_read()
93 struct device *dev = &pdev->dev; in meson_rng_probe()
100 return -ENOMEM; in meson_rng_probe()
102 data->pdev = pdev; in meson_rng_probe()
105 data->base = devm_ioremap_resource(dev, res); in meson_rng_probe()
106 if (IS_ERR(data->base)) in meson_rng_probe()
107 return PTR_ERR(data->base); in meson_rng_probe()
[all …]
DKconfig2 # Hardware Random Number Generator (RNG) configuration
8 ---help---
12 module will be called rng-core. This provides a device
26 ---help---
27 This driver provides kernel-side support for a generic Random
30 the default FPGA bitstream on the TS-7800 has such functionality.
33 module will be called timeriomem-rng.
41 ---help---
42 This driver provides kernel-side support for the Random Number
43 Generator hardware found on Intel i8xx-based motherboards.
[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_GEODE) += geode-rng.o
13 obj-$(CONFIG_HW_RANDOM_N2RNG) += n2-rng.o
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dmeson.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
12 interrupt-parent = <&gic>;
15 compatible = "simple-bus";
16 #address-cells = <1>;
17 #size-cells = <1>;
21 compatible = "simple-bus";
[all …]
Dmeson8.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 #include <dt-bindings/clock/meson8-ddr-clkc.h>
7 #include <dt-bindings/clock/meson8b-clkc.h>
8 #include <dt-bindings/gpio/meson8-gpio.h>
9 #include <dt-bindings/power/meson8-power.h>
10 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
11 #include <dt-bindings/reset/amlogic,meson8b-reset.h>
12 #include "meson.dtsi"
19 #address-cells = <1>;
20 #size-cells = <0>;
[all …]
Dmeson8b.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
7 #include <dt-bindings/clock/meson8-ddr-clkc.h>
8 #include <dt-bindings/clock/meson8b-clkc.h>
9 #include <dt-bindings/gpio/meson8b-gpio.h>
10 #include <dt-bindings/power/meson8-power.h>
11 #include <dt-bindings/reset/amlogic,meson8b-reset.h>
12 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
13 #include "meson.dtsi"
17 #address-cells = <1>;
18 #size-cells = <0>;
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dmeson.dtsi4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include <dt-bindings/interrupt-controller/irq.h>
49 #include <dt-bindings/interrupt-controller/arm-gic.h>
53 interrupt-parent = <&gic>;
55 L2: l2-cache-controller@c4200000 {
56 compatible = "arm,pl310-cache";
58 cache-unified;
59 cache-level = <2>;
62 gic: interrupt-controller@c4301000 {
[all …]
Dmeson8b.dtsi5 * This file is dual-licensed: you can use it either under the terms
47 #include <dt-bindings/clock/meson8b-clkc.h>
48 #include <dt-bindings/gpio/meson8b-gpio.h>
49 #include <dt-bindings/reset/amlogic,meson8b-reset.h>
50 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
51 #include "meson.dtsi"
55 #address-cells = <1>;
56 #size-cells = <0>;
60 compatible = "arm,cortex-a5";
61 next-level-cache = <&L2>;
[all …]
Dmeson8.dtsi4 * This file is dual-licensed: you can use it either under the terms
46 #include <dt-bindings/clock/meson8b-clkc.h>
47 #include <dt-bindings/gpio/meson8-gpio.h>
48 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
49 #include <dt-bindings/reset/amlogic,meson8b-reset.h>
50 #include "meson.dtsi"
57 #address-cells = <1>;
58 #size-cells = <0>;
62 compatible = "arm,cortex-a9";
63 next-level-cache = <&L2>;
[all …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/amlogic/
Dmeson-gx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
17 interrupt-parent = <&gic>;
18 #address-cells = <2>;
19 #size-cells = <2>;
21 reserved-memory {
22 #address-cells = <2>;
23 #size-cells = <2>;
[all …]
Dmeson-axg.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/clock/axg-audio-clkc.h>
10 #include <dt-bindings/clock/axg-clkc.h>
11 #include <dt-bindings/clock/axg-aoclkc.h>
12 #include <dt-bindings/gpio/meson-axg-gpio.h>
13 #include <dt-bindings/reset/amlogic,meson-axg-reset.h>
16 compatible = "amlogic,meson-axg";
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/
Dmeson-gx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/power/meson-gxbb-power.h>
16 #include <dt-bindings/thermal/thermal.h>
19 interrupt-parent = <&gic>;
20 #address-cells = <2>;
21 #size-cells = <2>;
23 reserved-memory {
[all …]
Dmeson-axg.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/axg-aoclkc.h>
7 #include <dt-bindings/clock/axg-audio-clkc.h>
8 #include <dt-bindings/clock/axg-clkc.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/gpio/meson-axg-gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h>
14 #include <dt-bindings/reset/amlogic,meson-axg-reset.h>
[all …]
Dmeson-g12-common.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/phy/phy.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/clock/g12a-clkc.h>
9 #include <dt-bindings/clock/g12a-aoclkc.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h>
13 #include <dt-bindings/thermal/thermal.h>
16 interrupt-parent = <&gic>;
[all …]
/kernel/linux/linux-5.10/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]
/kernel/linux/linux-4.19/
DMAINTAINERS28 'diff -u' to make the patch easy to merge. Be prepared to get your
38 See Documentation/process/coding-style.rst for guidance here.
44 See Documentation/process/submitting-patches.rst for details.
55 include a Signed-off-by: line. The current version of this
57 Documentation/process/submitting-patches.rst.
68 that the bug would present a short-term risk to other users if it
84 W: Web-page with status/info
85 B: URI for where to file bugs. A web-page with detailed bug
109 N: [^a-z]tegra all files whose path contains the word tegra
137 -----------------------------------
[all …]