Home
last modified time | relevance | path

Searched refs:tegra_flowctrl_base (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/soc/tegra/
H A Dflowctrl.c36 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()
[all...]
/kernel/linux/linux-5.10/drivers/soc/tegra/
H A Dflowctrl.c36 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()
[all...]

Completed in 1 milliseconds