Searched refs:flex_ratio (Results 1 – 1 of 1) sorted by relevance
69 msr_t flex_ratio, msr; in cpu_set_flex_ratio_to_tdp_nominal() local73 flex_ratio = msr_read(MSR_FLEX_RATIO); in cpu_set_flex_ratio_to_tdp_nominal()74 if (!(flex_ratio.lo & FLEX_RATIO_EN)) in cpu_set_flex_ratio_to_tdp_nominal()87 if (((flex_ratio.lo >> 8) & 0xff) == nominal_ratio) in cpu_set_flex_ratio_to_tdp_nominal()91 flex_ratio.lo &= ~0xff00; in cpu_set_flex_ratio_to_tdp_nominal()92 flex_ratio.lo |= nominal_ratio << 8; in cpu_set_flex_ratio_to_tdp_nominal()93 flex_ratio.lo |= FLEX_RATIO_LOCK; in cpu_set_flex_ratio_to_tdp_nominal()94 msr_write(MSR_FLEX_RATIO, flex_ratio); in cpu_set_flex_ratio_to_tdp_nominal()