Home
last modified time | relevance | path

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

/drivers/cpuidle/
Dcpuidle.c216 int entered_state; in cpuidle_enter_state() local
279 entered_state = target_state->enter(dev, drv, index); in cpuidle_enter_state()
293 trace_android_vh_cpu_idle_exit(entered_state, dev); in cpuidle_enter_state()
304 if (entered_state >= 0) { in cpuidle_enter_state()
305 s64 diff, delay = drv->states[entered_state].exit_latency_ns; in cpuidle_enter_state()
316 dev->states_usage[entered_state].time_ns += diff; in cpuidle_enter_state()
317 dev->states_usage[entered_state].usage++; in cpuidle_enter_state()
319 if (diff < drv->states[entered_state].target_residency_ns) { in cpuidle_enter_state()
320 for (i = entered_state - 1; i >= 0; i--) { in cpuidle_enter_state()
325 dev->states_usage[entered_state].above++; in cpuidle_enter_state()
[all …]
Dcoupled.c473 int entered_state = -1; in cpuidle_enter_state_coupled() local
484 return entered_state; in cpuidle_enter_state_coupled()
486 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()
534 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()
595 entered_state = cpuidle_enter_state(dev, drv, next_state); in cpuidle_enter_state_coupled()
624 return entered_state; in cpuidle_enter_state_coupled()