/kernel/linux/linux-5.10/include/linux/ |
H A D | nvmem-consumer.h | 20 struct nvmem_device; 70 struct nvmem_device *nvmem_device_get(struct device *dev, const char *name); 71 struct nvmem_device *devm_nvmem_device_get(struct device *dev, 73 void nvmem_device_put(struct nvmem_device *nvmem); 74 void devm_nvmem_device_put(struct device *dev, struct nvmem_device *nvmem); 75 int nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset, 77 int nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset, 79 ssize_t nvmem_device_cell_read(struct nvmem_device *nvmem, 81 int nvmem_device_cell_write(struct nvmem_device *nvmem, 84 const char *nvmem_dev_name(struct nvmem_device *nvme [all...] |
H A D | nvmem-provider.h | 16 struct nvmem_device; 105 struct nvmem_device *nvmem_register(const struct nvmem_config *cfg); 106 void nvmem_unregister(struct nvmem_device *nvmem); 108 struct nvmem_device *devm_nvmem_register(struct device *dev, 111 int devm_nvmem_unregister(struct device *dev, struct nvmem_device *nvmem); 118 static inline struct nvmem_device *nvmem_register(const struct nvmem_config *c) in nvmem_register() 123 static inline void nvmem_unregister(struct nvmem_device *nvmem) {} in nvmem_unregister() 125 static inline struct nvmem_device * 132 devm_nvmem_unregister(struct device *dev, struct nvmem_device *nvmem) in devm_nvmem_unregister()
|
/kernel/linux/linux-6.6/include/linux/ |
H A 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 *nvme [all...] |
H A D | nvmem-provider.h | 17 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 *nvme [all...] |
/kernel/linux/linux-5.10/drivers/nvmem/ |
H A D | core.c | 22 struct nvmem_device { struct 43 #define to_nvmem_device(d) container_of(d, struct nvmem_device, dev) 54 struct nvmem_device *nvmem; 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() 108 struct nvmem_device *nvmem = to_nvmem_device(dev); in type_show() 125 struct nvmem_device *nvmem; in bin_attr_nvmem_read() 165 struct nvmem_device *nvmem; in bin_attr_nvmem_write() 200 static umode_t nvmem_bin_attr_get_umode(struct nvmem_device *nvmem) in nvmem_bin_attr_get_umode() 223 struct nvmem_device *nvme in nvmem_bin_attr_is_visible() [all...] |
H A D | lpc18xx_otp.c | 69 struct nvmem_device *nvmem; in lpc18xx_otp_probe()
|
H A D | mtk-efuse.c | 35 struct nvmem_device *nvmem; in mtk_efuse_probe()
|
H A D | uniphier-efuse.c | 36 struct nvmem_device *nvmem; in uniphier_efuse_probe()
|
H A D | zynqmp_nvmem.c | 16 struct nvmem_device *nvmem;
|
/kernel/linux/linux-6.6/drivers/nvmem/ |
H A D | core.c | 22 struct nvmem_device { struct 46 #define to_nvmem_device(d) container_of(d, struct nvmem_device, dev) 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 *nvme in bin_attr_nvmem_read() [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 | lpc18xx_otp.c | 68 struct nvmem_device *nvmem; in lpc18xx_otp_probe()
|
H A D | meson-efuse.c | 46 struct nvmem_device *nvmem; in meson_efuse_probe()
|
H A D | sec-qfprom.c | 56 struct nvmem_device *nvmem; in sec_qfprom_probe()
|
H A D | rmem.c | 14 struct nvmem_device *nvmem;
|
H A D | qoriq-efuse.c | 43 struct nvmem_device *nvmem; in qoriq_efuse_probe()
|
/kernel/linux/linux-5.10/drivers/soc/tegra/fuse/ |
H A D | fuse.h | 17 struct nvmem_device; 59 struct nvmem_device *nvmem;
|
/kernel/linux/linux-6.6/drivers/soc/tegra/fuse/ |
H A D | fuse.h | 17 struct nvmem_device; 66 struct nvmem_device *nvmem;
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | nvm.c | 60 struct nvmem_device *nvmem; in tb_nvm_add_active() 125 struct nvmem_device *nvmem; in tb_nvm_add_non_active()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | nvmem.c | 42 struct nvmem_device *nvmem, size_t size) in rtc_nvram_register() 83 struct nvmem_device *nvmem; in rtc_nvmem_register()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | nvmem.c | 17 struct nvmem_device *nvmem; in devm_rtc_nvmem_register()
|
/kernel/linux/linux-5.10/drivers/soc/atmel/ |
H A D | sfr.c | 46 struct nvmem_device *nvmem; in atmel_sfr_probe()
|
/kernel/linux/linux-6.6/drivers/soc/atmel/ |
H A D | sfr.c | 45 struct nvmem_device *nvmem; in atmel_sfr_probe()
|