Lines Matching refs:states

20  * wakeups from idle states.  Moreover, information about what happened in the
25 * states to choose instead of it.
40 * idle states provided by the %CPUIdle driver in the ascending order. That is,
75 * and all of the deeper idle states (it represents the cases in which the
79 * - The sum of the "intercepts" metrics for all of the idle states shallower
84 * - The sum of the numbers of recent intercepts for all of the idle states
91 * - Traverse the idle states shallower than the candidate one in the
95 * of the numbers of recent intercepts over all of the idle states between
243 u64 lat_ns = drv->states[dev->last_state_idx].exit_latency_ns;
280 target_residency_ns = drv->states[i].target_residency_ns;
338 drv->states[i].target_residency_ns >= TICK_NSEC;
347 * @no_poll: Don't consider polling states.
357 (no_poll && drv->states[i].flags & CPUIDLE_FLAG_POLLING))
361 if (drv->states[i].target_residency_ns <= duration_ns)
417 * states to choose from, the metrics need not be considered, so choose
429 if ((!idx && !(drv->states[0].flags & CPUIDLE_FLAG_POLLING) &&
436 duration_ns = drv->states[1].target_residency_ns;
443 struct cpuidle_state *s = &drv->states[i];
446 * Update the sums of idle state mertics for all of the states
472 idx = 0; /* No states enabled, must use 0. */
481 duration_ns = drv->states[idx].target_residency_ns;
489 * If the sum of the intercepts metric for all of the idle states
492 * all of the deeper states, or the sum of the numbers of recent
493 * intercepts over all of the states shallower than the candidate one
587 if ((drv->states[0].flags & CPUIDLE_FLAG_POLLING) &&
588 drv->states[idx].target_residency_ns < RESIDENCY_THRESHOLD_NS)
598 if (drv->states[idx].target_residency_ns > duration_ns) {
609 if (drv->states[idx].target_residency_ns < TICK_NSEC &&
619 if ((!(drv->states[idx].flags & CPUIDLE_FLAG_POLLING) &&
629 drv->states[idx].target_residency_ns > delta_tick)