Lines Matching refs:sleep_cpu
57 static int sleep_cpu = -EINVAL; variable
126 if (sleep_cpu < 0) { in arch_hibernation_header_save()
130 hdr->sleep_cpu_mpidr = cpu_logical_map(sleep_cpu); in arch_hibernation_header_save()
131 pr_info("Hibernating on CPU %d [mpidr:0x%llx]\n", sleep_cpu, in arch_hibernation_header_save()
150 sleep_cpu = get_logical_index(hdr->sleep_cpu_mpidr); in arch_hibernation_header_restore()
151 pr_info("Hibernated on CPU %d [mpidr:0x%llx]\n", sleep_cpu, in arch_hibernation_header_restore()
153 if (sleep_cpu < 0) { in arch_hibernation_header_restore()
155 sleep_cpu = -EINVAL; in arch_hibernation_header_restore()
159 ret = bringup_hibernate_cpu(sleep_cpu); in arch_hibernation_header_restore()
161 sleep_cpu = -EINVAL; in arch_hibernation_header_restore()
354 sleep_cpu = smp_processor_id(); in swsusp_arch_suspend()
383 sleep_cpu = -EINVAL; in swsusp_arch_suspend()
477 if (sleep_cpu < 0) { in hibernate_resume_nonboot_cpu_disable()
482 return freeze_secondary_cpus(sleep_cpu); in hibernate_resume_nonboot_cpu_disable()