Searched refs:idlestates (Results 1 – 4 of 4) sorted by relevance
25 unsigned int idlestates, idlestate; in cpuidle_cpu_output() local28 idlestates = cpuidle_state_count(cpu); in cpuidle_cpu_output()29 if (idlestates == 0) { in cpuidle_cpu_output()34 printf(_("Number of idle states: %d\n"), idlestates); in cpuidle_cpu_output()36 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cpuidle_cpu_output()48 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cpuidle_cpu_output()
31 unsigned int cpu = 0, idlestate = 0, idlestates = 0; in cmd_idle_set() local111 idlestates = cpuidle_state_count(cpu); in cmd_idle_set()112 if (idlestates <= 0) in cmd_idle_set()143 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cmd_idle_set()166 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cmd_idle_set()
288 int idlestates = 1; in cpuidle_state_count() local301 "cpu%u/cpuidle/state%d", cpu, idlestates); in cpuidle_state_count()302 idlestates++; in cpuidle_state_count()304 idlestates--; in cpuidle_state_count()305 return idlestates; in cpuidle_state_count()
358 int idlestates = 1; in sysfs_get_idlestate_count() local371 "cpu%u/cpuidle/state%d", cpu, idlestates); in sysfs_get_idlestate_count()372 idlestates++; in sysfs_get_idlestate_count()374 idlestates--; in sysfs_get_idlestate_count()375 return idlestates; in sysfs_get_idlestate_count()