Home
last modified time | relevance | path

Searched refs:entered_state (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/cpuidle/
A Dcpuidle.c215 int entered_state; in cpuidle_enter_state() local
264 entered_state = target_state->enter(dev, drv, index); in cpuidle_enter_state()
288 if (entered_state >= 0) { in cpuidle_enter_state()
300 dev->states_usage[entered_state].time_ns += diff; in cpuidle_enter_state()
301 dev->states_usage[entered_state].usage++; in cpuidle_enter_state()
304 for (i = entered_state - 1; i >= 0; i--) { in cpuidle_enter_state()
309 dev->states_usage[entered_state].above++; in cpuidle_enter_state()
310 trace_cpu_idle_miss(dev->cpu, entered_state, false); in cpuidle_enter_state()
323 dev->states_usage[entered_state].below++; in cpuidle_enter_state()
324 trace_cpu_idle_miss(dev->cpu, entered_state, true); in cpuidle_enter_state()
[all …]
A Dcoupled.c468 int entered_state = -1; in cpuidle_enter_state_coupled() local
479 return entered_state; in cpuidle_enter_state_coupled()
481 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()
529 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()
590 entered_state = cpuidle_enter_state(dev, drv, next_state); in cpuidle_enter_state_coupled()
619 return entered_state; in cpuidle_enter_state_coupled()
/linux/kernel/sched/
A Didle.c171 int next_state, entered_state; in cpuidle_idle_call() local
204 entered_state = call_cpuidle_s2idle(drv, dev); in cpuidle_idle_call()
205 if (entered_state > 0) in cpuidle_idle_call()
230 entered_state = call_cpuidle(drv, dev, next_state); in cpuidle_idle_call()
234 cpuidle_reflect(dev, entered_state); in cpuidle_idle_call()

Completed in 10 milliseconds