Lines Matching refs:idlestate
31 unsigned int cpu = 0, idlestate = 0, idlestates = 0; in cmd_idle_set() local
56 idlestate = atoi(optarg); in cmd_idle_set()
117 ret = cpuidle_state_disable(cpu, idlestate, 1); in cmd_idle_set()
119 printf(_("Idlestate %u disabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
122 idlestate, cpu); in cmd_idle_set()
127 idlestate, cpu); in cmd_idle_set()
130 ret = cpuidle_state_disable(cpu, idlestate, 0); in cmd_idle_set()
132 printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
135 idlestate, cpu); in cmd_idle_set()
140 idlestate, cpu); in cmd_idle_set()
143 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cmd_idle_set()
145 (cpu, idlestate); in cmd_idle_set()
147 (cpu, idlestate); in cmd_idle_set()
151 (cpu, idlestate, 0); in cmd_idle_set()
153 printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
159 (cpu, idlestate, 1); in cmd_idle_set()
161 printf(_("Idlestate %u disabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
166 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cmd_idle_set()
168 (cpu, idlestate); in cmd_idle_set()
171 (cpu, idlestate, 0); in cmd_idle_set()
173 printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()