Lines Matching refs:ctrl_base
24 static void __iomem *ctrl_base; variable
29 if (!cpu || !ctrl_base) in hi3xxx_set_cpu_jump()
31 writel_relaxed(virt_to_phys(jump_addr), ctrl_base + ((cpu - 1) << 2)); in hi3xxx_set_cpu_jump()
37 if (!cpu || !ctrl_base) in hi3xxx_get_cpu_jump()
39 return readl_relaxed(ctrl_base + ((cpu - 1) << 2)); in hi3xxx_get_cpu_jump()
65 if (!ctrl_base) { in hi3xxx_smp_prepare_cpus()
71 ctrl_base = of_iomap(np, 0); in hi3xxx_smp_prepare_cpus()
72 if (!ctrl_base) { in hi3xxx_smp_prepare_cpus()
80 ctrl_base += offset; in hi3xxx_smp_prepare_cpus()
165 ctrl_base = of_iomap(node, 0); in hip01_boot_secondary()
168 remap_reg_value = readl_relaxed(ctrl_base + REG_SC_CTRL); in hip01_boot_secondary()
172 writel_relaxed(remap_reg_value, ctrl_base + REG_SC_CTRL); in hip01_boot_secondary()