Lines Matching full:cpuidle
89 /* CPUidle idlestate specific /sys/devices/system/cpu/cpuX/cpuidle/ access */
92 /* CPUidle idlestate specific /sys/devices/system/cpu/cpuX/cpuidle/ access */
95 * helper function to check whether a file under "../cpuX/cpuidle/stateX/" dir
111 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_file_exists()
120 * fname is a relative path under "cpuX/cpuidle/stateX/" dir
131 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_read_file()
152 * fname is a relative path under "../cpuX/cpuidle/cstateY/" dir
166 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_write_file()
352 * Zero if cpuidle does not export any C-states
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()
371 "cpu%u/cpuidle/state%d", cpu, idlestates); in sysfs_get_idlestate_count()
378 /* CPUidle general /sys/devices/system/cpu/cpuidle/ sysfs access ********/
382 * fname is a relative path under "cpu/cpuidle/" dir
389 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
449 /* CPUidle idlestate specific /sys/devices/system/cpu/cpuX/cpuidle/ access */