Home
last modified time | relevance | path

Searched refs:econfig (Results 1 – 8 of 8) sorted by relevance

/drivers/nvmem/
Dmeson-efuse.c47 struct nvmem_config *econfig; in meson_efuse_probe() local
90 econfig = devm_kzalloc(dev, sizeof(*econfig), GFP_KERNEL); in meson_efuse_probe()
91 if (!econfig) in meson_efuse_probe()
94 econfig->dev = dev; in meson_efuse_probe()
95 econfig->name = dev_name(dev); in meson_efuse_probe()
96 econfig->stride = 1; in meson_efuse_probe()
97 econfig->word_size = 1; in meson_efuse_probe()
98 econfig->reg_read = meson_efuse_read; in meson_efuse_probe()
99 econfig->reg_write = meson_efuse_write; in meson_efuse_probe()
100 econfig->size = size; in meson_efuse_probe()
[all …]
Duniphier-efuse.c37 struct nvmem_config econfig = {}; in uniphier_efuse_probe() local
49 econfig.stride = 1; in uniphier_efuse_probe()
50 econfig.word_size = 1; in uniphier_efuse_probe()
51 econfig.read_only = true; in uniphier_efuse_probe()
52 econfig.reg_read = uniphier_reg_read; in uniphier_efuse_probe()
53 econfig.size = resource_size(res); in uniphier_efuse_probe()
54 econfig.priv = priv; in uniphier_efuse_probe()
55 econfig.dev = dev; in uniphier_efuse_probe()
56 nvmem = devm_nvmem_register(dev, &econfig); in uniphier_efuse_probe()
Dmtk-efuse.c36 struct nvmem_config econfig = {}; in mtk_efuse_probe() local
48 econfig.stride = 4; in mtk_efuse_probe()
49 econfig.word_size = 4; in mtk_efuse_probe()
50 econfig.reg_read = mtk_reg_read; in mtk_efuse_probe()
51 econfig.size = resource_size(res); in mtk_efuse_probe()
52 econfig.priv = priv; in mtk_efuse_probe()
53 econfig.dev = dev; in mtk_efuse_probe()
54 nvmem = devm_nvmem_register(dev, &econfig); in mtk_efuse_probe()
Dsc27xx-efuse.c206 struct nvmem_config econfig = { }; in sc27xx_efuse_probe() local
243 econfig.stride = 1; in sc27xx_efuse_probe()
244 econfig.word_size = 1; in sc27xx_efuse_probe()
245 econfig.read_only = true; in sc27xx_efuse_probe()
246 econfig.name = "sc27xx-efuse"; in sc27xx_efuse_probe()
247 econfig.size = SC27XX_EFUSE_BLOCK_MAX * SC27XX_EFUSE_BLOCK_WIDTH; in sc27xx_efuse_probe()
248 econfig.reg_read = sc27xx_efuse_read; in sc27xx_efuse_probe()
249 econfig.priv = efuse; in sc27xx_efuse_probe()
250 econfig.dev = &pdev->dev; in sc27xx_efuse_probe()
251 nvmem = devm_nvmem_register(&pdev->dev, &econfig); in sc27xx_efuse_probe()
Dsprd-efuse.c365 struct nvmem_config econfig = { }; in sprd_efuse_probe() local
406 econfig.stride = 1; in sprd_efuse_probe()
407 econfig.word_size = 1; in sprd_efuse_probe()
408 econfig.read_only = false; in sprd_efuse_probe()
409 econfig.name = "sprd-efuse"; in sprd_efuse_probe()
410 econfig.size = efuse->data->blk_nums * SPRD_EFUSE_BLOCK_WIDTH; in sprd_efuse_probe()
411 econfig.reg_read = sprd_efuse_read; in sprd_efuse_probe()
412 econfig.reg_write = sprd_efuse_write; in sprd_efuse_probe()
413 econfig.priv = efuse; in sprd_efuse_probe()
414 econfig.dev = &pdev->dev; in sprd_efuse_probe()
[all …]
Dzynqmp_nvmem.c36 static struct nvmem_config econfig = { variable
60 econfig.dev = dev; in zynqmp_nvmem_probe()
61 econfig.reg_read = zynqmp_nvmem_read; in zynqmp_nvmem_probe()
62 econfig.priv = priv; in zynqmp_nvmem_probe()
64 priv->nvmem = devm_nvmem_register(dev, &econfig); in zynqmp_nvmem_probe()
Drockchip-efuse.c206 static struct nvmem_config econfig = { variable
281 &econfig.size)) in rockchip_efuse_probe()
282 econfig.size = resource_size(res); in rockchip_efuse_probe()
283 econfig.reg_read = data; in rockchip_efuse_probe()
284 econfig.priv = efuse; in rockchip_efuse_probe()
285 econfig.dev = efuse->dev; in rockchip_efuse_probe()
286 nvmem = devm_nvmem_register(dev, &econfig); in rockchip_efuse_probe()
Dqfprom.c295 struct nvmem_config econfig = { in qfprom_probe() local
318 econfig.size = resource_size(res); in qfprom_probe()
319 econfig.dev = dev; in qfprom_probe()
320 econfig.priv = priv; in qfprom_probe()
368 econfig.reg_write = qfprom_reg_write; in qfprom_probe()
371 nvmem = devm_nvmem_register(dev, &econfig); in qfprom_probe()