/openbmc/linux/include/linux/ |
H A D | nvmem-consumer.h | 20 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 D | nvmem-provider.h | 17 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 D | core.c | 22 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 D | mtk-efuse.c | 48 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 D | u-boot-env.c | 26 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 D | qoriq-efuse.c | 43 struct nvmem_device *nvmem; in qoriq_efuse_probe()
|
H A D | zynqmp_nvmem.c | 16 struct nvmem_device *nvmem;
|
H A D | uniphier-efuse.c | 36 struct nvmem_device *nvmem; in uniphier_efuse_probe()
|
H A D | lpc18xx_otp.c | 68 struct nvmem_device *nvmem; in lpc18xx_otp_probe()
|
H A D | sec-qfprom.c | 57 struct nvmem_device *nvmem; in sec_qfprom_probe()
|
H A D | rmem.c | 14 struct nvmem_device *nvmem;
|
H A D | layerscape-sfp.c | 50 struct nvmem_device *nvmem; in layerscape_sfp_probe()
|
H A D | nintendo-otp.c | 79 struct nvmem_device *nvmem; in nintendo_otp_probe()
|
H A D | meson-efuse.c | 52 struct nvmem_device *nvmem; in meson_efuse_probe()
|
H A D | imx-iim.c | 100 struct nvmem_device *nvmem; in imx_iim_probe()
|
H A D | snvs_lpgpr.c | 96 struct nvmem_device *nvmem; in snvs_lpgpr_probe()
|
H A D | mxs-ocotp.c | 33 struct nvmem_device *nvmem;
|
/openbmc/linux/Documentation/driver-api/ |
H A D | nvmem.rst | 42 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 D | fuse.h | 17 struct nvmem_device; 66 struct nvmem_device *nvmem;
|
/openbmc/linux/drivers/nvmem/layouts/ |
H A D | sl28vpd.c | 56 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 D | onie-tlv.c | 98 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 D | nvmem.c | 17 struct nvmem_device *nvmem; in devm_rtc_nvmem_register()
|
/openbmc/linux/drivers/soc/ti/ |
H A D | pm33xx.c | 276 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 D | sfr.c | 45 struct nvmem_device *nvmem; in atmel_sfr_probe()
|
/openbmc/linux/include/linux/mtd/ |
H A D | mtd.h | 384 struct nvmem_device *nvmem; 385 struct nvmem_device *otp_user_nvmem; 386 struct nvmem_device *otp_factory_nvmem;
|