Lines Matching +full:skip +full:- +full:power +full:- +full:up
1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2011-2014 Samsung Electronics Co., Ltd.
6 // Exynos - Power Management support
8 // Based on arch/arm/mach-s3c2410/pm.c
17 #include <linux/soc/samsung/exynos-regs-pmu.h>
18 #include <linux/soc/samsung/exynos-pmu.h>
47 /* For Cortex-A9 Diagnostic and Power control register */
54 /* Save Power control register */ in exynos_cpu_save_register()
71 /* Restore Power control register */ in exynos_cpu_restore_register()
90 /* Setting Central Sequence Register for power down mode */ in exynos_pm_central_suspend()
113 return -1; in exynos_pm_central_resume()
119 /* Ext-GIC nIRQ/nFIQ is the only wakeup source in AFTR */
139 /* Set value of power down register for aftr mode */ in exynos_aftr_finisher()
143 if (ret == -ENOSYS) { in exynos_aftr_finisher()
174 if (call_firmware_op(resume) == -ENOSYS) in exynos_enter_aftr()
191 int ret = -1; in exynos_cpu0_enter_aftr()
194 * If the other cpu is powered on, we have to power it off, because in exynos_cpu0_enter_aftr()
200 * the other cpu will power down itself or will abort the in exynos_cpu0_enter_aftr()
207 * The other cpu may skip idle and boot back in exynos_cpu0_enter_aftr()
208 * up again in exynos_cpu0_enter_aftr()
215 * boot back up again, getting stuck in the in exynos_cpu0_enter_aftr()
221 ret = -1; in exynos_cpu0_enter_aftr()
237 * Set the boot vector to something non-zero in exynos_cpu0_enter_aftr()
285 return -1; in exynos_wfi_finisher()
290 int ret = -1; in exynos_cpu1_powerdown()