Lines Matching refs:core_id

33 static inline void cpu_leave_lowpower(u32 core_id)  in cpu_leave_lowpower()  argument
52 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in platform_do_lowpower() local
57 exynos_cpu_power_down(core_id); in platform_do_lowpower()
61 if (exynos_pen_release == core_id) { in platform_do_lowpower()
211 void exynos_core_restart(u32 core_id) in exynos_core_restart() argument
224 pr_err("cpu core %u restart failed\n", core_id); in exynos_core_restart()
229 val = pmu_raw_readl(EXYNOS_ARM_CORE_STATUS(core_id)); in exynos_core_restart()
231 pmu_raw_writel(val, EXYNOS_ARM_CORE_STATUS(core_id)); in exynos_core_restart()
233 pmu_raw_writel(EXYNOS_CORE_PO_RESET(core_id), EXYNOS_SWRESET); in exynos_core_restart()
267 int exynos_set_boot_addr(u32 core_id, unsigned long boot_addr) in exynos_set_boot_addr() argument
275 ret = call_firmware_op(set_cpu_boot_addr, core_id, boot_addr); in exynos_set_boot_addr()
279 void __iomem *boot_reg = cpu_boot_reg(core_id); in exynos_set_boot_addr()
292 int exynos_get_boot_addr(u32 core_id, unsigned long *boot_addr) in exynos_get_boot_addr() argument
300 ret = call_firmware_op(get_cpu_boot_addr, core_id, boot_addr); in exynos_get_boot_addr()
304 void __iomem *boot_reg = cpu_boot_reg(core_id); in exynos_get_boot_addr()
321 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in exynos_boot_secondary() local
338 exynos_write_pen_release(core_id); in exynos_boot_secondary()
340 if (!exynos_cpu_power_state(core_id)) { in exynos_boot_secondary()
341 exynos_cpu_power_up(core_id); in exynos_boot_secondary()
345 while (exynos_cpu_power_state(core_id) in exynos_boot_secondary()
360 exynos_core_restart(core_id); in exynos_boot_secondary()
376 ret = exynos_set_boot_addr(core_id, boot_addr); in exynos_boot_secondary()
380 call_firmware_op(cpu_boot, core_id); in exynos_boot_secondary()
426 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in exynos_cpu_die() local
436 cpu_leave_lowpower(core_id); in exynos_cpu_die()