Lines Matching refs:states
70 if (drv->states[i].enter_dead) in cpuidle_play_dead()
71 return drv->states[i].enter_dead(dev, i); in cpuidle_play_dead()
86 struct cpuidle_state *s = &drv->states[i]; in find_deepest_state()
150 drv->states[index].enter_s2idle(dev, drv, index); in enter_s2idle_proper()
202 struct cpuidle_state *target_state = &drv->states[index]; in cpuidle_enter_state()
218 target_state = &drv->states[index]; in cpuidle_enter_state()
250 s64 diff, delay = drv->states[entered_state].exit_latency; in cpuidle_enter_state()
266 if (diff < drv->states[entered_state].target_residency) { in cpuidle_enter_state()
268 if (drv->states[i].disabled || in cpuidle_enter_state()
278 if (drv->states[i].disabled || in cpuidle_enter_state()
286 if (diff - delay >= drv->states[i].target_residency) in cpuidle_enter_state()
383 if (drv->states[i].disabled || dev->states_usage[i].disable) in cpuidle_poll_time()
386 limit_ns = (u64)drv->states[i].target_residency * NSEC_PER_USEC; in cpuidle_poll_time()