Lines Matching refs:states
326 if (drv->states[0].flags & CPUIDLE_FLAG_POLLING) { in menu_select()
327 struct cpuidle_state *s = &drv->states[1]; in menu_select()
374 struct cpuidle_state *s = &drv->states[i]; in menu_select()
392 expected_interval = drv->states[idx].target_residency; in menu_select()
402 if (drv->states[idx].target_residency < TICK_USEC && in menu_select()
415 expected_interval = drv->states[idx].target_residency; in menu_select()
428 if (((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) || in menu_select()
434 if (idx > 0 && drv->states[idx].target_residency > delta_next_us) { in menu_select()
442 if (drv->states[i].disabled || in menu_select()
447 if (drv->states[i].target_residency <= delta_next_us) in menu_select()
485 struct cpuidle_state *target = &drv->states[last_idx]; in menu_update()
515 } else if ((drv->states[last_idx].flags & CPUIDLE_FLAG_POLLING) && in menu_update()