Lines Matching refs:core_id

38 static inline void cpu_leave_lowpower(u32 core_id)  in cpu_leave_lowpower()  argument
57 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in platform_do_lowpower() local
62 exynos_cpu_power_down(core_id); in platform_do_lowpower()
66 if (pen_release == core_id) { in platform_do_lowpower()
198 static void exynos_core_restart(u32 core_id) in exynos_core_restart() argument
209 val = pmu_raw_readl(EXYNOS_ARM_CORE_STATUS(core_id)); in exynos_core_restart()
211 pmu_raw_writel(val, EXYNOS_ARM_CORE_STATUS(core_id)); in exynos_core_restart()
213 pr_info("CPU%u: Software reset\n", core_id); in exynos_core_restart()
214 pmu_raw_writel(EXYNOS_CORE_PO_RESET(core_id), EXYNOS_SWRESET); in exynos_core_restart()
255 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in exynos_boot_secondary() local
272 write_pen_release(core_id); in exynos_boot_secondary()
274 if (!exynos_cpu_power_state(core_id)) { in exynos_boot_secondary()
275 exynos_cpu_power_up(core_id); in exynos_boot_secondary()
279 while (exynos_cpu_power_state(core_id) in exynos_boot_secondary()
294 exynos_core_restart(core_id); in exynos_boot_secondary()
314 ret = call_firmware_op(set_cpu_boot_addr, core_id, boot_addr); in exynos_boot_secondary()
318 void __iomem *boot_reg = cpu_boot_reg(core_id); in exynos_boot_secondary()
327 call_firmware_op(cpu_boot, core_id); in exynos_boot_secondary()
403 u32 core_id; in exynos_smp_prepare_cpus() local
407 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in exynos_smp_prepare_cpus()
410 ret = call_firmware_op(set_cpu_boot_addr, core_id, boot_addr); in exynos_smp_prepare_cpus()
414 void __iomem *boot_reg = cpu_boot_reg(core_id); in exynos_smp_prepare_cpus()
433 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in exynos_cpu_die() local
443 cpu_leave_lowpower(core_id); in exynos_cpu_die()