Home
last modified time | relevance | path

Searched refs:nvmem_cfg (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/nvmem/
Dsunxi_sid.c116 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->read_only = true; in sunxi_sid_probe()
146 nvmem_cfg->size = cfg->size; in sunxi_sid_probe()
147 nvmem_cfg->word_size = 1; in sunxi_sid_probe()
148 nvmem_cfg->stride = 4; in sunxi_sid_probe()
149 nvmem_cfg->priv = sid; in sunxi_sid_probe()
[all …]
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-ds1742.c150 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()
199 if (rtc_nvmem_register(rtc, &nvmem_cfg)) in ds1742_rtc_probe()
Drtc-rp5c01.c224 struct nvmem_config nvmem_cfg = { in rp5c01_rtc_probe() local
258 nvmem_cfg.priv = priv; in rp5c01_rtc_probe()
259 error = rtc_nvmem_register(rtc, &nvmem_cfg); in rp5c01_rtc_probe()
Drtc-rx8581.c257 static struct nvmem_config nvmem_cfg[] = { in rx8581_probe() local
304 nvmem_cfg[i].priv = rx8581; in rx8581_probe()
305 rtc_nvmem_register(rx8581->rtc, &nvmem_cfg[i]); in rx8581_probe()
Drtc-tx4939.c240 struct nvmem_config nvmem_cfg = { in tx4939_rtc_probe() local
274 nvmem_cfg.priv = pdata; in tx4939_rtc_probe()
275 ret = rtc_nvmem_register(rtc, &nvmem_cfg); in tx4939_rtc_probe()
Drtc-pcf85363.c364 static struct nvmem_config nvmem_cfg[] = { in pcf85363_probe() local
424 nvmem_cfg[i].priv = pcf85363; in pcf85363_probe()
425 rtc_nvmem_register(pcf85363->rtc, &nvmem_cfg[i]); in pcf85363_probe()
Drtc-stk17ta8.c264 struct nvmem_config nvmem_cfg = { in stk17ta8_rtc_probe() local
316 nvmem_cfg.priv = pdata; in stk17ta8_rtc_probe()
317 ret = rtc_nvmem_register(pdata->rtc, &nvmem_cfg); in stk17ta8_rtc_probe()
Drtc-ds1343.c351 struct nvmem_config nvmem_cfg = { in ds1343_probe() local
416 nvmem_cfg.priv = priv; in ds1343_probe()
417 rtc_nvmem_register(priv->rtc, &nvmem_cfg); in ds1343_probe()
Drtc-m48t59.c370 struct nvmem_config nvmem_cfg = { in m48t59_rtc_probe() local
469 nvmem_cfg.size = pdata->offset; in m48t59_rtc_probe()
470 ret = rtc_nvmem_register(m48t59->rtc, &nvmem_cfg); in m48t59_rtc_probe()
Drtc-pcf85063.c545 struct nvmem_config nvmem_cfg = { in pcf85063_probe() local
608 nvmem_cfg.priv = pcf85063->regmap; in pcf85063_probe()
609 rtc_nvmem_register(pcf85063->rtc, &nvmem_cfg); in pcf85063_probe()
Drtc-ds1553.c256 struct nvmem_config nvmem_cfg = { in ds1553_rtc_probe() local
313 if (rtc_nvmem_register(pdata->rtc, &nvmem_cfg)) in ds1553_rtc_probe()
Drtc-rv3029c2.c707 struct nvmem_config nvmem_cfg = { in rv3029_probe() local
757 nvmem_cfg.priv = rv3029->regmap; in rv3029_probe()
758 rtc_nvmem_register(rv3029->rtc, &nvmem_cfg); in rv3029_probe()
Drtc-cmos.c930 struct nvmem_config nvmem_cfg = { in cmos_do_probe() local
1102 nvmem_cfg.size = address_space - NVRAM_OFFSET; in cmos_do_probe()
1103 if (rtc_nvmem_register(cmos_rtc.rtc, &nvmem_cfg)) in cmos_do_probe()
1119 nvmem_cfg.size, in cmos_do_probe()
Drtc-rv3028.c792 struct nvmem_config nvmem_cfg = { in rv3028_probe() local
893 nvmem_cfg.priv = rv3028->regmap; in rv3028_probe()
894 rtc_nvmem_register(rv3028->rtc, &nvmem_cfg); in rv3028_probe()
Drtc-rv3032.c825 struct nvmem_config nvmem_cfg = { in rv3032_probe() local
892 nvmem_cfg.priv = rv3032; in rv3032_probe()
893 rtc_nvmem_register(rv3032->rtc, &nvmem_cfg); in rv3032_probe()
Drtc-ds3232.c487 struct nvmem_config nvmem_cfg = { in ds3232_probe() local
521 ret = rtc_nvmem_register(ds3232->rtc, &nvmem_cfg); in ds3232_probe()
Drtc-rv8803.c515 struct nvmem_config nvmem_cfg = { in rv8803_probe() local
595 rtc_nvmem_register(rv8803->rtc, &nvmem_cfg); in rv8803_probe()
Drtc-ds1685.c1078 struct nvmem_config nvmem_cfg = { in ds1685_rtc_probe() local
1320 nvmem_cfg.priv = rtc; in ds1685_rtc_probe()
1321 ret = rtc_nvmem_register(rtc_dev, &nvmem_cfg); in ds1685_rtc_probe()
Drtc-pcf2127.c606 struct nvmem_config nvmem_cfg = { in pcf2127_probe() local
613 ret = rtc_nvmem_register(pcf2127->rtc, &nvmem_cfg); in pcf2127_probe()
Drtc-ds1307.c2048 struct nvmem_config nvmem_cfg = { in ds1307_probe() local
2059 rtc_nvmem_register(ds1307->rtc, &nvmem_cfg); in ds1307_probe()
/kernel/linux/linux-5.10/drivers/w1/slaves/
Dw1_ds250x.c169 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()