Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/include/asm/
H A Dmwait.h13 #define MWAIT_SUBSTATE_SIZE 4 macro
14 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK)
/openbmc/linux/arch/x86/kernel/acpi/
H A Dcstate.c134 cstate_type = ((cx->address >> MWAIT_SUBSTATE_SIZE) & in acpi_processor_ffh_cstate_probe_cpu()
136 edx_part = edx >> (cstate_type * MWAIT_SUBSTATE_SIZE); in acpi_processor_ffh_cstate_probe_cpu()
/openbmc/linux/drivers/acpi/
H A Dacpi_pad.c53 edx >>= MWAIT_SUBSTATE_SIZE; in power_saving_mwait_init()
54 for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { in power_saving_mwait_init()
60 power_saving_mwait_eax = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in power_saving_mwait_init()
/openbmc/linux/drivers/thermal/intel/
H A Dintel_powerclamp.c331 edx >>= MWAIT_SUBSTATE_SIZE; in find_target_mwait()
332 for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { in find_target_mwait()
338 target_mwait = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in find_target_mwait()
/openbmc/linux/arch/x86/kernel/
H A Dsmpboot.c1509 edx >>= MWAIT_SUBSTATE_SIZE; in mwait_play_dead()
1510 for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { in mwait_play_dead()
1516 eax = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in mwait_play_dead()
/openbmc/linux/drivers/idle/
H A Dintel_idle.c1458 return !!((eax >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK); in intel_idle_state_needs_timer_stop()