Searched refs:econfig (Results 1 – 8 of 8) sorted by relevance
52 struct nvmem_config *econfig; in meson_efuse_probe() local76 econfig = devm_kzalloc(dev, sizeof(*econfig), GFP_KERNEL); in meson_efuse_probe()77 if (!econfig) in meson_efuse_probe()80 econfig->dev = dev; in meson_efuse_probe()81 econfig->name = dev_name(dev); in meson_efuse_probe()82 econfig->add_legacy_fixed_of_cells = true; in meson_efuse_probe()83 econfig->stride = 1; in meson_efuse_probe()84 econfig->word_size = 1; in meson_efuse_probe()85 econfig->reg_read = meson_efuse_read; in meson_efuse_probe()86 econfig->reg_write = meson_efuse_write; in meson_efuse_probe()[all …]
37 struct nvmem_config econfig = {}; in uniphier_efuse_probe() local48 econfig.stride = 1; in uniphier_efuse_probe()49 econfig.word_size = 1; in uniphier_efuse_probe()50 econfig.read_only = true; in uniphier_efuse_probe()51 econfig.reg_read = uniphier_reg_read; in uniphier_efuse_probe()52 econfig.size = resource_size(res); in uniphier_efuse_probe()53 econfig.priv = priv; in uniphier_efuse_probe()54 econfig.dev = dev; in uniphier_efuse_probe()55 econfig.add_legacy_fixed_of_cells = true; in uniphier_efuse_probe()56 nvmem = devm_nvmem_register(dev, &econfig); in uniphier_efuse_probe()
68 struct nvmem_config econfig = {}; in mtk_efuse_probe() local82 econfig.add_legacy_fixed_of_cells = true; in mtk_efuse_probe()83 econfig.stride = 1; in mtk_efuse_probe()84 econfig.word_size = 1; in mtk_efuse_probe()85 econfig.reg_read = mtk_reg_read; in mtk_efuse_probe()86 econfig.size = resource_size(res); in mtk_efuse_probe()87 econfig.priv = priv; in mtk_efuse_probe()88 econfig.dev = dev; in mtk_efuse_probe()90 econfig.fixup_dt_cell_info = &mtk_efuse_fixup_dt_cell_info; in mtk_efuse_probe()91 nvmem = devm_nvmem_register(dev, &econfig); in mtk_efuse_probe()
209 struct nvmem_config econfig = {}; in zynqmp_nvmem_probe() local211 econfig.name = "zynqmp-nvmem"; in zynqmp_nvmem_probe()212 econfig.owner = THIS_MODULE; in zynqmp_nvmem_probe()213 econfig.word_size = 1; in zynqmp_nvmem_probe()214 econfig.size = ZYNQMP_NVMEM_SIZE; in zynqmp_nvmem_probe()215 econfig.dev = dev; in zynqmp_nvmem_probe()216 econfig.add_legacy_fixed_of_cells = true; in zynqmp_nvmem_probe()217 econfig.reg_read = zynqmp_nvmem_read; in zynqmp_nvmem_probe()218 econfig.reg_write = zynqmp_nvmem_write; in zynqmp_nvmem_probe()220 return PTR_ERR_OR_ZERO(devm_nvmem_register(dev, &econfig)); in zynqmp_nvmem_probe()
48 struct nvmem_config econfig = { in sec_qfprom_probe() local71 econfig.size = resource_size(res); in sec_qfprom_probe()72 econfig.dev = dev; in sec_qfprom_probe()73 econfig.priv = priv; in sec_qfprom_probe()77 nvmem = devm_nvmem_register(dev, &econfig); in sec_qfprom_probe()
358 struct nvmem_config econfig = { in qfprom_probe() local382 econfig.size = resource_size(res); in qfprom_probe()383 econfig.dev = dev; in qfprom_probe()384 econfig.priv = priv; in qfprom_probe()389 econfig.keepout = soc_data->keepout; in qfprom_probe()390 econfig.nkeepout = soc_data->nkeepout; in qfprom_probe()433 econfig.reg_write = qfprom_reg_write; in qfprom_probe()441 nvmem = devm_nvmem_register(dev, &econfig); in qfprom_probe()
206 static struct nvmem_config econfig = { variable282 &econfig.size)) in rockchip_efuse_probe()283 econfig.size = resource_size(res); in rockchip_efuse_probe()284 econfig.reg_read = data; in rockchip_efuse_probe()285 econfig.priv = efuse; in rockchip_efuse_probe()286 econfig.dev = efuse->dev; in rockchip_efuse_probe()287 nvmem = devm_nvmem_register(dev, &econfig); in rockchip_efuse_probe()
506 static int pmu_sbi_event_map(struct perf_event *event, u64 *econfig) in pmu_sbi_event_map() argument541 *econfig = raw_config_val; in pmu_sbi_event_map()554 *econfig = raw_config_val; in pmu_sbi_event_map()