Lines Matching refs:prcm_membase
36 static void __iomem *prcm_membase; variable
50 prcm_membase = of_iomap(node, 0); in sun6i_smp_prepare_cpus()
52 if (!prcm_membase) { in sun6i_smp_prepare_cpus()
77 if (!(prcm_membase && cpucfg_membase)) in sun6i_smp_boot_secondary()
99 writel(0xff >> i, prcm_membase + PRCM_CPU_PWR_CLAMP_REG(cpu)); in sun6i_smp_boot_secondary()
103 reg = readl(prcm_membase + PRCM_CPU_PWROFF_REG); in sun6i_smp_boot_secondary()
104 writel(reg & ~BIT(cpu), prcm_membase + PRCM_CPU_PWROFF_REG); in sun6i_smp_boot_secondary()
135 prcm_membase = of_iomap(node, 0); in sun8i_smp_prepare_cpus()
137 if (!prcm_membase) { in sun8i_smp_prepare_cpus()
161 if (!(prcm_membase && cpucfg_membase)) in sun8i_smp_boot_secondary()
178 reg = readl(prcm_membase + PRCM_CPU_PWROFF_REG); in sun8i_smp_boot_secondary()
179 writel(reg & ~BIT(cpu), prcm_membase + PRCM_CPU_PWROFF_REG); in sun8i_smp_boot_secondary()