Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/include/asm/
Dmwait.h12 #define MWAIT_SUBSTATE_SIZE 4 macro
13 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK)
/Linux-v4.19/arch/x86/kernel/acpi/
Dcstate.c83 cstate_type = ((cx->address >> MWAIT_SUBSTATE_SIZE) & in acpi_processor_ffh_cstate_probe_cpu()
85 edx_part = edx >> (cstate_type * MWAIT_SUBSTATE_SIZE); in acpi_processor_ffh_cstate_probe_cpu()
/Linux-v4.19/drivers/acpi/
Dacpi_pad.c61 edx >>= MWAIT_SUBSTATE_SIZE; in power_saving_mwait_init()
62 for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { in power_saving_mwait_init()
68 power_saving_mwait_eax = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in power_saving_mwait_init()
/Linux-v4.19/drivers/thermal/
Dintel_powerclamp.c211 edx >>= MWAIT_SUBSTATE_SIZE; in find_target_mwait()
212 for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { in find_target_mwait()
218 target_mwait = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in find_target_mwait()
/Linux-v4.19/arch/x86/kernel/
Dsmpboot.c1615 edx >>= MWAIT_SUBSTATE_SIZE; in mwait_play_dead()
1616 for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { in mwait_play_dead()
1622 eax = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in mwait_play_dead()
/Linux-v4.19/drivers/idle/
Dintel_idle.c927 cstate = (((eax) >> MWAIT_SUBSTATE_SIZE) & in intel_idle()