Lines Matching refs:tegra_flowctrl_base
47 static void __iomem *tegra_flowctrl_base; variable
51 if (WARN_ONCE(IS_ERR_OR_NULL(tegra_flowctrl_base), in flowctrl_update()
55 writel(value, tegra_flowctrl_base + offset); in flowctrl_update()
59 readl_relaxed(tegra_flowctrl_base + offset); in flowctrl_update()
66 if (WARN_ONCE(IS_ERR_OR_NULL(tegra_flowctrl_base), in flowctrl_read_cpu_csr()
70 return readl(tegra_flowctrl_base + offset); in flowctrl_read_cpu_csr()
154 void __iomem *base = tegra_flowctrl_base; in tegra_flowctrl_probe()
158 tegra_flowctrl_base = devm_ioremap_resource(&pdev->dev, res); in tegra_flowctrl_probe()
159 if (IS_ERR(tegra_flowctrl_base)) in tegra_flowctrl_probe()
160 return PTR_ERR(tegra_flowctrl_base); in tegra_flowctrl_probe()
218 tegra_flowctrl_base = ioremap_nocache(res.start, resource_size(&res)); in tegra_flowctrl_init()
219 if (!tegra_flowctrl_base) in tegra_flowctrl_init()