Home
last modified time | relevance | path

Searched refs:MWAIT_SUBSTATE_SIZE (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/x86/include/asm/
Dmwait.h13 #define MWAIT_SUBSTATE_SIZE 4 macro
14 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK)
/Linux-v5.4/arch/x86/kernel/acpi/
Dcstate.c111 cstate_type = ((cx->address >> MWAIT_SUBSTATE_SIZE) & in acpi_processor_ffh_cstate_probe_cpu()
113 edx_part = edx >> (cstate_type * MWAIT_SUBSTATE_SIZE); in acpi_processor_ffh_cstate_probe_cpu()
/Linux-v5.4/drivers/acpi/
Dacpi_pad.c52 edx >>= MWAIT_SUBSTATE_SIZE; in power_saving_mwait_init()
53 for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { in power_saving_mwait_init()
59 power_saving_mwait_eax = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in power_saving_mwait_init()
/Linux-v5.4/drivers/thermal/intel/
Dintel_powerclamp.c196 edx >>= MWAIT_SUBSTATE_SIZE; in find_target_mwait()
197 for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { in find_target_mwait()
203 target_mwait = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in find_target_mwait()
/Linux-v5.4/arch/x86/kernel/
Dsmpboot.c1682 edx >>= MWAIT_SUBSTATE_SIZE; in mwait_play_dead()
1683 for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { in mwait_play_dead()
1689 eax = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in mwait_play_dead()
/Linux-v5.4/drivers/idle/
Dintel_idle.c915 cstate = (((eax) >> MWAIT_SUBSTATE_SIZE) & in intel_idle()