Lines Matching full:states

137 	 * Check, if one of the previous states already marked the lapic  in lapic_timer_check_state()
167 return cx - pr->power.states >= pr->power.timer_broadcast_on_state; in lapic_timer_needs_broadcast()
195 * C/P/S0/S1 states when this bit is set. in tsc_check_state()
217 pr->power.states[ACPI_STATE_C2].type = ACPI_STATE_C2; in acpi_processor_get_power_info_fadt()
218 pr->power.states[ACPI_STATE_C3].type = ACPI_STATE_C3; in acpi_processor_get_power_info_fadt()
231 pr->power.states[ACPI_STATE_C2].address = pr->pblk + 4; in acpi_processor_get_power_info_fadt()
232 pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5; in acpi_processor_get_power_info_fadt()
235 pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.c2_latency; in acpi_processor_get_power_info_fadt()
236 pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.c3_latency; in acpi_processor_get_power_info_fadt()
246 pr->power.states[ACPI_STATE_C2].address = 0; in acpi_processor_get_power_info_fadt()
257 pr->power.states[ACPI_STATE_C3].address = 0; in acpi_processor_get_power_info_fadt()
262 pr->power.states[ACPI_STATE_C2].address, in acpi_processor_get_power_info_fadt()
263 pr->power.states[ACPI_STATE_C3].address)); in acpi_processor_get_power_info_fadt()
265 snprintf(pr->power.states[ACPI_STATE_C2].desc, in acpi_processor_get_power_info_fadt()
267 pr->power.states[ACPI_STATE_C2].address); in acpi_processor_get_power_info_fadt()
268 snprintf(pr->power.states[ACPI_STATE_C3].desc, in acpi_processor_get_power_info_fadt()
270 pr->power.states[ACPI_STATE_C3].address); in acpi_processor_get_power_info_fadt()
277 if (!pr->power.states[ACPI_STATE_C1].valid) { in acpi_processor_get_power_info_default()
280 pr->power.states[ACPI_STATE_C1].type = ACPI_STATE_C1; in acpi_processor_get_power_info_default()
281 pr->power.states[ACPI_STATE_C1].valid = 1; in acpi_processor_get_power_info_default()
282 pr->power.states[ACPI_STATE_C1].entry_method = ACPI_CSTATE_HALT; in acpi_processor_get_power_info_default()
284 snprintf(pr->power.states[ACPI_STATE_C1].desc, in acpi_processor_get_power_info_default()
288 pr->power.states[ACPI_STATE_C0].valid = 1; in acpi_processor_get_power_info_default()
399 struct acpi_processor_cx *cx = &pr->power.states[i]; in acpi_processor_power_verify()
438 /* Zero initialize all the C-states info. */ in acpi_processor_get_cstate_info()
439 memset(pr->power.states, 0, sizeof(pr->power.states)); in acpi_processor_get_cstate_info()
457 if (pr->power.states[i].valid) { in acpi_processor_get_cstate_info()
693 state = &acpi_idle_driver.states[count]; in acpi_processor_setup_cpuidle_cx()
694 cx = &pr->power.states[i]; in acpi_processor_setup_cpuidle_cx()
739 cx = &pr->power.states[i]; in acpi_processor_setup_cstates()
744 state = &drv->states[count]; in acpi_processor_setup_cstates()
863 /* Validate number of power states. */ in acpi_processor_evaluate_lpi()
879 /* LPI States start at index 3 */ in acpi_processor_evaluate_lpi()
940 acpi_handle_debug(handle, "Found %d power states\n", state_idx); in acpi_processor_evaluate_lpi()
947 * flat_state_cnt - the number of composite LPI states after the process of flattening
952 * combine_lpi_states - combine local and parent LPI states to form a composite LPI state
1008 pr_warn("Limiting number of LPI states to max (%d)\n", in flatten_lpi_states()
1077 /* flatten all the LPI states in this level of hierarchy */ in acpi_processor_get_lpi_info()
1146 state = &drv->states[i]; in acpi_processor_setup_lpi_states()
1178 drv->states[i].name[0] = '\0'; in acpi_processor_setup_cpuidle_states()
1179 drv->states[i].desc[0] = '\0'; in acpi_processor_setup_cpuidle_states()
1258 * to make the code that updates C-States be called once. in acpi_processor_power_state_has_changed()