Home
last modified time | relevance | path

Searched refs:pcu_base (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/arm/mach-zx/
Dplatsmp.c40 static void __iomem *pcu_base; variable
86 pcu_base = of_iomap(np, 0); in zx_smp_prepare_cpus()
88 WARN_ON(!pcu_base); in zx_smp_prepare_cpus()
115 writel_relaxed(0x0, pcu_base + PCU_CPU1_CTRL); in zx_boot_secondary()
118 while (readl_relaxed(pcu_base + PCU_CPU1_ST) & 0x4) in zx_boot_secondary()
153 writel_relaxed(0x2, pcu_base + PCU_CPU1_CTRL); in zx_cpu_kill()
155 while ((readl_relaxed(pcu_base + PCU_CPU1_ST) & 0x3) != 0x0) { in zx_cpu_kill()
/Linux-v4.19/drivers/power/reset/
Dzx-reboot.c22 static void __iomem *pcu_base; variable
28 writel_relaxed(1, pcu_base + 0x34); in zx_restart_handler()
53 pcu_base = of_iomap(np, 0); in zx_reboot_probe()
55 if (!pcu_base) { in zx_reboot_probe()
64 iounmap(pcu_base); in zx_reboot_probe()