/linux-6.12.1/include/linux/ |
D | nvmem-consumer.h | 20 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 …]
|
D | nvmem-provider.h | 18 struct nvmem_device; 119 void (*fixup_dt_cell_info)(struct nvmem_device *nvmem, 175 struct nvmem_device *nvmem; 187 struct nvmem_device *nvmem_register(const struct nvmem_config *cfg); 188 void nvmem_unregister(struct nvmem_device *nvmem); 190 struct nvmem_device *devm_nvmem_register(struct device *dev, 196 int nvmem_add_one_cell(struct nvmem_device *nvmem, 213 static inline struct nvmem_device *nvmem_register(const struct nvmem_config *c) in nvmem_register() 218 static inline void nvmem_unregister(struct nvmem_device *nvmem) {} in nvmem_unregister() 220 static inline struct nvmem_device * [all …]
|
/linux-6.12.1/drivers/nvmem/ |
D | core.c | 24 #define to_nvmem_device(d) container_of(d, struct nvmem_device, dev) 37 struct nvmem_device *nvmem; 58 static int __nvmem_reg_read(struct nvmem_device *nvmem, unsigned int offset, in __nvmem_reg_read() 67 static int __nvmem_reg_write(struct nvmem_device *nvmem, unsigned int offset, in __nvmem_reg_write() 82 static int nvmem_access_with_keepouts(struct nvmem_device *nvmem, in nvmem_access_with_keepouts() 146 static int nvmem_reg_read(struct nvmem_device *nvmem, unsigned int offset, in nvmem_reg_read() 155 static int nvmem_reg_write(struct nvmem_device *nvmem, unsigned int offset, in nvmem_reg_write() 180 struct nvmem_device *nvmem = to_nvmem_device(dev); in type_show() 190 struct nvmem_device *nvmem = to_nvmem_device(dev); in force_ro_show() 198 struct nvmem_device *nvmem = to_nvmem_device(dev); in force_ro_store() [all …]
|
D | internals.h | 10 struct nvmem_device { struct 26 void (*fixup_dt_cell_info)(struct nvmem_device *nvmem, argument 41 int nvmem_populate_layout(struct nvmem_device *nvmem); argument 42 void nvmem_destroy_layout(struct nvmem_device *nvmem); 51 static inline int nvmem_populate_layout(struct nvmem_device *nvmem) in nvmem_populate_layout() 56 static inline void nvmem_destroy_layout(struct nvmem_device *nvmem) { } in nvmem_destroy_layout()
|
D | layouts.c | 79 static int nvmem_layout_create_device(struct nvmem_device *nvmem, in nvmem_layout_create_device() 120 static int nvmem_layout_bus_populate(struct nvmem_device *nvmem, in nvmem_layout_bus_populate() 155 struct device_node *of_nvmem_layout_get_container(struct nvmem_device *nvmem) in of_nvmem_layout_get_container() 165 int nvmem_populate_layout(struct nvmem_device *nvmem) in nvmem_populate_layout() 183 void nvmem_destroy_layout(struct nvmem_device *nvmem) in nvmem_destroy_layout()
|
D | mtk-efuse.c | 48 static void mtk_efuse_fixup_dt_cell_info(struct nvmem_device *nvmem, in mtk_efuse_fixup_dt_cell_info() 67 struct nvmem_device *nvmem; in mtk_efuse_probe()
|
D | qoriq-efuse.c | 43 struct nvmem_device *nvmem; in qoriq_efuse_probe()
|
D | uniphier-efuse.c | 36 struct nvmem_device *nvmem; in uniphier_efuse_probe()
|
D | lpc18xx_otp.c | 68 struct nvmem_device *nvmem; in lpc18xx_otp_probe()
|
D | sec-qfprom.c | 57 struct nvmem_device *nvmem; in sec_qfprom_probe()
|
D | rmem.c | 14 struct nvmem_device *nvmem;
|
D | layerscape-sfp.c | 50 struct nvmem_device *nvmem; in layerscape_sfp_probe()
|
D | meson-efuse.c | 51 struct nvmem_device *nvmem; in meson_efuse_probe()
|
D | nintendo-otp.c | 79 struct nvmem_device *nvmem; in nintendo_otp_probe()
|
D | u-boot-env.c | 18 struct nvmem_device *nvmem;
|
D | imx-iim.c | 100 struct nvmem_device *nvmem; in imx_iim_probe()
|
/linux-6.12.1/Documentation/driver-api/ |
D | nvmem.rst | 42 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-6.12.1/drivers/soc/tegra/fuse/ |
D | fuse.h | 17 struct nvmem_device; 66 struct nvmem_device *nvmem;
|
/linux-6.12.1/drivers/nvmem/layouts/ |
D | sl28vpd.c | 56 static int sl28vpd_v1_check_crc(struct device *dev, struct nvmem_device *nvmem) in sl28vpd_v1_check_crc() 85 struct nvmem_device *nvmem = layout->nvmem; in sl28vpd_add_cells()
|
D | u-boot-env.h | 12 int u_boot_env_parse(struct device *dev, struct nvmem_device *nvmem,
|
D | u-boot-env.c | 54 static int u_boot_env_parse_cells(struct device *dev, struct nvmem_device *nvmem, uint8_t *buf, in u_boot_env_parse_cells() 89 int u_boot_env_parse(struct device *dev, struct nvmem_device *nvmem, in u_boot_env_parse()
|
D | onie-tlv.c | 98 static int onie_tlv_add_cells(struct device *dev, struct nvmem_device *nvmem, in onie_tlv_add_cells() 187 struct nvmem_device *nvmem = layout->nvmem; in onie_tlv_parse_table()
|
/linux-6.12.1/drivers/rtc/ |
D | nvmem.c | 17 struct nvmem_device *nvmem; in devm_rtc_nvmem_register()
|
/linux-6.12.1/drivers/soc/ti/ |
D | pm33xx.c | 276 struct nvmem_device *nvmem; in am33xx_pm_begin() 306 struct nvmem_device *nvmem; in am33xx_pm_end() 430 struct nvmem_device *nvmem; in am33xx_pm_rtc_setup()
|
/linux-6.12.1/drivers/soc/atmel/ |
D | sfr.c | 45 struct nvmem_device *nvmem; in atmel_sfr_probe()
|