Lines Matching full:cpuidle
16 #include "cpuidle.h"
20 * helper function to check whether a file under "../cpuX/cpuidle/stateX/" dir
37 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_file_exists()
46 * fname is a relative path under "cpuX/cpuidle/stateX/" dir
60 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_read_file()
81 * fname is a relative path under "../cpuX/cpuidle/cstateY/" dir
95 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_write_file()
290 * Zero if cpuidle does not export any C-states
299 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in cpuidle_state_count()
303 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in cpuidle_state_count()
309 "cpu%u/cpuidle/state%d", cpu, idlestates); in cpuidle_state_count()
316 /* CPUidle general /sys/devices/system/cpu/cpuidle/ sysfs access ********/
320 * fname is a relative path under "cpu/cpuidle/" dir
327 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
387 /* CPUidle idlestate specific /sys/devices/system/cpu/cpuX/cpuidle/ access */