Lines Matching refs:state
25 * CPU will flush caches as needed when entering a C-state via MWAIT
79 * Hardware C-state auto-demotion may not always be optimal.
94 * Enable this state by default even if the ACPI _CST does not list it.
106 * the C-state (top nibble) and sub-state (bottom nibble)
109 * We store the hint at the top of our "flags" for each state.
115 * intel_idle - Ask the processor to enter the given idle state.
118 * @index: Target idle state index.
121 * @dev is idle and it can try to enter the idle state corresponding to @index.
123 * If the local APIC timer is not known to be reliable in the target idle state,
134 struct cpuidle_state *state = &drv->states[index];
135 unsigned long eax = flg2MWAIT(state->flags);
162 * intel_idle_s2idle - Ask the processor to enter the given idle state.
165 * @index: Target idle state index.
168 * @dev is idle and it can try to enter the idle state corresponding to @index.
1169 static bool __init intel_idle_state_needs_timer_stop(struct cpuidle_state *state)
1171 unsigned long eax = flg2MWAIT(state->flags);
1177 * Switch over to one-shot tick broadcast if the target C-state
1263 struct cpuidle_state *state;
1270 state = &drv->states[drv->state_count++];
1272 snprintf(state->name, CPUIDLE_NAME_LEN, "C%d_ACPI", cstate);
1273 strlcpy(state->desc, cx->desc, CPUIDLE_DESC_LEN);
1274 state->exit_latency = cx->latency;
1284 state->target_residency = cx->latency;
1286 state->target_residency *= 3;
1288 state->flags = MWAIT2flg(cx->address);
1290 state->flags |= CPUIDLE_FLAG_TLB_FLUSHED;
1293 state->flags |= CPUIDLE_FLAG_OFF;
1295 if (intel_idle_state_needs_timer_stop(state))
1296 state->flags |= CPUIDLE_FLAG_TIMER_STOP;
1298 state->enter = intel_idle;
1299 state->enter_s2idle = intel_idle_s2idle;
1452 /* PC10 is not enabled in PKG C-state limit */
1479 /* Ignore the C-state if there are NO sub-states in CPUID for it. */
1516 /* If marked as unusable, skip this state. */
1518 pr_debug("state %s is disabled\n",
1745 * corresponding idle state directories in sysfs, "state0", "state1" ...
1746 * "state<i>" ..., where <i> is the index of the given state).