Lines Matching refs:state
3 * processor_idle - idle state submodule to the ACPI processor driver
121 * Some BIOS implementations switch to C3 in the published C2 state.
126 static void lapic_timer_check_state(int state, struct acpi_processor *pr,
142 if (pwr->timer_broadcast_on_state < state)
146 pr->power.timer_broadcast_on_state = state;
174 static void lapic_timer_check_state(int state, struct acpi_processor *pr,
187 static void tsc_check_state(int state)
204 if (state > ACPI_STATE_C1)
209 static void tsc_check_state(int state) { return; }
218 /* if info is obtained from pblk/fadt, type equals state */
289 /* the C0 state only exists as a filler in our array */
361 * WBINVD should be set in fadt, for C3 state to be
458 pr_notice("FW issue: working around C-state latencies out of order\n");
494 * if one state of type C2 or C3 is available, mark this
522 * the true state of bus mastering activity; forcing us to
564 * acpi_idle_do_entry - enter idle state using the appropriate method
572 /* Call into architectural FFH based C-state */
577 /* IO port based C-state */
584 * acpi_idle_play_dead - enters an ACPI state for long-term idle (i.e. off-lining)
586 * @index: the index of suggested state
626 * @cx: Target state context
627 * @index: index of target state
648 /* If we can skip BM, demote to a safe state. */
749 struct cpuidle_state *state;
755 state = &acpi_idle_driver.states[count];
764 state->flags |= CPUIDLE_FLAG_TIMER_STOP;
767 state->flags |= CPUIDLE_FLAG_TLB_FLUSHED;
769 state->flags |= CPUIDLE_FLAG_RCU_IDLE;
787 struct cpuidle_state *state;
806 state = &drv->states[count];
807 snprintf(state->name, CPUIDLE_NAME_LEN, "C%d", i);
808 strlcpy(state->desc, cx->desc, CPUIDLE_DESC_LEN);
809 state->exit_latency = cx->latency;
810 state->target_residency = cx->latency * latency_factor;
811 state->enter = acpi_idle_enter;
813 state->flags = 0;
815 state->enter_dead = acpi_idle_play_dead;
826 state->enter_s2idle = acpi_idle_enter_s2idle;
850 pr_notice("ACPI: processor limited to max C-state %d\n",
1014 * combine_lpi_states - combine local and parent LPI states to form a composite LPI state
1016 * @local: local LPI state
1017 * @parent: parent LPI state
1018 * @result: composite LPI state
1175 * acpi_idle_lpi_enter - enters an ACPI any LPI state
1177 * @drv: cpuidle driver containing cpuidle state info
1178 * @index: index of target state
1204 struct cpuidle_state *state;
1213 state = &drv->states[i];
1214 snprintf(state->name, CPUIDLE_NAME_LEN, "LPI-%d", i);
1215 strlcpy(state->desc, lpi->desc, CPUIDLE_DESC_LEN);
1216 state->exit_latency = lpi->wake_latency;
1217 state->target_residency = lpi->min_residency;
1219 state->flags |= CPUIDLE_FLAG_TIMER_STOP;
1220 state->enter = acpi_idle_lpi_enter;
1231 * global state data i.e. idle routines
1343 /* Populate Updated C-state information */