Home
last modified time | relevance | path

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

/linux/arch/arm/mach-sunxi/
H A Dplatsmp.c35 static void __iomem *cpucfg_membase; variable
64 cpucfg_membase = of_iomap(node, 0); in sun6i_smp_prepare_cpus()
66 if (!cpucfg_membase) in sun6i_smp_prepare_cpus()
77 if (!(prcm_membase && cpucfg_membase)) in sun6i_smp_boot_secondary()
84 cpucfg_membase + CPUCFG_PRIVATE0_REG); in sun6i_smp_boot_secondary()
87 writel(0, cpucfg_membase + CPUCFG_CPU_RST_CTRL_REG(cpu)); in sun6i_smp_boot_secondary()
90 reg = readl(cpucfg_membase + CPUCFG_GEN_CTRL_REG); in sun6i_smp_boot_secondary()
91 writel(reg & ~BIT(cpu), cpucfg_membase + CPUCFG_GEN_CTRL_REG); in sun6i_smp_boot_secondary()
94 reg = readl(cpucfg_membase + CPUCFG_DBG_CTL1_REG); in sun6i_smp_boot_secondary()
95 writel(reg & ~BIT(cpu), cpucfg_membase + CPUCFG_DBG_CTL1_REG); in sun6i_smp_boot_secondary()
[all …]