Home
last modified time | relevance | path

Searched +full:nvmem +full:- +full:rmem (Results 1 – 7 of 7) sorted by relevance

/linux-6.14.4/drivers/nvmem/
Drmem.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <linux/nvmem-provider.h>
14 struct rmem { struct
16 struct nvmem_device *nvmem; member
21 int (*checksum)(struct rmem *priv); argument
35 struct rmem *priv = context; in rmem_read()
38 if ((phys_addr_t)offset + bytes > priv->mem->size) in rmem_read()
39 return -EIO; in rmem_read()
44 * uses-cases for this driver, the performance hit isn't a concern. in rmem_read()
45 * Nor is likely to be, given the nature of the subsystem. Most nvmem in rmem_read()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for nvmem drivers.
6 obj-$(CONFIG_NVMEM) += nvmem_core.o
7 nvmem_core-y := core.o
8 obj-$(CONFIG_NVMEM_LAYOUTS) += nvmem_layouts.o
9 nvmem_layouts-y := layouts.o
10 obj-y += layouts/
13 obj-$(CONFIG_NVMEM_APPLE_EFUSES) += nvmem-apple-efuses.o
14 nvmem-apple-efuses-y := apple-efuses.o
15 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig NVMEM config
3 bool "NVMEM Support"
6 Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES...
8 This framework is designed to provide a generic interface to NVMEM
13 if NVMEM
16 bool "/sys/bus/nvmem/devices/*/nvmem (sysfs interface)"
20 Say Y here to add a sysfs interface for NVMEM.
23 read/write directly into nvmem.
27 source "drivers/nvmem/layouts/Kconfig"
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/nvmem/
Drmem.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/rmem.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Reserved Memory Based nvmem Device
10 - Nicolas Saenz Julienne <[email protected]>
13 - $ref: nvmem.yaml#
18 - enum:
19 - mobileye,eyeq5-bootloader-config
20 - raspberrypi,bootloader-config
[all …]
/linux-6.14.4/arch/arm/boot/dts/broadcom/
Dbcm2711-rpi.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "bcm2835-rpi.dtsi"
4 #include <dt-bindings/reset/raspberrypi,firmware-reset.h>
20 i2c0mux: i2c-mux0 {
21 compatible = "i2c-mux-pinctrl";
22 #address-cells = <1>;
23 #size-cells = <0>;
25 i2c-parent = <&i2c0>;
27 pinctrl-names = "i2c0", "i2c0-vc";
28 pinctrl-0 = <&i2c0_gpio0>;
[all …]
/linux-6.14.4/arch/mips/boot/dts/mobileye/
Deyeq5.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
6 #include <dt-bindings/interrupt-controller/mips-gic.h>
8 #include <dt-bindings/clock/mobileye,eyeq5-clk.h>
11 #address-cells = <2>;
12 #size-cells = <2>;
14 #address-cells = <1>;
15 #size-cells = <0>;
24 reserved-memory {
25 #address-cells = <2>;
26 #size-cells = <2>;
[all …]
/linux-6.14.4/drivers/of/
Dplatform.c1 // SPDX-License-Identifier: GPL-2.0+
16 #include <linux/dma-mapping.h>
28 * of_find_device_by_node - Find the platform_device associated with a node
47 BUG_ON(ofdev->dev.of_node == NULL); in of_device_add()
51 ofdev->name = dev_name(&ofdev->dev); in of_device_add()
52 ofdev->id = PLATFORM_DEVID_NONE; in of_device_add()
59 set_dev_node(&ofdev->dev, of_node_to_nid(ofdev->dev.of_node)); in of_device_add()
61 return device_add(&ofdev->dev); in of_device_add()
66 device_initialize(&pdev->dev); in of_device_register()
73 device_unregister(&ofdev->dev); in of_device_unregister()
[all …]