Lines Matching refs:turbo_override
366 u64 turbo_override; in ips_cpu_raise() local
372 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_raise()
374 cur_tdp_limit = turbo_override & TURBO_TDP_MASK; in ips_cpu_raise()
383 turbo_override |= TURBO_TDC_OVR_EN | TURBO_TDP_OVR_EN; in ips_cpu_raise()
384 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_raise()
386 turbo_override &= ~TURBO_TDP_MASK; in ips_cpu_raise()
387 turbo_override |= new_tdp_limit; in ips_cpu_raise()
389 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_raise()
404 u64 turbo_override; in ips_cpu_lower() local
407 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_lower()
409 cur_limit = turbo_override & TURBO_TDP_MASK; in ips_cpu_lower()
418 turbo_override |= TURBO_TDC_OVR_EN | TURBO_TDP_OVR_EN; in ips_cpu_lower()
419 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_lower()
421 turbo_override &= ~TURBO_TDP_MASK; in ips_cpu_lower()
422 turbo_override |= new_limit; in ips_cpu_lower()
424 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_lower()
1236 u64 turbo_override; in cpu_clamp_show() local
1239 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in cpu_clamp_show()
1241 tdp = (int)(turbo_override & TURBO_TDP_MASK); in cpu_clamp_show()
1242 tdc = (int)((turbo_override & TURBO_TDC_MASK) >> TURBO_TDC_SHIFT); in cpu_clamp_show()
1599 u64 turbo_override; in ips_remove() local
1615 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_remove()
1616 turbo_override &= ~(TURBO_TDC_OVR_EN | TURBO_TDP_OVR_EN); in ips_remove()
1617 wrmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_remove()