/kernel/linux/linux-5.10/drivers/misc/eeprom/ |
D | at25.c | 32 struct nvmem_config nvmem_config; member 351 at25->nvmem_config.type = NVMEM_TYPE_EEPROM; in at25_probe() 352 at25->nvmem_config.name = dev_name(&spi->dev); in at25_probe() 353 at25->nvmem_config.dev = &spi->dev; in at25_probe() 354 at25->nvmem_config.read_only = chip.flags & EE_READONLY; in at25_probe() 355 at25->nvmem_config.root_only = true; in at25_probe() 356 at25->nvmem_config.owner = THIS_MODULE; in at25_probe() 357 at25->nvmem_config.compat = true; in at25_probe() 358 at25->nvmem_config.base_dev = &spi->dev; in at25_probe() 359 at25->nvmem_config.reg_read = at25_ee_read; in at25_probe() [all …]
|
D | eeprom_93xx46.c | 46 struct nvmem_config nvmem_config; member 473 edev->nvmem_config.type = NVMEM_TYPE_EEPROM; in eeprom_93xx46_probe() 474 edev->nvmem_config.name = dev_name(&spi->dev); in eeprom_93xx46_probe() 475 edev->nvmem_config.dev = &spi->dev; in eeprom_93xx46_probe() 476 edev->nvmem_config.read_only = pd->flags & EE_READONLY; in eeprom_93xx46_probe() 477 edev->nvmem_config.root_only = true; in eeprom_93xx46_probe() 478 edev->nvmem_config.owner = THIS_MODULE; in eeprom_93xx46_probe() 479 edev->nvmem_config.compat = true; in eeprom_93xx46_probe() 480 edev->nvmem_config.base_dev = &spi->dev; in eeprom_93xx46_probe() 481 edev->nvmem_config.reg_read = eeprom_93xx46_read; in eeprom_93xx46_probe() [all …]
|
D | at24.c | 591 struct nvmem_config nvmem_config = { }; in at24_probe() local 723 nvmem_config.id = NVMEM_DEVID_AUTO; in at24_probe() 727 &nvmem_config.name); in at24_probe() 731 nvmem_config.name = dev_name(dev); in at24_probe() 734 nvmem_config.type = NVMEM_TYPE_EEPROM; in at24_probe() 735 nvmem_config.dev = dev; in at24_probe() 736 nvmem_config.read_only = !writable; in at24_probe() 737 nvmem_config.root_only = !(flags & AT24_FLAG_IRUGO); in at24_probe() 738 nvmem_config.owner = THIS_MODULE; in at24_probe() 739 nvmem_config.compat = true; in at24_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/rtc/ |
D | nvmem.c | 81 struct nvmem_config *nvmem_config) in rtc_nvmem_register() argument 85 if (!nvmem_config) in rtc_nvmem_register() 88 nvmem_config->dev = rtc->dev.parent; in rtc_nvmem_register() 89 nvmem_config->owner = rtc->owner; in rtc_nvmem_register() 90 nvmem = devm_nvmem_register(rtc->dev.parent, nvmem_config); in rtc_nvmem_register() 96 rtc_nvram_register(rtc, nvmem, nvmem_config->size); in rtc_nvmem_register()
|
D | rtc-isl1208.c | 113 struct nvmem_config nvmem_config; member 772 static const struct nvmem_config isl1208_nvmem_config = { 836 isl1208->nvmem_config = isl1208_nvmem_config; in isl1208_probe() 837 isl1208->nvmem_config.size = isl1208->config->nvmem_length; in isl1208_probe() 838 isl1208->nvmem_config.priv = isl1208; in isl1208_probe() 893 rc = rtc_nvmem_register(isl1208->rtc, &isl1208->nvmem_config); in isl1208_probe()
|
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/ |
D | adm1266.c | 58 struct nvmem_config nvmem_config; member 384 if (offset + bytes > data->nvmem_config.size) in adm1266_nvmem_read() 388 memset(data->dev_mem, 0, data->nvmem_config.size); in adm1266_nvmem_read() 404 data->nvmem_config.name = dev_name(&data->client->dev); in adm1266_config_nvmem() 405 data->nvmem_config.dev = &data->client->dev; in adm1266_config_nvmem() 406 data->nvmem_config.root_only = true; in adm1266_config_nvmem() 407 data->nvmem_config.read_only = true; in adm1266_config_nvmem() 408 data->nvmem_config.owner = THIS_MODULE; in adm1266_config_nvmem() 409 data->nvmem_config.reg_read = adm1266_nvmem_read; in adm1266_config_nvmem() 410 data->nvmem_config.cells = adm1266_nvmem_cells; in adm1266_config_nvmem() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | nvmem-provider.h | 61 struct nvmem_config { struct 105 struct nvmem_device *nvmem_register(const struct nvmem_config *cfg); 109 const struct nvmem_config *cfg); 118 static inline struct nvmem_device *nvmem_register(const struct nvmem_config *c) in nvmem_register() 126 devm_nvmem_register(struct device *dev, const struct nvmem_config *c) in devm_nvmem_register()
|
D | rtc.h | 252 struct nvmem_config *nvmem_config); 256 struct nvmem_config *nvmem_config) in rtc_nvmem_register() argument
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | ov2740.c | 1012 struct nvmem_config nvmem_config = { }; in ov2740_register_nvmem() local 1040 nvmem_config.name = dev_name(dev); in ov2740_register_nvmem() 1041 nvmem_config.dev = dev; in ov2740_register_nvmem() 1042 nvmem_config.read_only = true; in ov2740_register_nvmem() 1043 nvmem_config.root_only = true; in ov2740_register_nvmem() 1044 nvmem_config.owner = THIS_MODULE; in ov2740_register_nvmem() 1045 nvmem_config.compat = true; in ov2740_register_nvmem() 1046 nvmem_config.base_dev = dev; in ov2740_register_nvmem() 1047 nvmem_config.reg_read = ov2740_nvmem_read; in ov2740_register_nvmem() 1048 nvmem_config.reg_write = NULL; in ov2740_register_nvmem() [all …]
|
D | video-i2c.c | 107 struct nvmem_config *nvmem_config; member 130 static struct nvmem_config mlx90640_nvram_config = { 381 .nvmem_config = &mlx90640_nvram_config, 846 if (data->chip->nvmem_config) { in video_i2c_probe() 847 struct nvmem_config *config = data->chip->nvmem_config; in video_i2c_probe()
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
D | nvm.c | 59 struct nvmem_config config; in tb_nvm_add_active() 124 struct nvmem_config config; in tb_nvm_add_non_active()
|
/kernel/linux/linux-5.10/drivers/nvmem/ |
D | snvs_lpgpr.c | 34 struct nvmem_config cfg; 94 struct nvmem_config *cfg; in snvs_lpgpr_probe()
|
D | jz4780-efuse.c | 118 static struct nvmem_config jz4780_efuse_nvmem_config = { 143 struct nvmem_config cfg; in jz4780_efuse_probe()
|
D | zynqmp_nvmem.c | 36 static struct nvmem_config econfig = {
|
D | uniphier-efuse.c | 37 struct nvmem_config econfig = {}; in uniphier_efuse_probe()
|
D | bcm-ocotp.c | 85 struct nvmem_config *config; 231 static struct nvmem_config bcm_otpc_nvmem_config = {
|
D | lpc18xx_otp.c | 59 static struct nvmem_config lpc18xx_otp_nvmem_config = {
|
D | mtk-efuse.c | 36 struct nvmem_config econfig = {}; in mtk_efuse_probe()
|
D | meson-efuse.c | 47 struct nvmem_config *econfig; in meson_efuse_probe()
|
D | core.c | 270 const struct nvmem_config *config) in nvmem_sysfs_setup_compat() 302 const struct nvmem_config *config) in nvmem_sysfs_remove_compat() 311 const struct nvmem_config *config) in nvmem_sysfs_setup_compat() 316 const struct nvmem_config *config) in nvmem_sysfs_remove_compat() 607 struct nvmem_device *nvmem_register(const struct nvmem_config *config) in nvmem_register() 769 const struct nvmem_config *config) in devm_nvmem_register()
|
D | imx-iim.c | 103 struct nvmem_config cfg = {}; in imx_iim_probe()
|
D | mxs-ocotp.c | 107 static struct nvmem_config ocotp_config = {
|
D | imx-ocotp.c | 83 struct nvmem_config *config; 446 static struct nvmem_config imx_ocotp_nvmem_config = {
|
D | sunxi_sid.c | 116 struct nvmem_config *nvmem_cfg; in sunxi_sid_probe()
|
/kernel/linux/linux-5.10/drivers/soc/atmel/ |
D | sfr.c | 33 static struct nvmem_config atmel_sfr_nvmem_config = {
|