Searched defs:cpu_suspend (Results 1 - 5 of 5) sorted by relevance

/arch/arm/include/asm/
H A Dpsci.h27 int (*cpu_suspend)(struct psci_power_state state, member in struct:psci_operations
/arch/arm/kernel/
H A Dsuspend.c21 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) function
46 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) function
/arch/arm64/include/asm/
H A Dcpu_ops.h45 * @cpu_suspend: Suspends a cpu and saves the required context. May fail owing
62 int (*cpu_suspend)(unsigned long); member in struct:cpu_operations
/arch/arm64/kernel/
H A Dsuspend.c38 * This hook is provided so that cpu_suspend code can restore HW
54 * cpu_suspend() - function to enter a low-power state
60 int cpu_suspend(unsigned long arg) function
66 * has not been initialized, cpu_suspend call fails early.
68 if (!cpu_ops[cpu] || !cpu_ops[cpu]->cpu_suspend)
70 return cpu_ops[cpu]->cpu_suspend(arg);
H A Dpsci.c45 int (*cpu_suspend)(struct psci_power_state state, member in struct:psci_operations
226 * If the PSCI cpu_suspend function hook has not been initialized
229 if (!psci_ops.cpu_suspend)
342 psci_ops.cpu_suspend = psci_cpu_suspend;
384 if (!of_property_read_u32(np, "cpu_suspend", &id)) {
386 psci_ops.cpu_suspend = psci_cpu_suspend;
516 return psci_ops.cpu_suspend(state[index - 1],
526 * from the cpu_suspend operations
532 ret = psci_ops.cpu_suspend(state[index - 1], 0);
543 .cpu_suspend
[all...]

Completed in 83 milliseconds