Lines Matching refs:turbo_override

377 	u64 turbo_override;  in ips_cpu_raise()  local
383 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_raise()
385 cur_tdp_limit = turbo_override & TURBO_TDP_MASK; in ips_cpu_raise()
394 turbo_override |= TURBO_TDC_OVR_EN | TURBO_TDP_OVR_EN; in ips_cpu_raise()
395 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_raise()
397 turbo_override &= ~TURBO_TDP_MASK; in ips_cpu_raise()
398 turbo_override |= new_tdp_limit; in ips_cpu_raise()
400 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_raise()
415 u64 turbo_override; in ips_cpu_lower() local
418 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_lower()
420 cur_limit = turbo_override & TURBO_TDP_MASK; in ips_cpu_lower()
429 turbo_override |= TURBO_TDC_OVR_EN | TURBO_TDP_OVR_EN; in ips_cpu_lower()
430 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_lower()
432 turbo_override &= ~TURBO_TDP_MASK; in ips_cpu_lower()
433 turbo_override |= new_limit; in ips_cpu_lower()
435 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_lower()
1251 u64 turbo_override; in show_cpu_clamp() local
1254 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in show_cpu_clamp()
1256 tdp = (int)(turbo_override & TURBO_TDP_MASK); in show_cpu_clamp()
1257 tdc = (int)((turbo_override & TURBO_TDC_MASK) >> TURBO_TDC_SHIFT); in show_cpu_clamp()
1658 u64 turbo_override; in ips_remove() local
1677 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_remove()
1678 turbo_override &= ~(TURBO_TDC_OVR_EN | TURBO_TDP_OVR_EN); in ips_remove()
1679 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_remove()