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()
162 tegra_flowctrl_base = devm_ioremap_resource(&pdev->dev, res); in tegra_flowctrl_probe()
163 if (IS_ERR(tegra_flowctrl_base)) in tegra_flowctrl_probe()
164 return PTR_ERR(tegra_flowctrl_base); in tegra_flowctrl_probe()
222 tegra_flowctrl_base = ioremap(res.start, resource_size(&res)); in tegra_flowctrl_init()
223 if (!tegra_flowctrl_base) in tegra_flowctrl_init()