Lines Matching +full:1000 +full:- +full:10000
1 // SPDX-License-Identifier: GPL-2.0
59 return -1; in cpupower_intel_get_perf_bias()
64 return -1; in cpupower_intel_get_perf_bias()
68 return -1; in cpupower_intel_get_perf_bias()
79 return -1; in cpupower_intel_set_perf_bias()
85 return -1; in cpupower_intel_set_perf_bias()
99 return -1; in cpupower_set_epp()
104 return -1; in cpupower_set_epp()
117 return -1; in cpupower_set_amd_pstate_mode()
122 return -1; in cpupower_set_amd_pstate_mode()
135 return -1; in cpupower_set_turbo_boost()
140 return -1; in cpupower_set_turbo_boost()
195 str_len = online_cpus->size * 5; in print_online_cpus()
213 str_len = offline_cpus->size * 5; in print_offline_cpus()
236 else if (speed > 1000) in print_speed()
237 printf("%u.%03u MHz", ((unsigned int)speed / 1000), in print_speed()
238 (unsigned int)(speed % 1000)); in print_speed()
243 tmp = speed % 10000; in print_speed()
245 speed += 10000; in print_speed()
247 ((unsigned int)(speed % 1000000) / 10000)); in print_speed()
249 tmp = speed % 1000; in print_speed()
251 speed += 1000; in print_speed()
252 printf("%u MHz", ((unsigned int)speed / 1000)); in print_speed()
253 } else if (speed > 1000) { in print_speed()
257 printf("%u.%01u MHz", ((unsigned int)speed / 1000), in print_speed()
258 ((unsigned int)(speed % 1000) / 100)); in print_speed()