Home
last modified time | relevance | path

Searched refs:nvmem_config (Results 1 – 25 of 83) sorted by relevance

1234

/linux-6.6.21/drivers/rtc/
Dnvmem.c14 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()
Drtc-isl1208.c132 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/
Dadm1266.c58 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/
Dat25.c41 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 …]
Deeprom_93xx46.c62 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 …]
Dat24.c587 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/
Dnvmem-provider.h108 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()
Drtc.h239 struct nvmem_config *nvmem_config);
242 struct nvmem_config *nvmem_config) in devm_rtc_nvmem_register() argument
/linux-6.6.21/drivers/media/i2c/
Dov2740.c1094 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 …]
Dvideo-i2c.c139 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/
Dsnvs_lpgpr.c35 struct nvmem_config cfg;
95 struct nvmem_config *cfg; in snvs_lpgpr_probe()
Djz4780-efuse.c118 static struct nvmem_config jz4780_efuse_nvmem_config = {
143 struct nvmem_config cfg; in jz4780_efuse_probe()
Dqoriq-efuse.c32 struct nvmem_config config = { in qoriq_efuse_probe()
Dzynqmp_nvmem.c36 static struct nvmem_config econfig = {
Dapple-efuses.c37 struct nvmem_config config = { in apple_efuses_probe()
Duniphier-efuse.c37 struct nvmem_config econfig = {}; in uniphier_efuse_probe()
Dbcm-ocotp.c74 struct nvmem_config *config;
220 static struct nvmem_config bcm_otpc_nvmem_config = {
Dlpc18xx_otp.c58 static struct nvmem_config lpc18xx_otp_nvmem_config = {
Dsec-qfprom.c48 struct nvmem_config econfig = { in sec_qfprom_probe()
Drmem.c54 struct nvmem_config config = { }; in rmem_probe()
Dlayerscape-sfp.c39 static struct nvmem_config layerscape_sfp_nvmem_config = {
Dnintendo-otp.c82 struct nvmem_config config = { in nintendo_otp_probe()
Dmeson-efuse.c47 struct nvmem_config *econfig; in meson_efuse_probe()
Dimx-iim.c101 struct nvmem_config cfg = {}; in imx_iim_probe()
/linux-6.6.21/drivers/soc/atmel/
Dsfr.c32 static struct nvmem_config atmel_sfr_nvmem_config = {

1234