Home
last modified time | relevance | path

Searched refs:nvmem_device (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/include/linux/
Dnvmem-consumer.h19 struct nvmem_device;
40 struct nvmem_device *nvmem_device_get(struct device *dev, const char *name);
41 struct nvmem_device *devm_nvmem_device_get(struct device *dev,
43 void nvmem_device_put(struct nvmem_device *nvmem);
44 void devm_nvmem_device_put(struct device *dev, struct nvmem_device *nvmem);
45 int nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset,
47 int nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset,
49 ssize_t nvmem_device_cell_read(struct nvmem_device *nvmem,
51 int nvmem_device_cell_write(struct nvmem_device *nvmem,
88 static inline struct nvmem_device *nvmem_device_get(struct device *dev, in nvmem_device_get()
[all …]
Dnvmem-provider.h15 struct nvmem_device;
30 struct nvmem_device *nvmem_register(const struct nvmem_config *cfg);
31 int nvmem_unregister(struct nvmem_device *nvmem);
35 static inline struct nvmem_device *nvmem_register(const struct nvmem_config *c) in nvmem_register()
40 static inline int nvmem_unregister(struct nvmem_device *nvmem) in nvmem_unregister()
/linux-4.4.14/drivers/nvmem/
Dcore.c29 struct nvmem_device { struct
49 struct nvmem_device *nvmem; argument
59 #define to_nvmem_device(d) container_of(d, struct nvmem_device, dev)
66 struct nvmem_device *nvmem = to_nvmem_device(dev); in bin_attr_nvmem_read()
91 struct nvmem_device *nvmem = to_nvmem_device(dev); in bin_attr_nvmem_write()
160 struct nvmem_device *nvmem = to_nvmem_device(dev); in nvmem_release()
179 static struct nvmem_device *of_nvmem_find(struct device_node *nvmem_np) in of_nvmem_find()
213 static void nvmem_device_remove_all_cells(const struct nvmem_device *nvmem) in nvmem_device_remove_all_cells()
232 static int nvmem_cell_info_to_nvmem_cell(struct nvmem_device *nvmem, in nvmem_cell_info_to_nvmem_cell()
258 static int nvmem_add_cells(struct nvmem_device *nvmem, in nvmem_add_cells()
[all …]
Dqfprom.c33 struct nvmem_device *nvmem = platform_get_drvdata(pdev); in qfprom_remove()
42 struct nvmem_device *nvmem; in qfprom_probe()
Dimx-ocotp.c104 struct nvmem_device *nvmem; in imx_ocotp_probe()
137 struct nvmem_device *nvmem = platform_get_drvdata(pdev); in imx_ocotp_remove()
Dsunxi_sid.c103 struct nvmem_device *nvmem; in sunxi_sid_probe()
156 struct nvmem_device *nvmem = platform_get_drvdata(pdev); in sunxi_sid_remove()
Drockchip-efuse.c126 struct nvmem_device *nvmem; in rockchip_efuse_probe()
170 struct nvmem_device *nvmem = platform_get_drvdata(pdev); in rockchip_efuse_remove()
Dmxs-ocotp.c44 struct nvmem_device *nvmem;
Dvf610-ocotp.c102 struct nvmem_device *nvmem;
/linux-4.4.14/Documentation/nvmem/
Dnvmem.txt39 nvmem_device pointer.
93 struct nvmem_device *nvmem_device_get(struct device *dev, const char *name);
94 struct nvmem_device *devm_nvmem_device_get(struct device *dev,
96 void nvmem_device_put(struct nvmem_device *nvmem);
97 int nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset,
99 int nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset,
101 int nvmem_device_cell_read(struct nvmem_device *nvmem,
103 int nvmem_device_cell_write(struct nvmem_device *nvmem,
110 take nvmem_device as parameter.
121 void nvmem_device_put(struct nvmem_device *nvmem);
[all …]