Searched refs:flex_ratio (Results 1 – 1 of 1) sorted by relevance
78 msr_t flex_ratio, msr; in cpu_set_flex_ratio_to_tdp_nominal() local82 flex_ratio = msr_read(MSR_FLEX_RATIO); in cpu_set_flex_ratio_to_tdp_nominal()83 if (!(flex_ratio.lo & FLEX_RATIO_EN)) in cpu_set_flex_ratio_to_tdp_nominal()96 if (((flex_ratio.lo >> 8) & 0xff) == nominal_ratio) in cpu_set_flex_ratio_to_tdp_nominal()100 flex_ratio.lo &= ~0xff00; in cpu_set_flex_ratio_to_tdp_nominal()101 flex_ratio.lo |= nominal_ratio << 8; in cpu_set_flex_ratio_to_tdp_nominal()102 flex_ratio.lo |= FLEX_RATIO_LOCK; in cpu_set_flex_ratio_to_tdp_nominal()103 msr_write(MSR_FLEX_RATIO, flex_ratio); in cpu_set_flex_ratio_to_tdp_nominal()
Completed in 3 milliseconds