Home
last modified time | relevance | path

Searched refs:turbo_override (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/platform/x86/
Dintel_ips.c377 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()
[all …]