Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kernel/cpu/
Daperfmperf.c109 static bool __init slv_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq) in slv_set_max_freq_ratio() argument
117 err = rdmsrl_safe(MSR_ATOM_CORE_TURBO_RATIOS, turbo_freq); in slv_set_max_freq_ratio()
122 *turbo_freq = *turbo_freq & 0x3F; /* 1C turbo */ in slv_set_max_freq_ratio()
149 static bool __init knl_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq, in knl_set_max_freq_ratio() argument
171 *turbo_freq = fratio; in knl_set_max_freq_ratio()
188 static bool __init skx_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq, int size) in skx_set_max_freq_ratio() argument
211 *turbo_freq = (ratios >> i) & 0xFF; in skx_set_max_freq_ratio()
219 static bool __init core_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq) in core_set_max_freq_ratio() argument
233 *turbo_freq = (msr >> 24) & 0xFF; /* 4C turbo */ in core_set_max_freq_ratio()
236 if (!*turbo_freq) in core_set_max_freq_ratio()
[all …]
/linux-6.1.9/drivers/cpufreq/
Dintel_pstate.c145 unsigned int turbo_freq; member
535 cpu->pstate.turbo_freq = rounddown(cpu->pstate.turbo_pstate * scaling, in intel_pstate_hybrid_hwp_adjust()
912 cpu->pstate.turbo_freq = cpu->pstate.turbo_pstate * scaling; in intel_pstate_get_hwp_cap()
918 cpu->pstate.turbo_freq = rounddown(cpu->pstate.turbo_freq, in intel_pstate_get_hwp_cap()
1115 cpudata->pstate.max_freq : cpudata->pstate.turbo_freq; in __intel_pstate_update_max_freq()
1336 freq = DIV_ROUND_UP(cpu->pstate.turbo_freq * perf_pct, 100); in update_qos_request()
2015 cpu->pstate.turbo_freq = cpu->pstate.turbo_pstate * perf_ctl_scaling; in intel_pstate_get_cpu_pstates()
2484 cpu->pstate.max_freq : cpu->pstate.turbo_freq; in intel_pstate_get_max_freq()
2616 cpu->pstate.max_freq : cpu->pstate.turbo_freq; in intel_pstate_verify_cpu_policy()
2712 cpu->pstate.max_freq : cpu->pstate.turbo_freq; in __intel_pstate_cpu_init()
[all …]