Searched refs:one_value (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/tools/power/cpupower/lib/ |
D | cpufreq.c | 349 char one_value[SYSFS_PATH_MAX]; in cpufreq_get_available_frequencies() local 380 memcpy(one_value, linebuf + pos, i - pos); in cpufreq_get_available_frequencies() 381 one_value[i - pos] = '\0'; in cpufreq_get_available_frequencies() 382 if (sscanf(one_value, "%lu", ¤t->frequency) != 1) in cpufreq_get_available_frequencies() 405 char one_value[SYSFS_PATH_MAX]; in cpufreq_get_boost_frequencies() local 436 memcpy(one_value, linebuf + pos, i - pos); in cpufreq_get_boost_frequencies() 437 one_value[i - pos] = '\0'; in cpufreq_get_boost_frequencies() 438 if (sscanf(one_value, "%lu", ¤t->frequency) != 1) in cpufreq_get_boost_frequencies() 481 char one_value[SYSFS_PATH_MAX]; in sysfs_get_cpu_list() local 511 memcpy(one_value, linebuf + pos, i - pos); in sysfs_get_cpu_list() [all …]
|