Searched +full:nvmem +full:- +full:rmem (Results 1 – 7 of 7) sorted by relevance
1 // SPDX-License-Identifier: GPL-2.0+9 #include <linux/nvmem-provider.h>14 struct rmem { struct16 struct nvmem_device *nvmem; member21 int (*checksum)(struct rmem *priv); argument35 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 …]
1 # SPDX-License-Identifier: GPL-2.03 # Makefile for nvmem drivers.6 obj-$(CONFIG_NVMEM) += nvmem_core.o7 nvmem_core-y := core.o8 obj-$(CONFIG_NVMEM_LAYOUTS) += nvmem_layouts.o9 nvmem_layouts-y := layouts.o10 obj-y += layouts/13 obj-$(CONFIG_NVMEM_APPLE_EFUSES) += nvmem-apple-efuses.o14 nvmem-apple-efuses-y := apple-efuses.o15 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o[all …]
1 # SPDX-License-Identifier: GPL-2.0-only2 menuconfig NVMEM config3 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 NVMEM13 if NVMEM16 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 …]
1 # 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 Device10 - Nicolas Saenz Julienne <[email protected]>13 - $ref: nvmem.yaml#18 - enum:19 - mobileye,eyeq5-bootloader-config20 - raspberrypi,bootloader-config[all …]
1 // SPDX-License-Identifier: GPL-2.02 #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 …]
1 // 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 …]
1 // 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 node47 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 …]