Searched refs:entered_state (Results 1 – 2 of 2) sorted by relevance
200 int entered_state; in cpuidle_enter_state() local229 entered_state = target_state->enter(dev, drv, index); in cpuidle_enter_state()249 if (entered_state >= 0) { in cpuidle_enter_state()250 s64 diff, delay = drv->states[entered_state].exit_latency; in cpuidle_enter_state()263 dev->states_usage[entered_state].time += dev->last_residency; in cpuidle_enter_state()264 dev->states_usage[entered_state].usage++; in cpuidle_enter_state()266 if (diff < drv->states[entered_state].target_residency) { in cpuidle_enter_state()267 for (i = entered_state - 1; i >= 0; i--) { in cpuidle_enter_state()273 dev->states_usage[entered_state].above++; in cpuidle_enter_state()277 for (i = entered_state + 1; i < drv->state_count; i++) { in cpuidle_enter_state()[all …]
472 int entered_state = -1; in cpuidle_enter_state_coupled() local483 return entered_state; in cpuidle_enter_state_coupled()485 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()533 entered_state = cpuidle_enter_state(dev, drv, in cpuidle_enter_state_coupled()594 entered_state = cpuidle_enter_state(dev, drv, next_state); in cpuidle_enter_state_coupled()623 return entered_state; in cpuidle_enter_state_coupled()