Lines Matching refs:sleep_cpu
61 static int sleep_cpu = -EINVAL; variable
131 if (sleep_cpu < 0) { in arch_hibernation_header_save()
135 hdr->sleep_cpu_mpidr = cpu_logical_map(sleep_cpu); in arch_hibernation_header_save()
136 pr_info("Hibernating on CPU %d [mpidr:0x%llx]\n", sleep_cpu, in arch_hibernation_header_save()
155 sleep_cpu = get_logical_index(hdr->sleep_cpu_mpidr); in arch_hibernation_header_restore()
156 pr_info("Hibernated on CPU %d [mpidr:0x%llx]\n", sleep_cpu, in arch_hibernation_header_restore()
158 if (sleep_cpu < 0) { in arch_hibernation_header_restore()
160 sleep_cpu = -EINVAL; in arch_hibernation_header_restore()
164 ret = bringup_hibernate_cpu(sleep_cpu); in arch_hibernation_header_restore()
166 sleep_cpu = -EINVAL; in arch_hibernation_header_restore()
358 sleep_cpu = smp_processor_id(); in swsusp_arch_suspend()
387 sleep_cpu = -EINVAL; in swsusp_arch_suspend()
481 if (sleep_cpu < 0) { in hibernate_resume_nonboot_cpu_disable()
486 return freeze_secondary_cpus(sleep_cpu); in hibernate_resume_nonboot_cpu_disable()