/linux-6.1.9/drivers/nvmem/ |
D | sunxi_sid.c | 116 struct nvmem_config *nvmem_cfg; in sunxi_sid_probe() local 139 nvmem_cfg = devm_kzalloc(dev, sizeof(*nvmem_cfg), GFP_KERNEL); in sunxi_sid_probe() 140 if (!nvmem_cfg) in sunxi_sid_probe() 143 nvmem_cfg->dev = dev; in sunxi_sid_probe() 144 nvmem_cfg->name = "sunxi-sid"; in sunxi_sid_probe() 145 nvmem_cfg->type = NVMEM_TYPE_OTP; in sunxi_sid_probe() 146 nvmem_cfg->read_only = true; in sunxi_sid_probe() 147 nvmem_cfg->size = cfg->size; in sunxi_sid_probe() 148 nvmem_cfg->word_size = 1; in sunxi_sid_probe() 149 nvmem_cfg->stride = 4; in sunxi_sid_probe() [all …]
|
/linux-6.1.9/drivers/rtc/ |
D | rtc-ds1742.c | 150 struct nvmem_config nvmem_cfg = { in ds1742_rtc_probe() local 169 nvmem_cfg.size = resource_size(res) - RTC_SIZE; in ds1742_rtc_probe() 170 nvmem_cfg.priv = pdata; in ds1742_rtc_probe() 198 devm_rtc_nvmem_register(rtc, &nvmem_cfg); in ds1742_rtc_probe()
|
D | rtc-rp5c01.c | 224 struct nvmem_config nvmem_cfg = { in rp5c01_rtc_probe() local 257 nvmem_cfg.priv = priv; in rp5c01_rtc_probe() 258 error = devm_rtc_nvmem_register(rtc, &nvmem_cfg); in rp5c01_rtc_probe()
|
D | rtc-rx8581.c | 256 static struct nvmem_config nvmem_cfg[] = { in rx8581_probe() local 303 nvmem_cfg[i].priv = rx8581; in rx8581_probe() 304 devm_rtc_nvmem_register(rx8581->rtc, &nvmem_cfg[i]); in rx8581_probe()
|
D | rtc-pcf85363.c | 358 static struct nvmem_config nvmem_cfg[] = { in pcf85363_probe() local 419 nvmem_cfg[i].priv = pcf85363; in pcf85363_probe() 420 devm_rtc_nvmem_register(pcf85363->rtc, &nvmem_cfg[i]); in pcf85363_probe()
|
D | rtc-stk17ta8.c | 264 struct nvmem_config nvmem_cfg = { in stk17ta8_rtc_probe() local 315 nvmem_cfg.priv = pdata; in stk17ta8_rtc_probe() 316 ret = devm_rtc_nvmem_register(pdata->rtc, &nvmem_cfg); in stk17ta8_rtc_probe()
|
D | rtc-ds1343.c | 351 struct nvmem_config nvmem_cfg = { in ds1343_probe() local 415 nvmem_cfg.priv = priv; in ds1343_probe() 416 devm_rtc_nvmem_register(priv->rtc, &nvmem_cfg); in ds1343_probe()
|
D | rtc-m48t59.c | 364 struct nvmem_config nvmem_cfg = { in m48t59_rtc_probe() local 462 nvmem_cfg.size = pdata->offset; in m48t59_rtc_probe() 463 ret = devm_rtc_nvmem_register(m48t59->rtc, &nvmem_cfg); in m48t59_rtc_probe()
|
D | rtc-pcf85063.c | 567 struct nvmem_config nvmem_cfg = { in pcf85063_probe() local 641 nvmem_cfg.priv = pcf85063->regmap; in pcf85063_probe() 642 devm_rtc_nvmem_register(pcf85063->rtc, &nvmem_cfg); in pcf85063_probe()
|
D | rtc-ds1553.c | 256 struct nvmem_config nvmem_cfg = { in ds1553_rtc_probe() local 312 devm_rtc_nvmem_register(pdata->rtc, &nvmem_cfg); in ds1553_rtc_probe()
|
D | rtc-rv3029c2.c | 709 struct nvmem_config nvmem_cfg = { in rv3029_probe() local 757 nvmem_cfg.priv = rv3029->regmap; in rv3029_probe() 758 devm_rtc_nvmem_register(rv3029->rtc, &nvmem_cfg); in rv3029_probe()
|
D | rtc-cmos.c | 924 struct nvmem_config nvmem_cfg = { in cmos_do_probe() local 1098 nvmem_cfg.size = address_space - NVRAM_OFFSET; in cmos_do_probe() 1099 devm_rtc_nvmem_register(cmos_rtc.rtc, &nvmem_cfg); in cmos_do_probe() 1114 nvmem_cfg.size, in cmos_do_probe()
|
D | rtc-rv3028.c | 863 struct nvmem_config nvmem_cfg = { in rv3028_probe() local 961 nvmem_cfg.priv = rv3028->regmap; in rv3028_probe() 962 devm_rtc_nvmem_register(rv3028->rtc, &nvmem_cfg); in rv3028_probe()
|
D | rtc-rv3032.c | 894 struct nvmem_config nvmem_cfg = { in rv3032_probe() local 962 nvmem_cfg.priv = rv3032->regmap; in rv3032_probe() 963 devm_rtc_nvmem_register(rv3032->rtc, &nvmem_cfg); in rv3032_probe()
|
D | rtc-ds3232.c | 486 struct nvmem_config nvmem_cfg = { in ds3232_probe() local 520 ret = devm_rtc_nvmem_register(ds3232->rtc, &nvmem_cfg); in ds3232_probe()
|
D | rtc-rv8803.c | 585 struct nvmem_config nvmem_cfg = { in rv8803_probe() local 662 devm_rtc_nvmem_register(rv8803->rtc, &nvmem_cfg); in rv8803_probe()
|
D | rtc-ds1685.c | 1076 struct nvmem_config nvmem_cfg = { in ds1685_rtc_probe() local 1313 nvmem_cfg.priv = rtc; in ds1685_rtc_probe() 1314 ret = devm_rtc_nvmem_register(rtc_dev, &nvmem_cfg); in ds1685_rtc_probe()
|
D | rtc-pcf2127.c | 692 struct nvmem_config nvmem_cfg = { in pcf2127_probe() local 699 ret = devm_rtc_nvmem_register(pcf2127->rtc, &nvmem_cfg); in pcf2127_probe()
|
D | rtc-ds1307.c | 1986 struct nvmem_config nvmem_cfg = { in ds1307_probe() local 1996 devm_rtc_nvmem_register(ds1307->rtc, &nvmem_cfg); in ds1307_probe()
|
/linux-6.1.9/drivers/w1/slaves/ |
D | w1_ds250x.c | 169 struct nvmem_config nvmem_cfg = { in w1_eprom_add_slave() local 211 nvmem_cfg.name = data->nvmem_name; in w1_eprom_add_slave() 212 nvmem_cfg.size = data->size; in w1_eprom_add_slave() 214 nvmem = devm_nvmem_register(&sl->dev, &nvmem_cfg); in w1_eprom_add_slave()
|