Searched refs:sleep_cpu (Results 1 - 4 of 4) sorted by relevance

/linux-master/arch/arm64/kernel/
H A Dhibernate.c57 static int sleep_cpu = -EINVAL; variable
126 if (sleep_cpu < 0) {
130 hdr->sleep_cpu_mpidr = cpu_logical_map(sleep_cpu);
131 pr_info("Hibernating on CPU %d [mpidr:0x%llx]\n", sleep_cpu,
150 sleep_cpu = get_logical_index(hdr->sleep_cpu_mpidr);
151 pr_info("Hibernated on CPU %d [mpidr:0x%llx]\n", sleep_cpu,
153 if (sleep_cpu < 0) {
155 sleep_cpu = -EINVAL;
159 ret = bringup_hibernate_cpu(sleep_cpu);
161 sleep_cpu
[all...]
/linux-master/arch/riscv/kernel/
H A Dhibernate.c29 static int sleep_cpu = -EINVAL; variable
101 hdr->hartid = cpuid_to_hartid_map(sleep_cpu);
125 sleep_cpu = riscv_hartid_to_cpuid(hdr->hartid);
126 if (sleep_cpu < 0) {
128 sleep_cpu = -EINVAL;
133 ret = bringup_hibernate_cpu(sleep_cpu);
135 sleep_cpu = -EINVAL;
150 sleep_cpu = smp_processor_id();
162 sleep_cpu = -EINVAL;
407 if (sleep_cpu <
[all...]
/linux-master/include/linux/
H A Dcpu.h116 int bringup_hibernate_cpu(unsigned int sleep_cpu);
/linux-master/kernel/
H A Dcpu.c1795 * @sleep_cpu: The cpu we hibernated on and should be brought up.
1803 int bringup_hibernate_cpu(unsigned int sleep_cpu) argument
1807 if (!cpu_online(sleep_cpu)) {
1809 ret = cpu_up(sleep_cpu, CPUHP_ONLINE);

Completed in 159 milliseconds