Searched refs:PATH_TO_CPU (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/tools/power/cpupower/utils/helpers/ |
D | sysfs.c | 57 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); in sysfs_is_cpu_online() 66 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu); in sysfs_is_cpu_online() 111 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_file_exists() 131 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_read_file() 166 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_write_file() 361 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in sysfs_get_idlestate_count() 365 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in sysfs_get_idlestate_count() 370 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in sysfs_get_idlestate_count() 389 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
|
D | misc.c | 61 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in cpupower_intel_get_perf_bias() 81 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in cpupower_intel_set_perf_bias()
|
D | sysfs.h | 5 #define PATH_TO_CPU "/sys/devices/system/cpu/" macro
|
/linux-6.1.9/tools/power/cpupower/lib/ |
D | cpuidle.c | 37 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_file_exists() 60 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_read_file() 95 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_write_file() 291 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in cpuidle_state_count() 295 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in cpuidle_state_count() 300 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in cpuidle_state_count() 319 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
|
D | cpupower.c | 77 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); in cpupower_is_cpu_online() 86 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu); in cpupower_is_cpu_online() 116 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/topology/%s", in sysfs_topology_read_file()
|
D | cpupower_intern.h | 2 #define PATH_TO_CPU "/sys/devices/system/cpu/" macro
|
D | acpi_cppc.c | 22 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/acpi_cppc/%s", in acpi_cppc_read_file()
|
D | cpufreq.c | 28 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", in sysfs_cpufreq_read_file() 43 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", in sysfs_cpufreq_write_file()
|
/linux-6.1.9/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 94 #define PATH_TO_CPU "/sys/devices/system/cpu/" macro 856 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in get_epb() 878 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in set_epb()
|