| /kernel/linux/linux-4.19/arch/arm64/kernel/ |
| D | suspend.c | 25 * This hook is provided so that cpu_suspend code can restore HW 61 * by cpu_suspend()s local_daif_restore() call. in __cpu_suspend_exit() 76 * cpu_suspend 82 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() function 108 * Successful cpu_suspend() should return from cpu_resume(), in cpu_suspend()
|
| D | cpuidle.c | 25 if (cpu_ops[cpu] && cpu_ops[cpu]->cpu_suspend && in arm_cpuidle_init() 43 return cpu_ops[cpu]->cpu_suspend(index); in arm_cpuidle_suspend()
|
| /kernel/linux/linux-5.10/arch/arm64/kernel/ |
| D | suspend.c | 26 * This hook is provided so that cpu_suspend code can restore HW 66 * by cpu_suspend()s local_daif_restore() call. in __cpu_suspend_exit() 83 * cpu_suspend 89 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() function 115 * Successful cpu_suspend() should return from cpu_resume(), in cpu_suspend()
|
| D | cpuidle.c | 24 if (ops && ops->cpu_suspend && ops->cpu_init_idle) in arm_cpuidle_init() 42 return ops->cpu_suspend(index); in arm_cpuidle_suspend() 58 * If the PSCI cpu_suspend function hook has not been initialized in psci_acpi_cpu_init_idle() 61 if (!psci_ops.cpu_suspend) in psci_acpi_cpu_init_idle()
|
| /kernel/linux/linux-5.10/arch/arm/mach-highbank/ |
| D | pm.c | 22 return psci_ops.cpu_suspend(HIGHBANK_SUSPEND_PARAM, __pa(cpu_resume)); in highbank_suspend_finish() 30 cpu_suspend(0, highbank_suspend_finish); in highbank_pm_enter() 45 if (!psci_ops.cpu_suspend) in highbank_pm_init()
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/arm/ |
| D | psci.txt | 52 - cpu_suspend : Function ID for CPU_SUSPEND operation 60 Device tree nodes that require usage of PSCI CPU_SUSPEND function (ie idle 78 cpu_suspend = <0x95c10000>;
|
| /kernel/linux/linux-4.19/drivers/firmware/ |
| D | psci.c | 380 * If the PSCI cpu_suspend function hook has not been initialized in psci_cpu_init_idle() 383 if (!psci_ops.cpu_suspend) in psci_cpu_init_idle() 404 return psci_ops.cpu_suspend(state[index - 1], in psci_suspend_finisher() 414 * from the cpu_suspend operations in psci_cpu_suspend_enter() 420 ret = psci_ops.cpu_suspend(state[index - 1], 0); in psci_cpu_suspend_enter() 422 ret = cpu_suspend(index, psci_suspend_finisher); in psci_cpu_suspend_enter() 446 return cpu_suspend(0, psci_system_suspend); in psci_system_suspend_enter() 546 PSCI_FN_NATIVE(0_2, CPU_SUSPEND); in psci_0_2_set_functions() 547 psci_ops.cpu_suspend = psci_cpu_suspend; in psci_0_2_set_functions() 640 if (!of_property_read_u32(np, "cpu_suspend", &id)) { in psci_0_1_init() [all …]
|
| /kernel/linux/linux-4.19/arch/arm/mach-highbank/ |
| D | pm.c | 33 return psci_ops.cpu_suspend(HIGHBANK_SUSPEND_PARAM, __pa(cpu_resume)); in highbank_suspend_finish() 41 cpu_suspend(0, highbank_suspend_finish); in highbank_pm_enter() 56 if (!psci_ops.cpu_suspend) in highbank_pm_init()
|
| /kernel/linux/linux-5.10/drivers/firmware/psci/ |
| D | psci.c | 293 return psci_ops.cpu_suspend(power_state, __pa_symbol(cpu_resume)); in psci_suspend_finisher() 301 ret = psci_ops.cpu_suspend(state, 0); in psci_cpu_suspend_enter() 303 ret = cpu_suspend(state, psci_suspend_finisher); in psci_cpu_suspend_enter() 317 return cpu_suspend(0, psci_system_suspend); in psci_system_suspend_enter() 427 PSCI_FN_NATIVE(0_2, CPU_SUSPEND); in psci_0_2_set_functions() 428 psci_ops.cpu_suspend = psci_cpu_suspend; in psci_0_2_set_functions() 517 if (!of_property_read_u32(np, "cpu_suspend", &id)) { in psci_0_1_init() 519 psci_ops.cpu_suspend = psci_cpu_suspend; in psci_0_1_init()
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| D | pm33xx-core.c | 166 ret = cpu_suspend(args, fn); in am33xx_suspend() 200 ret = cpu_suspend(args, fn); in am43xx_suspend() 229 ret = cpu_suspend(args, fn); in am33xx_cpu_suspend() 242 ret = cpu_suspend(args, fn); in am43xx_cpu_suspend() 296 .cpu_suspend = am33xx_cpu_suspend, 309 .cpu_suspend = am43xx_cpu_suspend,
|
| /kernel/linux/linux-4.19/arch/arm/mach-exynos/ |
| D | suspend.c | 59 int (*cpu_suspend)(unsigned long); member 529 ret = cpu_suspend(0, pm_data->cpu_suspend); in exynos_suspend_enter() 594 .cpu_suspend = exynos3250_cpu_suspend, 603 .cpu_suspend = exynos_cpu_suspend, 612 .cpu_suspend = exynos_cpu_suspend, 622 .cpu_suspend = exynos5420_cpu_suspend,
|
| /kernel/linux/linux-5.10/arch/arm/mach-exynos/ |
| D | suspend.c | 58 int (*cpu_suspend)(unsigned long); member 547 ret = cpu_suspend(0, pm_data->cpu_suspend); in exynos_suspend_enter() 605 .cpu_suspend = exynos3250_cpu_suspend, 614 .cpu_suspend = exynos_cpu_suspend, 623 .cpu_suspend = exynos_cpu_suspend, 633 .cpu_suspend = exynos5420_cpu_suspend,
|
| /kernel/linux/linux-5.10/drivers/cpuidle/ |
| D | cpuidle-calxeda.c | 31 return psci_ops.cpu_suspend(CALXEDA_IDLE_PARAM, __pa(cpu_resume)); in calxeda_idle_finish() 39 cpu_suspend(0, calxeda_idle_finish); in calxeda_pwrdown_idle()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
| D | psci.yaml | 78 cpu_suspend: 80 description: Function ID for CPU_SUSPEND operation 99 Device tree nodes that require usage of PSCI CPU_SUSPEND function (ie 155 cpu_suspend = <0x95c10000>;
|
| /kernel/linux/linux-4.19/drivers/cpuidle/ |
| D | cpuidle-calxeda.c | 42 return psci_ops.cpu_suspend(CALXEDA_IDLE_PARAM, __pa(cpu_resume)); in calxeda_idle_finish() 50 cpu_suspend(0, calxeda_idle_finish); in calxeda_pwrdown_idle()
|
| /kernel/linux/linux-5.10/arch/arm64/include/asm/ |
| D | cpu_ops.h | 36 * @cpu_suspend: Suspends a cpu and saves the required context. May fail owing 54 int (*cpu_suspend)(unsigned long); member
|
| /kernel/linux/linux-4.19/include/uapi/linux/ |
| D | psci.h | 55 /* PSCI v0.2 power state encoding for CPU_SUSPEND function */ 65 /* PSCI extended power state encoding for CPU_SUSPEND function */
|
| /kernel/linux/linux-5.10/arch/arm/kernel/ |
| D | hibernate.c | 54 * returned from cpu_suspend. 73 return cpu_suspend(0, arch_save_image); in swsusp_arch_suspend()
|
| D | suspend.c | 20 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() function 56 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() function
|
| /kernel/linux/linux-4.19/arch/arm/kernel/ |
| D | hibernate.c | 55 * returned from cpu_suspend. 74 return cpu_suspend(0, arch_save_image); in swsusp_arch_suspend()
|
| D | suspend.c | 20 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() function 46 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() function
|
| /kernel/linux/linux-4.19/arch/arm64/include/asm/ |
| D | cpu_ops.h | 45 * @cpu_suspend: Suspends a cpu and saves the required context. May fail owing 62 int (*cpu_suspend)(unsigned long); member
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | psci.h | 58 /* PSCI v0.2 power state encoding for CPU_SUSPEND function */ 68 /* PSCI extended power state encoding for CPU_SUSPEND function */
|
| /kernel/linux/linux-4.19/arch/arm/mach-tegra/ |
| D | pm.c | 198 cpu_suspend(PHYS_OFFSET - PAGE_OFFSET, &tegra_sleep_cpu); in tegra_idle_lp2_last() 343 cpu_suspend(PHYS_OFFSET - PAGE_OFFSET, tegra_sleep_func); in tegra_suspend_enter() 386 /* set up sleep function for cpu_suspend */ in tegra_init_suspend()
|
| /kernel/linux/linux-4.19/arch/arm/mach-omap2/ |
| D | pm33xx-core.c | 118 ret = cpu_suspend(args, fn); in am33xx_suspend() 142 ret = cpu_suspend(args, fn); in am43xx_suspend()
|