Lines Matching refs:states
71 if (drv->states[i].enter_dead) in cpuidle_play_dead()
72 return drv->states[i].enter_dead(dev, i); in cpuidle_play_dead()
87 struct cpuidle_state *s = &drv->states[i]; in find_deepest_state()
141 struct cpuidle_state *target_state = &drv->states[index]; in enter_s2idle_proper()
205 struct cpuidle_state *target_state = &drv->states[index]; in cpuidle_enter_state()
221 target_state = &drv->states[index]; in cpuidle_enter_state()
260 s64 diff, delay = drv->states[entered_state].exit_latency_ns; in cpuidle_enter_state()
274 if (diff < drv->states[entered_state].target_residency_ns) { in cpuidle_enter_state()
292 if (diff - delay >= drv->states[i].target_residency_ns) in cpuidle_enter_state()
410 state_limit = drv->states[i].target_residency_ns; in cpuidle_poll_time()
606 if (drv->states[i].flags & CPUIDLE_FLAG_UNUSABLE) in __cpuidle_register_device()
609 if (drv->states[i].flags & CPUIDLE_FLAG_OFF) in __cpuidle_register_device()