Home
last modified time | relevance | path

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

123

/openbmc/linux/include/linux/
H A Dnvmem-consumer.h20 struct nvmem_device;
70 struct nvmem_device *devm_nvmem_device_get(struct device *dev,
72 void nvmem_device_put(struct nvmem_device *nvmem);
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);
84 size_t nvmem_dev_size(struct nvmem_device *nvmem);
94 struct nvmem_device *nvmem_device_find(void *data,
175 static inline void nvmem_device_put(struct nvmem_device *nvmem) in nvmem_device_put()
180 struct nvmem_device *nvmem) in devm_nvmem_device_put()
[all …]
H A Dnvmem-provider.h17 struct nvmem_device;
177 int (*add_cells)(struct device *dev, struct nvmem_device *nvmem,
179 void (*fixup_cell_info)(struct nvmem_device *nvmem,
191 void nvmem_unregister(struct nvmem_device *nvmem);
193 struct nvmem_device *devm_nvmem_register(struct device *dev,
199 int nvmem_add_one_cell(struct nvmem_device *nvmem,
207 const void *nvmem_layout_get_match_data(struct nvmem_device *nvmem,
217 static inline void nvmem_unregister(struct nvmem_device *nvmem) {} in nvmem_unregister()
219 static inline struct nvmem_device *
227 static inline int nvmem_add_one_cell(struct nvmem_device *nvmem, in nvmem_add_one_cell()
[all …]
/openbmc/linux/drivers/nvmem/
H A Dcore.c22 struct nvmem_device { struct
59 struct nvmem_device *nvmem;
222 struct nvmem_device *nvmem; in bin_attr_nvmem_read()
262 struct nvmem_device *nvmem; in bin_attr_nvmem_write()
889 struct nvmem_device *nvmem; in nvmem_register()
1044 struct nvmem_device *nvmem; in nvmem_device_release()
1089 struct nvmem_device *nvmem; in devm_nvmem_register()
1153 struct nvmem_device *nvmem; in of_nvmem_device_get()
1182 struct nvmem_device *nvmem; in nvmem_device_get()
1316 struct nvmem_device *nvmem; in nvmem_cell_get_from_lookup()
[all …]
H A 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()
H A Du-boot-env.c26 struct nvmem_device *nvmem;
94 struct nvmem_device *nvmem = priv->nvmem; in u_boot_env_add_cells()
130 struct nvmem_device *nvmem = priv->nvmem; in u_boot_env_parse()
H A Dqoriq-efuse.c43 struct nvmem_device *nvmem; in qoriq_efuse_probe()
H A Dzynqmp_nvmem.c16 struct nvmem_device *nvmem;
H A Duniphier-efuse.c36 struct nvmem_device *nvmem; in uniphier_efuse_probe()
H A Dlpc18xx_otp.c68 struct nvmem_device *nvmem; in lpc18xx_otp_probe()
H A Dsec-qfprom.c57 struct nvmem_device *nvmem; in sec_qfprom_probe()
H A Drmem.c14 struct nvmem_device *nvmem;
H A Dlayerscape-sfp.c50 struct nvmem_device *nvmem; in layerscape_sfp_probe()
H A Dnintendo-otp.c79 struct nvmem_device *nvmem; in nintendo_otp_probe()
H A Dmeson-efuse.c52 struct nvmem_device *nvmem; in meson_efuse_probe()
H A Dimx-iim.c100 struct nvmem_device *nvmem; in imx_iim_probe()
H A Dsnvs_lpgpr.c96 struct nvmem_device *nvmem; in snvs_lpgpr_probe()
H A Dmxs-ocotp.c33 struct nvmem_device *nvmem;
/openbmc/linux/Documentation/driver-api/
H A Dnvmem.rst42 nvmem_device pointer.
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.
155 void nvmem_device_put(struct nvmem_device *nvmem);
[all …]
/openbmc/linux/drivers/soc/tegra/fuse/
H A Dfuse.h17 struct nvmem_device;
66 struct nvmem_device *nvmem;
/openbmc/linux/drivers/nvmem/layouts/
H A 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()
H A 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()
/openbmc/linux/drivers/rtc/
H A Dnvmem.c17 struct nvmem_device *nvmem; in devm_rtc_nvmem_register()
/openbmc/linux/drivers/soc/ti/
H A 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()
/openbmc/linux/drivers/soc/atmel/
H A Dsfr.c45 struct nvmem_device *nvmem; in atmel_sfr_probe()
/openbmc/linux/include/linux/mtd/
H A Dmtd.h384 struct nvmem_device *nvmem;
385 struct nvmem_device *otp_user_nvmem;
386 struct nvmem_device *otp_factory_nvmem;

123