Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/linux/
Dnvmem-consumer.h22 struct nvmem_device;
44 struct nvmem_device *nvmem_device_get(struct device *dev, const char *name);
45 struct nvmem_device *devm_nvmem_device_get(struct device *dev,
47 void nvmem_device_put(struct nvmem_device *nvmem);
48 void devm_nvmem_device_put(struct device *dev, struct nvmem_device *nvmem);
49 int nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset,
51 int nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset,
53 ssize_t nvmem_device_cell_read(struct nvmem_device *nvmem,
55 int nvmem_device_cell_write(struct nvmem_device *nvmem,
98 static inline struct nvmem_device *nvmem_device_get(struct device *dev, in nvmem_device_get()
[all …]
Dnvmem-provider.h18 struct nvmem_device;
72 struct nvmem_device *nvmem_register(const struct nvmem_config *cfg);
73 int nvmem_unregister(struct nvmem_device *nvmem);
75 struct nvmem_device *devm_nvmem_register(struct device *dev,
78 int devm_nvmem_unregister(struct device *dev, struct nvmem_device *nvmem);
80 int nvmem_add_cells(struct nvmem_device *nvmem,
85 static inline struct nvmem_device *nvmem_register(const struct nvmem_config *c) in nvmem_register()
90 static inline int nvmem_unregister(struct nvmem_device *nvmem) in nvmem_unregister()
95 static inline struct nvmem_device *
102 devm_nvmem_unregister(struct device *dev, struct nvmem_device *nvmem) in devm_nvmem_unregister()
[all …]
Ddavinci_emac.h49 void davinci_get_mac_addr(struct nvmem_device *nvmem, void *context);
Drtc.h141 struct nvmem_device *nvmem;
/Linux-v4.19/drivers/nvmem/
Dcore.c28 struct nvmem_device { struct
54 struct nvmem_device *nvmem; argument
68 #define to_nvmem_device(d) container_of(d, struct nvmem_device, dev)
69 static int nvmem_reg_read(struct nvmem_device *nvmem, unsigned int offset, in nvmem_reg_read()
78 static int nvmem_reg_write(struct nvmem_device *nvmem, unsigned int offset, in nvmem_reg_write()
92 struct nvmem_device *nvmem; in bin_attr_nvmem_read()
126 struct nvmem_device *nvmem; in bin_attr_nvmem_write()
251 struct nvmem_device *nvmem = to_nvmem_device(dev); in nvmem_release()
270 static struct nvmem_device *of_nvmem_find(struct device_node *nvmem_np) in of_nvmem_find()
310 static void nvmem_device_remove_all_cells(const struct nvmem_device *nvmem) in nvmem_device_remove_all_cells()
[all …]
Dsunxi_sid.c155 struct nvmem_device *nvmem; in sunxi_sid_probe()
211 struct nvmem_device *nvmem = platform_get_drvdata(pdev); in sunxi_sid_remove()
Dmeson-efuse.c47 struct nvmem_device *nvmem; in meson_efuse_probe()
Duniphier-efuse.c44 struct nvmem_device *nvmem; in uniphier_efuse_probe()
Dlpc18xx_otp.c72 struct nvmem_device *nvmem; in lpc18xx_otp_probe()
Dqfprom.c63 struct nvmem_device *nvmem; in qfprom_probe()
Dmtk-efuse.c56 struct nvmem_device *nvmem; in mtk_efuse_probe()
Dimx-iim.c109 struct nvmem_device *nvmem; in imx_iim_probe()
Dsnvs_lpgpr.c98 struct nvmem_device *nvmem; in snvs_lpgpr_probe()
Dmxs-ocotp.c43 struct nvmem_device *nvmem;
Dvf610-ocotp.c101 struct nvmem_device *nvmem;
Dsc27xx-efuse.c184 struct nvmem_device *nvmem; in sc27xx_efuse_probe()
Dmeson-mx-efuse.c55 struct nvmem_device *nvmem;
Drave-sp-eeprom.c294 struct nvmem_device *nvmem; in rave_sp_eeprom_probe()
Dlpc18xx_eeprom.c51 struct nvmem_device *nvmem;
Dbcm-ocotp.c252 struct nvmem_device *nvmem; in bcm_otpc_probe()
Drockchip-efuse.c262 struct nvmem_device *nvmem; in rockchip_efuse_probe()
/Linux-v4.19/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 …]
/Linux-v4.19/include/linux/platform_data/
Dat24.h56 void (*setup)(struct nvmem_device *nvmem, void *context);
/Linux-v4.19/arch/arm/mach-davinci/
Dcommon.c29 void davinci_get_mac_addr(struct nvmem_device *nvmem, void *context) in davinci_get_mac_addr()
/Linux-v4.19/drivers/thunderbolt/
Dtb.h37 struct nvmem_device *active;
38 struct nvmem_device *non_active;

12