Lines Matching refs:idlestate
31 unsigned int cpu = 0, idlestate = 0, idlestates = 0; in cmd_idle_set() local
50 idlestate = atoi(optarg); in cmd_idle_set()
59 idlestate = atoi(optarg); in cmd_idle_set()
119 ret = cpuidle_state_disable(cpu, idlestate, 1); in cmd_idle_set()
121 printf(_("Idlestate %u disabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
124 idlestate, cpu); in cmd_idle_set()
129 idlestate, cpu); in cmd_idle_set()
132 ret = cpuidle_state_disable(cpu, idlestate, 0); in cmd_idle_set()
134 printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
137 idlestate, cpu); in cmd_idle_set()
142 idlestate, cpu); in cmd_idle_set()
145 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cmd_idle_set()
147 (cpu, idlestate); in cmd_idle_set()
149 (cpu, idlestate); in cmd_idle_set()
153 (cpu, idlestate, 0); in cmd_idle_set()
155 printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
161 (cpu, idlestate, 1); in cmd_idle_set()
163 printf(_("Idlestate %u disabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
168 for (idlestate = 0; idlestate < idlestates; idlestate++) { in cmd_idle_set()
170 (cpu, idlestate); in cmd_idle_set()
173 (cpu, idlestate, 0); in cmd_idle_set()
175 printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()