Home
last modified time | relevance | path

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

/linux-4.1.27/kernel/sched/
Didle.c83 int next_state, entered_state; in cpuidle_idle_call() local
121 entered_state = cpuidle_enter_freeze(drv, dev); in cpuidle_idle_call()
122 if (entered_state >= 0) { in cpuidle_idle_call()
147 entered_state = next_state; in cpuidle_idle_call()
160 entered_state = cpuidle_enter(drv, dev, next_state); in cpuidle_idle_call()
165 if (entered_state == -EBUSY) in cpuidle_idle_call()
172 cpuidle_reflect(dev, entered_state); in cpuidle_idle_call()
/linux-4.1.27/drivers/cpuidle/
Dcoupled.c460 int entered_state = -1; in cpuidle_enter_state_coupled() local
471 return entered_state; in cpuidle_enter_state_coupled()
473 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()
521 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()
582 entered_state = cpuidle_enter_state(dev, drv, next_state); in cpuidle_enter_state_coupled()
611 return entered_state; in cpuidle_enter_state_coupled()
Dcpuidle.c158 int entered_state; in cpuidle_enter_state() local
176 entered_state = target_state->enter(dev, drv, index); in cpuidle_enter_state()
197 if (entered_state >= 0) { in cpuidle_enter_state()
202 dev->states_usage[entered_state].time += dev->last_residency; in cpuidle_enter_state()
203 dev->states_usage[entered_state].usage++; in cpuidle_enter_state()
208 return entered_state; in cpuidle_enter_state()