Lines Matching refs:states
315 ((data->next_timer_ns < drv->states[1].target_residency_ns || in menu_select()
316 latency_req < drv->states[1].exit_latency_ns) && in menu_select()
323 *stop_tick = !(drv->states[0].flags & CPUIDLE_FLAG_POLLING); in menu_select()
355 struct cpuidle_state *s = &drv->states[i]; in menu_select()
368 if ((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) && in menu_select()
385 predicted_ns = drv->states[idx].target_residency_ns; in menu_select()
395 if (drv->states[idx].target_residency_ns < TICK_NSEC && in menu_select()
414 if (((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) || in menu_select()
418 if (idx > 0 && drv->states[idx].target_residency_ns > delta_tick) { in menu_select()
430 if (drv->states[i].target_residency_ns <= delta_tick) in menu_select()
465 struct cpuidle_state *target = &drv->states[last_idx]; in menu_update()
495 } else if ((drv->states[last_idx].flags & CPUIDLE_FLAG_POLLING) && in menu_update()