Lines Matching refs:sleep_cpu
29 static int sleep_cpu = -EINVAL;
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 < 0) {
412 return freeze_secondary_cpus(sleep_cpu);