Lines Matching refs:cpuid
11 unsigned long cpuid; in cpu_status_all() local
13 for (cpuid = 0; ; cpuid++) { in cpu_status_all()
14 if (!is_core_valid(cpuid)) { in cpu_status_all()
15 if (cpuid == 0) { in cpu_status_all()
16 printf("Core num: %lu is not valid\n", cpuid); in cpu_status_all()
21 cpu_status(cpuid); in cpu_status_all()
30 unsigned long cpuid; in cpu_cmd() local
38 cpuid = simple_strtoul(argv[1], NULL, 10); in cpu_cmd()
39 if (!is_core_valid(cpuid)) { in cpu_cmd()
40 printf ("Core num: %lu is not valid\n", cpuid); in cpu_cmd()
47 cpu_reset(cpuid); in cpu_cmd()
49 cpu_status(cpuid); in cpu_cmd()
51 return cpu_disable(cpuid); in cpu_cmd()
62 if (cpu_release(cpuid, argc - 3, argv + 3)) in cpu_cmd()