Searched refs:one_value (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/tools/power/cpupower/lib/ |
D | cpufreq.c | 340 char one_value[SYSFS_PATH_MAX]; in cpufreq_get_available_frequencies() local 371 memcpy(one_value, linebuf + pos, i - pos); in cpufreq_get_available_frequencies() 372 one_value[i - pos] = '\0'; in cpufreq_get_available_frequencies() 373 if (sscanf(one_value, "%lu", ¤t->frequency) != 1) in cpufreq_get_available_frequencies() 396 char one_value[SYSFS_PATH_MAX]; in cpufreq_get_boost_frequencies() local 427 memcpy(one_value, linebuf + pos, i - pos); in cpufreq_get_boost_frequencies() 428 one_value[i - pos] = '\0'; in cpufreq_get_boost_frequencies() 429 if (sscanf(one_value, "%lu", ¤t->frequency) != 1) in cpufreq_get_boost_frequencies() 472 char one_value[SYSFS_PATH_MAX]; in sysfs_get_cpu_list() local 502 memcpy(one_value, linebuf + pos, i - pos); in sysfs_get_cpu_list() [all …]
|