Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/include/asm/
Dmwait.h13 #define MWAIT_SUBSTATE_SIZE 4 macro
14 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/thermal/intel/
Dintel_powerclamp.c193 edx >>= MWAIT_SUBSTATE_SIZE; in find_target_mwait()
194 for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { in find_target_mwait()
200 target_mwait = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in find_target_mwait()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsmpboot.c1704 edx >>= MWAIT_SUBSTATE_SIZE; in mwait_play_dead()
1705 for (i = 0; i < 7 && edx; i++, edx >>= MWAIT_SUBSTATE_SIZE) { in mwait_play_dead()
1711 eax = (highest_cstate << MWAIT_SUBSTATE_SIZE) | in mwait_play_dead()
/kernel/linux/linux-5.10/drivers/idle/
Dintel_idle.c1180 return !!((eax >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK); in intel_idle_state_needs_timer_stop()