Lines Matching refs:states
72 if (drv->states[i].enter_dead) in cpuidle_play_dead()
73 return drv->states[i].enter_dead(dev, i); in cpuidle_play_dead()
88 struct cpuidle_state *s = &drv->states[i]; in find_deepest_state()
142 struct cpuidle_state *target_state = &drv->states[index]; in enter_s2idle_proper()
218 target_state = &drv->states[index]; in cpuidle_enter_state()
233 target_state = &drv->states[index]; in cpuidle_enter_state()
273 s64 diff, delay = drv->states[entered_state].exit_latency_ns; in cpuidle_enter_state()
287 if (diff < drv->states[entered_state].target_residency_ns) { in cpuidle_enter_state()
305 if (diff - delay >= drv->states[i].target_residency_ns) in cpuidle_enter_state()
406 limit_ns = drv->states[i].target_residency_ns; in cpuidle_poll_time()
598 if (drv->states[i].flags & CPUIDLE_FLAG_UNUSABLE) in __cpuidle_register_device()
601 if (drv->states[i].flags & CPUIDLE_FLAG_OFF) in __cpuidle_register_device()