Lines Matching refs:tegra_flowctrl_base
36 static void __iomem *tegra_flowctrl_base; variable
40 if (WARN_ONCE(IS_ERR_OR_NULL(tegra_flowctrl_base), in flowctrl_update()
44 writel(value, tegra_flowctrl_base + offset); in flowctrl_update()
48 readl_relaxed(tegra_flowctrl_base + offset); in flowctrl_update()
55 if (WARN_ONCE(IS_ERR_OR_NULL(tegra_flowctrl_base), in flowctrl_read_cpu_csr()
59 return readl(tegra_flowctrl_base + offset); in flowctrl_read_cpu_csr()
158 void __iomem *base = tegra_flowctrl_base; in tegra_flowctrl_probe()
160 tegra_flowctrl_base = devm_platform_get_and_ioremap_resource(pdev, 0, NULL); in tegra_flowctrl_probe()
161 if (IS_ERR(tegra_flowctrl_base)) in tegra_flowctrl_probe()
162 return PTR_ERR(tegra_flowctrl_base); in tegra_flowctrl_probe()
220 tegra_flowctrl_base = ioremap(res.start, resource_size(&res)); in tegra_flowctrl_init()
221 if (!tegra_flowctrl_base) in tegra_flowctrl_init()