Lines Matching refs:turbo_override

367 	u64 turbo_override;  in ips_cpu_raise()  local
373 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_raise()
375 cur_tdp_limit = turbo_override & TURBO_TDP_MASK; in ips_cpu_raise()
384 turbo_override |= TURBO_TDC_OVR_EN | TURBO_TDP_OVR_EN; in ips_cpu_raise()
385 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_raise()
387 turbo_override &= ~TURBO_TDP_MASK; in ips_cpu_raise()
388 turbo_override |= new_tdp_limit; in ips_cpu_raise()
390 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_raise()
405 u64 turbo_override; in ips_cpu_lower() local
408 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_lower()
410 cur_limit = turbo_override & TURBO_TDP_MASK; in ips_cpu_lower()
419 turbo_override |= TURBO_TDC_OVR_EN | TURBO_TDP_OVR_EN; in ips_cpu_lower()
420 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_lower()
422 turbo_override &= ~TURBO_TDP_MASK; in ips_cpu_lower()
423 turbo_override |= new_limit; in ips_cpu_lower()
425 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_lower()
1215 u64 turbo_override; in cpu_clamp_show() local
1218 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in cpu_clamp_show()
1220 tdp = (int)(turbo_override & TURBO_TDP_MASK); in cpu_clamp_show()
1221 tdc = (int)((turbo_override & TURBO_TDC_MASK) >> TURBO_TDC_SHIFT); in cpu_clamp_show()
1583 u64 turbo_override; in ips_remove() local
1599 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_remove()
1600 turbo_override &= ~(TURBO_TDC_OVR_EN | TURBO_TDP_OVR_EN); in ips_remove()
1601 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_remove()