Searched refs:PATH_TO_CPU (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/tools/power/cpupower/utils/helpers/
H A Dsysfs.c58 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); sysfs_is_cpu_online()
67 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu); sysfs_is_cpu_online()
112 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", sysfs_idlestate_file_exists()
132 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", sysfs_idlestate_read_file()
167 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", sysfs_idlestate_write_file()
362 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); sysfs_get_idlestate_count()
366 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); sysfs_get_idlestate_count()
371 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU sysfs_get_idlestate_count()
390 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); sysfs_cpuidle_read_file()
H A Dsysfs.h4 #define PATH_TO_CPU "/sys/devices/system/cpu/" macro
H A Dtopology.c29 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/topology/%s", sysfs_topology_read_file()
/linux-4.1.27/tools/power/cpupower/lib/
H A Dsysfs.c19 #define PATH_TO_CPU "/sys/devices/system/cpu/" macro
55 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", sysfs_cpufreq_read_file()
70 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", sysfs_cpufreq_write_file()
664 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/", cpu); sysfs_cpu_exists()

Completed in 177 milliseconds