Lines Matching refs:demotion
109 struct acpi_processor_cx_policy demotion; member
378 pr->power.states[pr->power.state].demotion.count = 0; in acpi_processor_power_activate()
463 if (pr->power.bm_activity & cx->demotion.threshold.bm) { in acpi_processor_idle()
465 next_state = cx->demotion.state; in acpi_processor_idle()
541 cx->demotion.count = 0; in acpi_processor_idle()
563 if (cx->demotion.state) { in acpi_processor_idle()
564 if (sleep_ticks < cx->demotion.threshold.ticks) { in acpi_processor_idle()
565 cx->demotion.count++; in acpi_processor_idle()
567 if (cx->demotion.count >= cx->demotion.threshold.count) { in acpi_processor_idle()
568 next_state = cx->demotion.state; in acpi_processor_idle()
635 pr->power.states[ACPI_STATE_C2].demotion.threshold.count = 1; in acpi_processor_set_power_policy()
636 pr->power.states[ACPI_STATE_C2].demotion.threshold.ticks = in acpi_processor_set_power_policy()
638 pr->power.states[ACPI_STATE_C2].demotion.state = ACPI_STATE_C1; in acpi_processor_set_power_policy()
657 pr->power.states[ACPI_STATE_C3].demotion.threshold.count = 1; in acpi_processor_set_power_policy()
658 pr->power.states[ACPI_STATE_C3].demotion.threshold.ticks = in acpi_processor_set_power_policy()
660 pr->power.states[ACPI_STATE_C3].demotion.threshold.bm = 0x0F; in acpi_processor_set_power_policy()
661 pr->power.states[ACPI_STATE_C3].demotion.state = ACPI_STATE_C2; in acpi_processor_set_power_policy()
1707 if (pr->power.states[i].demotion.state) in acpi_processor_read_power()
1709 pr->power.states[i].demotion.state); in acpi_processor_read_power()