Lines Matching full:syscfg

54 	struct vexpress_syscfg *syscfg;  member
161 struct vexpress_syscfg *syscfg = func->syscfg; in vexpress_syscfg_exec() local
169 command = readl(syscfg->base + SYS_CFGCTRL); in vexpress_syscfg_exec()
181 dev_dbg(syscfg->dev, "func %p, command %x, data %x\n", in vexpress_syscfg_exec()
183 writel(*data, syscfg->base + SYS_CFGDATA); in vexpress_syscfg_exec()
184 writel(0, syscfg->base + SYS_CFGSTAT); in vexpress_syscfg_exec()
185 writel(command, syscfg->base + SYS_CFGCTRL); in vexpress_syscfg_exec()
201 status = readl(syscfg->base + SYS_CFGSTAT); in vexpress_syscfg_exec()
212 *data = readl(syscfg->base + SYS_CFGDATA); in vexpress_syscfg_exec()
213 dev_dbg(syscfg->dev, "func %p, read data %x\n", func, *data); in vexpress_syscfg_exec()
251 struct vexpress_syscfg *syscfg = context; in vexpress_syscfg_regmap_init() local
291 func->syscfg = syscfg; in vexpress_syscfg_regmap_init()
323 list_add(&func->list, &syscfg->funcs); in vexpress_syscfg_regmap_init()
330 struct vexpress_syscfg *syscfg = context; in vexpress_syscfg_regmap_exit() local
335 list_for_each_entry_safe(func, tmp, &syscfg->funcs, list) { in vexpress_syscfg_regmap_exit()
337 list_del(&syscfg->funcs); in vexpress_syscfg_regmap_exit()
352 struct vexpress_syscfg *syscfg; in vexpress_syscfg_probe() local
358 syscfg = devm_kzalloc(&pdev->dev, sizeof(*syscfg), GFP_KERNEL); in vexpress_syscfg_probe()
359 if (!syscfg) in vexpress_syscfg_probe()
361 syscfg->dev = &pdev->dev; in vexpress_syscfg_probe()
362 INIT_LIST_HEAD(&syscfg->funcs); in vexpress_syscfg_probe()
364 syscfg->base = devm_platform_ioremap_resource(pdev, 0); in vexpress_syscfg_probe()
365 if (IS_ERR(syscfg->base)) in vexpress_syscfg_probe()
366 return PTR_ERR(syscfg->base); in vexpress_syscfg_probe()
373 bridge->context = syscfg; in vexpress_syscfg_probe()
377 master = readl(syscfg->base + SYS_MISC) & SYS_MISC_MASTERSITE ? in vexpress_syscfg_probe()
383 u32 id = readl(syscfg->base + (master == VEXPRESS_SITE_DB1 ? in vexpress_syscfg_probe()
406 { "vexpress-syscfg", },
412 .driver.name = "vexpress-syscfg",