Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/sched/
Didle.c132 int next_state, entered_state; in cpuidle_idle_call() local
171 entered_state = cpuidle_enter_s2idle(drv, dev); in cpuidle_idle_call()
172 if (entered_state > 0) { in cpuidle_idle_call()
200 entered_state = call_cpuidle(drv, dev, next_state); in cpuidle_idle_call()
204 cpuidle_reflect(dev, entered_state); in cpuidle_idle_call()
/Linux-v4.19/drivers/cpuidle/
Dcoupled.c481 int entered_state = -1; in cpuidle_enter_state_coupled() local
492 return entered_state; in cpuidle_enter_state_coupled()
494 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()
542 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()
603 entered_state = cpuidle_enter_state(dev, drv, next_state); in cpuidle_enter_state_coupled()
632 return entered_state; in cpuidle_enter_state_coupled()
Dcpuidle.c200 int entered_state; in cpuidle_enter_state() local
230 entered_state = target_state->enter(dev, drv, index); in cpuidle_enter_state()
256 if (entered_state >= 0) { in cpuidle_enter_state()
261 dev->states_usage[entered_state].time += dev->last_residency; in cpuidle_enter_state()
262 dev->states_usage[entered_state].usage++; in cpuidle_enter_state()
267 return entered_state; in cpuidle_enter_state()