Home
last modified time | relevance | path

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

123

/Linux-v6.6/include/linux/
Dnvmem-consumer.h20 struct nvmem_device;
69 struct nvmem_device *nvmem_device_get(struct device *dev, const char *name);
70 struct nvmem_device *devm_nvmem_device_get(struct device *dev,
72 void nvmem_device_put(struct nvmem_device *nvmem);
73 void devm_nvmem_device_put(struct device *dev, struct nvmem_device *nvmem);
74 int nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset,
76 int nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset,
78 ssize_t nvmem_device_cell_read(struct nvmem_device *nvmem,
80 int nvmem_device_cell_write(struct nvmem_device *nvmem,
83 const char *nvmem_dev_name(struct nvmem_device *nvmem);
[all …]
Dnvmem-provider.h17 struct nvmem_device;
175 int (*add_cells)(struct device *dev, struct nvmem_device *nvmem,
177 void (*fixup_cell_info)(struct nvmem_device *nvmem,
188 struct nvmem_device *nvmem_register(const struct nvmem_config *cfg);
189 void nvmem_unregister(struct nvmem_device *nvmem);
191 struct nvmem_device *devm_nvmem_register(struct device *dev,
197 int nvmem_add_one_cell(struct nvmem_device *nvmem,
205 const void *nvmem_layout_get_match_data(struct nvmem_device *nvmem,
210 static inline struct nvmem_device *nvmem_register(const struct nvmem_config *c) in nvmem_register()
215 static inline void nvmem_unregister(struct nvmem_device *nvmem) {} in nvmem_unregister()
[all …]
/Linux-v6.6/drivers/nvmem/
Dcore.c22 struct nvmem_device { struct
46 #define to_nvmem_device(d) container_of(d, struct nvmem_device, dev) argument
59 struct nvmem_device *nvmem;
83 static int __nvmem_reg_read(struct nvmem_device *nvmem, unsigned int offset, in __nvmem_reg_read()
92 static int __nvmem_reg_write(struct nvmem_device *nvmem, unsigned int offset, in __nvmem_reg_write()
107 static int nvmem_access_with_keepouts(struct nvmem_device *nvmem, in nvmem_access_with_keepouts()
171 static int nvmem_reg_read(struct nvmem_device *nvmem, unsigned int offset, in nvmem_reg_read()
180 static int nvmem_reg_write(struct nvmem_device *nvmem, unsigned int offset, in nvmem_reg_write()
205 struct nvmem_device *nvmem = to_nvmem_device(dev); in type_show()
222 struct nvmem_device *nvmem; in bin_attr_nvmem_read()
[all …]
Dmtk-efuse.c48 static void mtk_efuse_fixup_cell_info(struct nvmem_device *nvmem, in mtk_efuse_fixup_cell_info()
72 struct nvmem_device *nvmem; in mtk_efuse_probe()
Dqoriq-efuse.c43 struct nvmem_device *nvmem; in qoriq_efuse_probe()
Dzynqmp_nvmem.c16 struct nvmem_device *nvmem;
Duniphier-efuse.c36 struct nvmem_device *nvmem; in uniphier_efuse_probe()
Dlpc18xx_otp.c68 struct nvmem_device *nvmem; in lpc18xx_otp_probe()
Drmem.c14 struct nvmem_device *nvmem;
Dsec-qfprom.c56 struct nvmem_device *nvmem; in sec_qfprom_probe()
Dlayerscape-sfp.c50 struct nvmem_device *nvmem; in layerscape_sfp_probe()
Dmeson-efuse.c46 struct nvmem_device *nvmem; in meson_efuse_probe()
Dnintendo-otp.c79 struct nvmem_device *nvmem; in nintendo_otp_probe()
Dimx-iim.c100 struct nvmem_device *nvmem; in imx_iim_probe()
Dsnvs_lpgpr.c96 struct nvmem_device *nvmem; in snvs_lpgpr_probe()
Dmxs-ocotp.c33 struct nvmem_device *nvmem;
/Linux-v6.6/Documentation/driver-api/
Dnvmem.rst42 nvmem_device pointer.
125 struct nvmem_device *nvmem_device_get(struct device *dev, const char *name);
126 struct nvmem_device *devm_nvmem_device_get(struct device *dev,
128 struct nvmem_device *nvmem_device_find(void *data,
130 void nvmem_device_put(struct nvmem_device *nvmem);
131 int nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset,
133 int nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset,
135 int nvmem_device_cell_read(struct nvmem_device *nvmem,
137 int nvmem_device_cell_write(struct nvmem_device *nvmem,
144 take nvmem_device as parameter.
[all …]
/Linux-v6.6/drivers/soc/tegra/fuse/
Dfuse.h17 struct nvmem_device;
66 struct nvmem_device *nvmem;
/Linux-v6.6/drivers/nvmem/layouts/
Dsl28vpd.c56 static int sl28vpd_v1_check_crc(struct device *dev, struct nvmem_device *nvmem) in sl28vpd_v1_check_crc()
83 static int sl28vpd_add_cells(struct device *dev, struct nvmem_device *nvmem, in sl28vpd_add_cells()
Donie-tlv.c98 static int onie_tlv_add_cells(struct device *dev, struct nvmem_device *nvmem, in onie_tlv_add_cells()
185 static int onie_tlv_parse_table(struct device *dev, struct nvmem_device *nvmem, in onie_tlv_parse_table()
/Linux-v6.6/drivers/rtc/
Dnvmem.c17 struct nvmem_device *nvmem; in devm_rtc_nvmem_register()
/Linux-v6.6/drivers/soc/ti/
Dpm33xx.c276 struct nvmem_device *nvmem; in am33xx_pm_begin()
306 struct nvmem_device *nvmem; in am33xx_pm_end()
440 struct nvmem_device *nvmem; in am33xx_pm_rtc_setup()
/Linux-v6.6/drivers/soc/atmel/
Dsfr.c45 struct nvmem_device *nvmem; in atmel_sfr_probe()
/Linux-v6.6/include/linux/mtd/
Dmtd.h384 struct nvmem_device *nvmem;
385 struct nvmem_device *otp_user_nvmem;
386 struct nvmem_device *otp_factory_nvmem;
/Linux-v6.6/drivers/thunderbolt/
Dnvm.c431 struct nvmem_device *nvmem; in tb_nvm_add_active()
496 struct nvmem_device *nvmem; in tb_nvm_add_non_active()

123