Home
last modified time | relevance | path

Searched full:cpu_suspend (Results 1 – 25 of 78) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/firmware/psci/
H A Dpsci.c178 return __psci_cpu_suspend(psci_0_1_function_ids.cpu_suspend, in psci_0_1_cpu_suspend()
184 return __psci_cpu_suspend(PSCI_FN_NATIVE(0_2, CPU_SUSPEND), in psci_0_2_cpu_suspend()
337 return psci_ops.cpu_suspend(power_state, __pa_function(cpu_resume)); in psci_suspend_finisher()
345 ret = psci_ops.cpu_suspend(state, 0); in psci_cpu_suspend_enter()
347 ret = cpu_suspend(state, psci_suspend_finisher); in psci_cpu_suspend_enter()
361 return cpu_suspend(0, psci_system_suspend); in psci_system_suspend_enter()
394 int feature = psci_features(PSCI_FN_NATIVE(0_2, CPU_SUSPEND)); in psci_init_cpu_suspend()
471 .cpu_suspend = psci_0_2_cpu_suspend, in psci_0_2_set_functions()
555 if (!of_property_read_u32(np, "cpu_suspend", &id)) { in psci_0_1_init()
556 psci_0_1_function_ids.cpu_suspend = id; in psci_0_1_init()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dsuspend.c26 * 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
118 * Successful cpu_suspend() should return from cpu_resume(), in cpu_suspend()
H A Dcpuidle.c24 if (ops && ops->cpu_suspend && ops->cpu_init_idle) in arm_cpuidle_init()
42 return ops->cpu_suspend(index); in arm_cpuidle_suspend()
61 * If the PSCI cpu_suspend function hook has not been initialized in psci_acpi_cpu_init_idle()
64 if (!psci_ops.cpu_suspend) in psci_acpi_cpu_init_idle()
/OK3568_Linux_fs/kernel/arch/arm/mach-highbank/
H A Dpm.c22 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()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/
H A Dsleep.S14 .globl cpu_suspend symbol
21 * int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
26 ENTRY(cpu_suspend)
53 ENDPROC(cpu_suspend)
/OK3568_Linux_fs/kernel/arch/arm/mach-omap2/
H A Dpm33xx-core.c166 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,
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/
H A Dsleep.S13 .globl cpu_suspend symbol
20 * int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
25 ENTRY(cpu_suspend)
86 ENDPROC(cpu_suspend)
/OK3568_Linux_fs/kernel/arch/arm/mach-exynos/
H A Dsuspend.c58 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,
H A Dpm.c170 cpu_suspend(0, exynos_aftr_finisher); in exynos_enter_aftr()
306 ret = cpu_suspend(0, exynos_wfi_finisher); in exynos_cpu1_powerdown()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A Dpsci.yaml78 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>;
/OK3568_Linux_fs/kernel/include/linux/
H A Dpsci.h26 int (*cpu_suspend)(u32 state, unsigned long entry_point); member
38 u32 cpu_suspend; member
/OK3568_Linux_fs/kernel/drivers/cpuidle/
H A Dcpuidle-calxeda.c31 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 Dcpuidle-tegra.c122 ret = cpu_suspend(cpu, tegra_pm_park_secondary_cpu); in tegra_cpuidle_cc6_enter()
146 return cpu_suspend(0, tegra30_pm_secondary_cpu_suspend); in tegra_cpuidle_c7_enter()
/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Dcpu_ops.h36 * @cpu_suspend: Suspends a cpu and saves the required context. May fail owing
54 int (*cpu_suspend)(unsigned long); member
H A Dsuspend.h40 extern int cpu_suspend(unsigned long arg, int (*fn)(unsigned long));
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Dhibernate.c54 * returned from cpu_suspend.
73 return cpu_suspend(0, arch_save_image); in swsusp_arch_suspend()
H A Dsuspend.c20 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
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dpsci.h55 /* PSCI v0.2 power state encoding for CPU_SUSPEND function */
65 /* PSCI extended power state encoding for CPU_SUSPEND function */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dpsci.h55 /* PSCI v0.2 power state encoding for CPU_SUSPEND function */
65 /* PSCI extended power state encoding for CPU_SUSPEND function */
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dpsci.h58 /* PSCI v0.2 power state encoding for CPU_SUSPEND function */
68 /* PSCI extended power state encoding for CPU_SUSPEND function */
/OK3568_Linux_fs/kernel/arch/arm/mach-tegra/
H A Dpm.c206 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_init_suspend()
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Dsuspend.h15 extern int cpu_suspend(unsigned long, int (*)(unsigned long));
/OK3568_Linux_fs/kernel/arch/arm/mach-tango/
H A Dpm.c18 return cpu_suspend(0, tango_pm_powerdown); in tango_pm_enter()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/
H A Dsuspend.h24 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long));
/OK3568_Linux_fs/kernel/arch/arm64/kvm/hyp/nvhe/
H A Dpsci-relay.c50 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()

1234