/linux/drivers/firmware/psci/ |
H A D | psci.c | 187 return __psci_cpu_suspend(psci_0_1_function_ids.cpu_suspend, in psci_0_1_cpu_suspend() 194 return __psci_cpu_suspend(PSCI_FN_NATIVE(0_2, CPU_SUSPEND), in psci_0_2_cpu_suspend() 393 feature = psci_features(PSCI_FN_NATIVE(0_2, CPU_SUSPEND)); in psci_debugfs_read() 395 seq_printf(s, "PSCI_FEATURES(CPU_SUSPEND) error (%d)\n", feature); in psci_debugfs_read() 466 return psci_ops.cpu_suspend(power_state, pa_cpu_resume); in late_initcall() 478 ret = psci_ops.cpu_suspend(state, 0); in psci_cpu_suspend_enter() 483 * ARM64 cpu_suspend() wants to do ct_cpuidle_*() itself. in psci_cpu_suspend_enter() 488 ret = cpu_suspend(state, psci_suspend_finisher); in psci_cpu_suspend_enter() 510 return cpu_suspend(0, psci_system_suspend); in psci_system_suspend_enter() 543 int feature = psci_features(PSCI_FN_NATIVE(0_2, CPU_SUSPEND)); in psci_init_cpu_suspend() [all …]
|
/linux/arch/arm64/kernel/ |
H A D | suspend.c | 29 * This hook is provided so that cpu_suspend code can restore HW 72 * by cpu_suspend()s local_daif_restore() call. in __cpu_suspend_exit() 91 * cpu_suspend 97 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() function 148 * Successful cpu_suspend() should return from cpu_resume(), in cpu_suspend()
|
/linux/arch/arm/mach-highbank/ |
H A D | pm.c | 24 return psci_ops.cpu_suspend(HIGHBANK_SUSPEND_PARAM, __pa(cpu_resume)); in highbank_suspend_finish() 32 cpu_suspend(0, highbank_suspend_finish); in highbank_pm_enter() 47 if (!psci_ops.cpu_suspend) in highbank_pm_init()
|
/linux/arch/arm/mach-omap2/ |
H A D | pm33xx-core.c | 161 ret = cpu_suspend(args, fn); in am33xx_suspend() 195 ret = cpu_suspend(args, fn); in am43xx_suspend() 224 ret = cpu_suspend(args, fn); in am33xx_cpu_suspend() 237 ret = cpu_suspend(args, fn); in am43xx_cpu_suspend() 291 .cpu_suspend = am33xx_cpu_suspend, 304 .cpu_suspend = am43xx_cpu_suspend,
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | psci.yaml | 73 cpu_suspend: 75 description: Function ID for CPU_SUSPEND operation 94 Device tree nodes that require usage of PSCI CPU_SUSPEND function (ie 151 cpu_suspend = <0x95c10000>;
|
/linux/arch/arm/mach-exynos/ |
H A D | suspend.c | 58 int (*cpu_suspend)(unsigned long); member 548 ret = cpu_suspend(0, pm_data->cpu_suspend); in exynos_suspend_enter() 606 .cpu_suspend = exynos3250_cpu_suspend, 615 .cpu_suspend = exynos_cpu_suspend, 624 .cpu_suspend = exynos_cpu_suspend, 634 .cpu_suspend = exynos5420_cpu_suspend,
|
H A D | pm.c | 170 cpu_suspend(0, exynos_aftr_finisher); in exynos_enter_aftr() 306 ret = cpu_suspend(0, exynos_wfi_finisher); in exynos_cpu1_powerdown()
|
/linux/include/linux/ |
H A D | psci.h | 26 int (*cpu_suspend)(u32 state, unsigned long entry_point); member 38 u32 cpu_suspend; member
|
/linux/drivers/cpuidle/ |
H A 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()
|
H A D | cpuidle-tegra.c | 117 ret = cpu_suspend(cpu, tegra_pm_park_secondary_cpu); in tegra_cpuidle_cc6_enter() 137 return cpu_suspend(0, tegra30_pm_secondary_cpu_suspend); in tegra_cpuidle_c7_enter()
|
H A D | cpuidle-psci.c | 300 * If the PSCI cpu_suspend function hook has not been initialized in psci_cpu_init_idle() 303 if (!psci_ops.cpu_suspend) in psci_cpu_init_idle()
|
/linux/drivers/acpi/arm64/ |
H A D | cpuidle.c | 27 * If the PSCI cpu_suspend function hook has not been initialized in psci_acpi_cpu_init_idle() 30 if (!psci_ops.cpu_suspend) in psci_acpi_cpu_init_idle()
|
/linux/arch/arm/kernel/ |
H A D | hibernate.c | 54 * returned from cpu_suspend. 73 return cpu_suspend(0, arch_save_image); in swsusp_arch_suspend()
|
H A D | suspend.c | 21 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() function 64 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() function
|
H A D | psci_smp.c | 23 * cpu_suspend Suspend the execution on a CPU
|
/linux/include/uapi/linux/ |
H A D | psci.h | 72 /* PSCI v0.2 power state encoding for CPU_SUSPEND function */ 82 /* PSCI extended power state encoding for CPU_SUSPEND function */
|
/linux/arch/arm/mach-tegra/ |
H A D | pm.c | 206 err = cpu_suspend(PHYS_OFFSET - PAGE_OFFSET, &tegra_sleep_cpu); in tegra_pm_enter_lp2() 372 cpu_suspend(PHYS_OFFSET - PAGE_OFFSET, tegra_sleep_func); in tegra_suspend_enter() 425 /* set up sleep function for cpu_suspend */ in tegra_pm_init_suspend()
|
/linux/arch/arm/include/asm/ |
H A D | suspend.h | 15 extern int cpu_suspend(unsigned long, int (*)(unsigned long));
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | psci-relay.c | 50 return (is_psci_0_1(cpu_suspend, func_id) || in is_psci_0_1_call() 230 if (is_psci_0_1(cpu_suspend, func_id)) in psci_0_1_handler()
|
/linux/arch/arm64/include/asm/ |
H A D | suspend.h | 40 extern int cpu_suspend(unsigned long arg, int (*fn)(unsigned long));
|
/linux/Documentation/devicetree/bindings/power/ |
H A D | domain-idle-state.yaml | 53 Device tree nodes that require usage of PSCI CPU_SUSPEND function
|
/linux/include/linux/platform_data/ |
H A D | pm33xx.h | 53 int (*cpu_suspend)(int (*fn)(unsigned long), unsigned long args); member
|
/linux/arch/arm/mach-imx/ |
H A D | cpuidle-imx6sx.c | 51 cpu_suspend(0, imx6sx_idle_finish); in imx6sx_enter_wait()
|
/linux/arch/arm/mach-sa1100/ |
H A D | pm.c | 81 cpu_suspend(0, sa1100_finish_suspend); in sa11x0_pm_enter()
|
/linux/arch/arm/common/ |
H A D | bL_switcher.c | 90 * just returned from cpu_suspend(). It is therefore important to in bL_do_switch() 231 ret = cpu_suspend((unsigned long)&handshake_ptr, bL_switchpoint); in bL_switch_to() 233 panic("%s: cpu_suspend() returned %d\n", __func__, ret); in bL_switch_to()
|