/linux-6.6.21/drivers/rtc/ |
D | nvmem.c | 14 struct nvmem_config *nvmem_config) in devm_rtc_nvmem_register() argument 19 if (!nvmem_config) in devm_rtc_nvmem_register() 22 nvmem_config->dev = dev; in devm_rtc_nvmem_register() 23 nvmem_config->owner = rtc->owner; in devm_rtc_nvmem_register() 24 nvmem = devm_nvmem_register(dev, nvmem_config); in devm_rtc_nvmem_register()
|
D | rtc-isl1208.c | 132 struct nvmem_config nvmem_config; member 804 static const struct nvmem_config isl1208_nvmem_config = { 889 isl1208->nvmem_config = isl1208_nvmem_config; in isl1208_probe() 890 isl1208->nvmem_config.size = isl1208->config->nvmem_length; in isl1208_probe() 891 isl1208->nvmem_config.priv = isl1208; in isl1208_probe() 956 rc = devm_rtc_nvmem_register(isl1208->rtc, &isl1208->nvmem_config); in isl1208_probe()
|
/linux-6.6.21/drivers/hwmon/pmbus/ |
D | adm1266.c | 58 struct nvmem_config nvmem_config; member 383 if (offset + bytes > data->nvmem_config.size) in adm1266_nvmem_read() 387 memset(data->dev_mem, 0, data->nvmem_config.size); in adm1266_nvmem_read() 403 data->nvmem_config.name = dev_name(&data->client->dev); in adm1266_config_nvmem() 404 data->nvmem_config.dev = &data->client->dev; in adm1266_config_nvmem() 405 data->nvmem_config.root_only = true; in adm1266_config_nvmem() 406 data->nvmem_config.read_only = true; in adm1266_config_nvmem() 407 data->nvmem_config.owner = THIS_MODULE; in adm1266_config_nvmem() 408 data->nvmem_config.reg_read = adm1266_nvmem_read; in adm1266_config_nvmem() 409 data->nvmem_config.cells = adm1266_nvmem_cells; in adm1266_config_nvmem() [all …]
|
/linux-6.6.21/drivers/misc/eeprom/ |
D | at25.c | 41 struct nvmem_config nvmem_config; member 486 at25->nvmem_config.type = is_fram ? NVMEM_TYPE_FRAM : NVMEM_TYPE_EEPROM; in at25_probe() 487 at25->nvmem_config.name = dev_name(&spi->dev); in at25_probe() 488 at25->nvmem_config.dev = &spi->dev; in at25_probe() 489 at25->nvmem_config.read_only = at25->chip.flags & EE_READONLY; in at25_probe() 490 at25->nvmem_config.root_only = true; in at25_probe() 491 at25->nvmem_config.owner = THIS_MODULE; in at25_probe() 492 at25->nvmem_config.compat = true; in at25_probe() 493 at25->nvmem_config.base_dev = &spi->dev; in at25_probe() 494 at25->nvmem_config.reg_read = at25_ee_read; in at25_probe() [all …]
|
D | eeprom_93xx46.c | 62 struct nvmem_config nvmem_config; member 525 edev->nvmem_config.type = NVMEM_TYPE_EEPROM; in eeprom_93xx46_probe() 526 edev->nvmem_config.name = dev_name(&spi->dev); in eeprom_93xx46_probe() 527 edev->nvmem_config.dev = &spi->dev; in eeprom_93xx46_probe() 528 edev->nvmem_config.read_only = pd->flags & EE_READONLY; in eeprom_93xx46_probe() 529 edev->nvmem_config.root_only = true; in eeprom_93xx46_probe() 530 edev->nvmem_config.owner = THIS_MODULE; in eeprom_93xx46_probe() 531 edev->nvmem_config.compat = true; in eeprom_93xx46_probe() 532 edev->nvmem_config.base_dev = &spi->dev; in eeprom_93xx46_probe() 533 edev->nvmem_config.reg_read = eeprom_93xx46_read; in eeprom_93xx46_probe() [all …]
|
D | at24.c | 587 struct nvmem_config nvmem_config = { }; in at24_probe() local 720 nvmem_config.id = NVMEM_DEVID_AUTO; in at24_probe() 724 &nvmem_config.name); in at24_probe() 728 nvmem_config.name = dev_name(dev); in at24_probe() 731 nvmem_config.type = NVMEM_TYPE_EEPROM; in at24_probe() 732 nvmem_config.dev = dev; in at24_probe() 733 nvmem_config.read_only = !writable; in at24_probe() 734 nvmem_config.root_only = !(flags & AT24_FLAG_IRUGO); in at24_probe() 735 nvmem_config.owner = THIS_MODULE; in at24_probe() 736 nvmem_config.compat = true; in at24_probe() [all …]
|
/linux-6.6.21/include/linux/ |
D | nvmem-provider.h | 108 struct nvmem_config { struct 188 struct nvmem_device *nvmem_register(const struct nvmem_config *cfg); 192 const struct nvmem_config *cfg); 210 static inline struct nvmem_device *nvmem_register(const struct nvmem_config *c) in nvmem_register() 218 devm_nvmem_register(struct device *dev, const struct nvmem_config *c) in devm_nvmem_register()
|
D | rtc.h | 239 struct nvmem_config *nvmem_config); 242 struct nvmem_config *nvmem_config) in devm_rtc_nvmem_register() argument
|
/linux-6.6.21/drivers/media/i2c/ |
D | ov2740.c | 1094 struct nvmem_config nvmem_config = { }; in ov2740_register_nvmem() local 1111 nvmem_config.name = dev_name(dev); in ov2740_register_nvmem() 1112 nvmem_config.dev = dev; in ov2740_register_nvmem() 1113 nvmem_config.read_only = true; in ov2740_register_nvmem() 1114 nvmem_config.root_only = true; in ov2740_register_nvmem() 1115 nvmem_config.owner = THIS_MODULE; in ov2740_register_nvmem() 1116 nvmem_config.compat = true; in ov2740_register_nvmem() 1117 nvmem_config.base_dev = dev; in ov2740_register_nvmem() 1118 nvmem_config.reg_read = ov2740_nvmem_read; in ov2740_register_nvmem() 1119 nvmem_config.reg_write = NULL; in ov2740_register_nvmem() [all …]
|
D | video-i2c.c | 139 struct nvmem_config *nvmem_config; member 162 static struct nvmem_config mlx90640_nvram_config = { 386 .nvmem_config = &mlx90640_nvram_config, 852 if (data->chip->nvmem_config) { in video_i2c_probe() 853 struct nvmem_config *config = data->chip->nvmem_config; in video_i2c_probe()
|
/linux-6.6.21/drivers/nvmem/ |
D | snvs_lpgpr.c | 35 struct nvmem_config cfg; 95 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 | qoriq-efuse.c | 32 struct nvmem_config config = { in qoriq_efuse_probe()
|
D | zynqmp_nvmem.c | 36 static struct nvmem_config econfig = {
|
D | apple-efuses.c | 37 struct nvmem_config config = { in apple_efuses_probe()
|
D | uniphier-efuse.c | 37 struct nvmem_config econfig = {}; in uniphier_efuse_probe()
|
D | bcm-ocotp.c | 74 struct nvmem_config *config; 220 static struct nvmem_config bcm_otpc_nvmem_config = {
|
D | lpc18xx_otp.c | 58 static struct nvmem_config lpc18xx_otp_nvmem_config = {
|
D | sec-qfprom.c | 48 struct nvmem_config econfig = { in sec_qfprom_probe()
|
D | rmem.c | 54 struct nvmem_config config = { }; in rmem_probe()
|
D | layerscape-sfp.c | 39 static struct nvmem_config layerscape_sfp_nvmem_config = {
|
D | nintendo-otp.c | 82 struct nvmem_config config = { in nintendo_otp_probe()
|
D | meson-efuse.c | 47 struct nvmem_config *econfig; in meson_efuse_probe()
|
D | imx-iim.c | 101 struct nvmem_config cfg = {}; in imx_iim_probe()
|
/linux-6.6.21/drivers/soc/atmel/ |
D | sfr.c | 32 static struct nvmem_config atmel_sfr_nvmem_config = {
|