• Home
  • Raw
  • Download

Lines Matching refs:power

137 	struct acpi_processor_power *pwr = &pr->power;  in lapic_timer_check_state()
154 pr->power.timer_broadcast_on_state = state; in lapic_timer_check_state()
162 reason = pr->power.timer_broadcast_on_state < INT_MAX ? in __lapic_timer_propagate_broadcast()
179 int state = cx - pr->power.states; in lapic_timer_state_broadcast()
181 if (state >= pr->power.timer_broadcast_on_state) { in lapic_timer_state_broadcast()
270 pr->power.states[ACPI_STATE_C2].type = ACPI_STATE_C2; in acpi_processor_get_power_info_fadt()
271 pr->power.states[ACPI_STATE_C3].type = ACPI_STATE_C3; in acpi_processor_get_power_info_fadt()
284 pr->power.states[ACPI_STATE_C2].address = pr->pblk + 4; in acpi_processor_get_power_info_fadt()
285 pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5; in acpi_processor_get_power_info_fadt()
288 pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.c2_latency; in acpi_processor_get_power_info_fadt()
289 pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.c3_latency; in acpi_processor_get_power_info_fadt()
299 pr->power.states[ACPI_STATE_C2].address = 0; in acpi_processor_get_power_info_fadt()
310 pr->power.states[ACPI_STATE_C3].address = 0; in acpi_processor_get_power_info_fadt()
315 pr->power.states[ACPI_STATE_C2].address, in acpi_processor_get_power_info_fadt()
316 pr->power.states[ACPI_STATE_C3].address)); in acpi_processor_get_power_info_fadt()
323 if (!pr->power.states[ACPI_STATE_C1].valid) { in acpi_processor_get_power_info_default()
326 pr->power.states[ACPI_STATE_C1].type = ACPI_STATE_C1; in acpi_processor_get_power_info_default()
327 pr->power.states[ACPI_STATE_C1].valid = 1; in acpi_processor_get_power_info_default()
328 pr->power.states[ACPI_STATE_C1].entry_method = ACPI_CSTATE_HALT; in acpi_processor_get_power_info_default()
331 pr->power.states[ACPI_STATE_C0].valid = 1; in acpi_processor_get_power_info_default()
471 memcpy(&(pr->power.states[current_count]), &cx, sizeof(cx)); in acpi_processor_get_power_info_cst()
586 pr->power.timer_broadcast_on_state = INT_MAX; in acpi_processor_power_verify()
589 struct acpi_processor_cx *cx = &pr->power.states[i]; in acpi_processor_power_verify()
629 memset(pr->power.states, 0, sizeof(pr->power.states)); in acpi_processor_get_power_info()
640 pr->power.count = acpi_processor_power_verify(pr); in acpi_processor_get_power_info()
647 if (pr->power.states[i].valid) { in acpi_processor_get_power_info()
648 pr->power.count = i; in acpi_processor_get_power_info()
649 if (pr->power.states[i].type >= ACPI_STATE_C2) in acpi_processor_get_power_info()
650 pr->flags.power = 1; in acpi_processor_get_power_info()
914 if (pr->flags.power == 0) { in acpi_processor_setup_cpuidle_cx()
927 cx = &pr->power.states[i]; in acpi_processor_setup_cpuidle_cx()
961 if (pr->flags.power == 0) in acpi_processor_setup_cpuidle_states()
974 cx = &pr->power.states[i]; in acpi_processor_setup_cpuidle_states()
1042 if (pr->flags.power) { in acpi_processor_hotplug()
1097 if (_pr->flags.power) { in acpi_processor_cst_has_changed()
1149 if (pr->flags.power) { in acpi_processor_power_init()
1188 if (pr->flags.power) { in acpi_processor_power_exit()