/Linux-v5.10/drivers/soc/dove/ |
D | pmu.c | 32 void __iomem *pmc_base; member 55 val = readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset() 56 writel_relaxed(val & ~BIT(id), pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset() 57 writel_relaxed(val | BIT(id), pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset() 70 val &= readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_assert() 71 writel_relaxed(val, pmu->pmc_base + PMC_SW_RST); in pmu_reset_assert() 84 val |= readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_deassert() 85 writel_relaxed(val, pmu->pmc_base + PMC_SW_RST); in pmu_reset_deassert() 150 void __iomem *pmc_base = pmu->pmc_base; in pmu_domain_power_off() local 164 val &= readl_relaxed(pmc_base + PMC_SW_RST); in pmu_domain_power_off() [all …]
|
/Linux-v5.10/arch/arm/mach-vt8500/ |
D | vt8500.c | 31 static void __iomem *pmc_base; variable 35 if (pmc_base) in vt8500_restart() 36 writel(1, pmc_base + VT8500_PMSR_REG); in vt8500_restart() 57 writew(5, pmc_base + VT8500_HCR_REG); in vt8500_power_off() 132 pmc_base = of_iomap(np, 0); in vt8500_init() 134 if (!pmc_base) in vt8500_init() 139 pmc_base = ioremap(LEGACY_PMC_BASE, 0x1000); in vt8500_init() 140 if (!pmc_base) in vt8500_init() 143 if (pmc_base) in vt8500_init()
|
/Linux-v5.10/drivers/clk/tegra/ |
D | clk-tegra-super-gen4.c | 166 void __iomem *pmc_base, in tegra_super_clk_init() argument 234 clk_base, pmc_base, CLK_IGNORE_UNUSED, params, NULL); in tegra_super_clk_init() 238 pmc_base, CLK_IGNORE_UNUSED, params, NULL); in tegra_super_clk_init() 254 void __iomem *pmc_base, in tegra_super_clk_gen4_init() argument 258 tegra_super_clk_init(clk_base, pmc_base, tegra_clks, params, in tegra_super_clk_gen4_init() 263 void __iomem *pmc_base, in tegra_super_clk_gen5_init() argument 267 tegra_super_clk_init(clk_base, pmc_base, tegra_clks, params, in tegra_super_clk_gen5_init()
|
D | clk-tegra30.c | 149 static void __iomem *pmc_base; variable 816 clk = tegra_clk_register_pll("pll_c", "pll_ref", clk_base, pmc_base, 0, in tegra30_pll_init() 830 clk = tegra_clk_register_pll("pll_m", "pll_ref", clk_base, pmc_base, in tegra30_pll_init() 844 clk = tegra_clk_register_pll("pll_x", "pll_ref", clk_base, pmc_base, 0, in tegra30_pll_init() 859 clk = tegra_clk_register_pll("pll_d", "pll_ref", clk_base, pmc_base, 0, in tegra30_pll_init() 869 clk = tegra_clk_register_pll("pll_d2", "pll_ref", clk_base, pmc_base, 0, in tegra30_pll_init() 883 clk = tegra_clk_register_plle("pll_e", "pll_e_mux", clk_base, pmc_base, in tegra30_pll_init() 987 tegra_super_clk_gen4_init(clk_base, pmc_base, tegra30_clks, NULL); in tegra30_super_clk_init() 1074 tegra_periph_clk_init(clk_base, pmc_base, tegra30_clks, &pll_p_params); in tegra30_periph_clk_init() 1334 pmc_base = of_iomap(node, 0); in tegra30_clock_init() [all …]
|
D | clk-tegra114.c | 131 static void __iomem *pmc_base; variable 1015 void __iomem *pmc_base) in tegra114_periph_clk_init() argument 1070 tegra_periph_clk_init(clk_base, pmc_base, tegra114_clks, in tegra114_periph_clk_init() 1319 pmc_base = of_iomap(node, 0); in tegra114_clock_init() 1320 if (!pmc_base) { in tegra114_clock_init() 1337 tegra114_pll_init(clk_base, pmc_base); in tegra114_clock_init() 1338 tegra114_periph_clk_init(clk_base, pmc_base); in tegra114_clock_init() 1339 tegra_audio_clk_init(clk_base, pmc_base, tegra114_clks, in tegra114_clock_init() 1342 tegra_super_clk_gen4_init(clk_base, pmc_base, tegra114_clks, in tegra114_clock_init()
|
D | clk-tegra-audio.c | 164 void __iomem *pmc_base, struct tegra_clk *tegra_clks, in tegra_audio_clk_init() argument 184 clk_base, pmc_base, 0, info->pll_params, in tegra_audio_clk_init()
|
D | clk-tegra124.c | 120 static void __iomem *pmc_base; variable 1025 void __iomem *pmc_base) in tegra124_periph_clk_init() argument 1083 tegra_periph_clk_init(clk_base, pmc_base, tegra124_clks, &pll_p_params); in tegra124_periph_clk_init() 1473 pmc_base = of_iomap(node, 0); in tegra124_132_clock_init_pre() 1474 if (!pmc_base) { in tegra124_132_clock_init_pre() 1491 tegra124_pll_init(clk_base, pmc_base); in tegra124_132_clock_init_pre() 1492 tegra124_periph_clk_init(clk_base, pmc_base); in tegra124_132_clock_init_pre() 1493 tegra_audio_clk_init(clk_base, pmc_base, tegra124_clks, in tegra124_132_clock_init_pre() 1515 tegra_super_clk_gen4_init(clk_base, pmc_base, tegra124_clks, in tegra124_132_clock_init_post()
|
D | clk.h | 864 void __iomem *pmc_base, struct tegra_clk *tegra_clks, 868 void tegra_periph_clk_init(void __iomem *clk_base, void __iomem *pmc_base, 878 void __iomem *pmc_base, struct tegra_clk *tegra_clks, 881 void __iomem *pmc_base, struct tegra_clk *tegra_clks,
|
D | clk-tegra20.c | 131 static void __iomem *pmc_base; variable 690 clk = tegra_clk_register_plle("pll_e", "pll_ref", clk_base, pmc_base, in tegra20_pll_init() 857 tegra_periph_clk_init(clk_base, pmc_base, tegra20_clks, &pll_p_params); in tegra20_periph_clk_init() 1130 pmc_base = of_iomap(node, 0); in tegra20_clock_init() 1131 if (!pmc_base) { in tegra20_clock_init() 1145 tegra_super_clk_gen4_init(clk_base, pmc_base, tegra20_clks, NULL); in tegra20_clock_init()
|
D | clk-tegra-periph.c | 943 static void __init init_pllp(void __iomem *clk_base, void __iomem *pmc_base, in init_pllp() argument 955 pmc_base, 0, pll_params, NULL); in init_pllp() 1027 void __iomem *pmc_base, struct tegra_clk *tegra_clks, in tegra_periph_clk_init() argument 1030 init_pllp(clk_base, pmc_base, tegra_clks, pll_params); in tegra_periph_clk_init()
|
D | clk-tegra210.c | 299 static void __iomem *pmc_base; variable 3040 void __iomem *pmc_base) in tegra210_periph_clk_init() argument 3133 tegra_periph_clk_init(clk_base, pmc_base, tegra210_clks, &pll_p_params); in tegra210_periph_clk_init() 3699 pmc_base = of_iomap(node, 0); in tegra210_clock_init() 3700 if (!pmc_base) { in tegra210_clock_init() 3738 tegra210_pll_init(clk_base, pmc_base); in tegra210_clock_init() 3739 tegra210_periph_clk_init(np, clk_base, pmc_base); in tegra210_clock_init() 3740 tegra_audio_clk_init(clk_base, pmc_base, tegra210_clks, in tegra210_clock_init() 3751 tegra_super_clk_gen5_init(clk_base, pmc_base, tegra210_clks, in tegra210_clock_init()
|
/Linux-v5.10/drivers/power/reset/ |
D | at91-sama5d2_shdwc.c | 91 void __iomem *pmc_base; member 161 "r" (at91_shdwc->pmc_base), in at91_poweroff() 350 at91_shdwc->pmc_base = of_iomap(np, 0); in at91_shdwc_probe() 353 if (!at91_shdwc->pmc_base) { in at91_shdwc_probe() 385 iounmap(at91_shdwc->pmc_base); in at91_shdwc_probe() 405 iounmap(shdw->pmc_base); in at91_shdwc_remove()
|
/Linux-v5.10/drivers/clk/ |
D | clk-vt8500.c | 48 static void __iomem *pmc_base; variable 56 pmc_base = of_iomap(np, 0); in vtwm_set_pmc_base() 58 pmc_base = ioremap(LEGACY_PMC_BASE, 0x1000); in vtwm_set_pmc_base() 61 if (!pmc_base) in vtwm_set_pmc_base() 71 while (readl(pmc_base) & VT8500_PMC_BUSY_MASK) in vt8500_pmc_wait_busy() 234 if (!pmc_base) in vtwm_device_clk_init() 245 dev_clk->en_reg = pmc_base + en_reg; in vtwm_device_clk_init() 257 dev_clk->div_reg = pmc_base + div_reg; in vtwm_device_clk_init() 683 if (!pmc_base) in vtwm_pll_clk_init() 694 pll_clk->reg = pmc_base + reg; in vtwm_pll_clk_init()
|
/Linux-v5.10/arch/arm/mach-at91/ |
D | pm_suspend.S | 88 str tmp1, .pmc_base 126 ldr pmc, .pmc_base 145 ldr pmc, .pmc_base 166 ldr pmc, .pmc_base 253 ldr pmc, .pmc_base 501 ldr pmc, .pmc_base 536 ldr pmc, .pmc_base 677 .pmc_base: label
|
/Linux-v5.10/include/linux/soc/dove/ |
D | pmu.h | 15 void __iomem *pmc_base; member
|
/Linux-v5.10/arch/arm/mach-dove/ |
D | common.c | 413 .pmc_base = DOVE_PMU_VIRT_BASE,
|