Lines Matching refs:states
82 * C states, especially those with large exit latencies, can have a real
88 * The busier the system, the less impact of C states is acceptable
315 ((data->next_timer_ns < drv->states[1].target_residency_ns ||
316 latency_req < drv->states[1].exit_latency_ns) &&
323 *stop_tick = !(drv->states[0].flags & CPUIDLE_FLAG_POLLING);
355 struct cpuidle_state *s = &drv->states[i];
368 if ((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) &&
385 predicted_ns = drv->states[idx].target_residency_ns;
395 if (drv->states[idx].target_residency_ns < TICK_NSEC &&
408 idx = 0; /* No states enabled. Must use 0. */
414 if (((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) ||
418 if (idx > 0 && drv->states[idx].target_residency_ns > delta_tick) {
430 if (drv->states[i].target_residency_ns <= delta_tick)
465 struct cpuidle_state *target = &drv->states[last_idx];
495 } else if ((drv->states[last_idx].flags & CPUIDLE_FLAG_POLLING) &&
552 * menu_enable_device - scans a CPU's states and does setup