Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/kernel/
Dsmpboot.c1856 static bool slv_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq) in slv_set_max_freq_ratio() argument
1864 err = rdmsrl_safe(MSR_ATOM_CORE_TURBO_RATIOS, turbo_freq); in slv_set_max_freq_ratio()
1869 *turbo_freq = *turbo_freq & 0x3F; /* 1C turbo */ in slv_set_max_freq_ratio()
1896 static bool knl_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq, in knl_set_max_freq_ratio() argument
1918 *turbo_freq = fratio; in knl_set_max_freq_ratio()
1935 static bool skx_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq, int size) in skx_set_max_freq_ratio() argument
1958 *turbo_freq = (ratios >> i) & 0xFF; in skx_set_max_freq_ratio()
1966 static bool core_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq) in core_set_max_freq_ratio() argument
1980 *turbo_freq = (msr >> 24) & 0xFF; /* 4C turbo */ in core_set_max_freq_ratio()
1983 if (!*turbo_freq) in core_set_max_freq_ratio()
[all …]
/Linux-v5.15/drivers/cpufreq/
Dintel_pstate.c143 unsigned int turbo_freq; member
522 int turbo_freq = perf_ctl_turbo * perf_ctl_scaling; in intel_pstate_hybrid_hwp_adjust() local
540 if (turbo_freq < cpu->pstate.turbo_pstate * scaling) { in intel_pstate_hybrid_hwp_adjust()
541 cpu->pstate.turbo_freq = turbo_freq; in intel_pstate_hybrid_hwp_adjust()
542 scaling = DIV_ROUND_UP(turbo_freq, cpu->pstate.turbo_pstate); in intel_pstate_hybrid_hwp_adjust()
914 cpu->pstate.turbo_freq = cpu->pstate.turbo_pstate * scaling; in intel_pstate_get_hwp_cap()
920 cpu->pstate.turbo_freq = rounddown(cpu->pstate.turbo_freq, in intel_pstate_get_hwp_cap()
1103 cpudata->pstate.max_freq : cpudata->pstate.turbo_freq; in intel_pstate_update_max_freq()
1314 freq = DIV_ROUND_UP(cpu->pstate.turbo_freq * perf_pct, 100); in update_qos_request()
1871 cpu->pstate.turbo_freq = cpu->pstate.turbo_pstate * perf_ctl_scaling; in intel_pstate_get_cpu_pstates()
[all …]