Home
last modified time | relevance | path

Searched refs:turbo_freq (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/arch/x86/kernel/cpu/
H A 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 in core_set_max_freq_ratio()
244 u64 base_freq, turbo_freq; intel_set_max_freq_ratio() local
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dsmpboot.c1849 static bool slv_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq) in slv_set_max_freq_ratio() argument
1857 err = rdmsrl_safe(MSR_ATOM_CORE_TURBO_RATIOS, turbo_freq); in slv_set_max_freq_ratio()
1862 *turbo_freq = *turbo_freq & 0x3F; /* 1C turbo */ in slv_set_max_freq_ratio()
1892 static bool knl_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq, in knl_set_max_freq_ratio() argument
1914 *turbo_freq = fratio; in knl_set_max_freq_ratio()
1931 static bool skx_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq, int size) in skx_set_max_freq_ratio() argument
1954 *turbo_freq = (ratios >> i) & 0xFF; in skx_set_max_freq_ratio()
1962 static bool core_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq) in core_set_max_freq_ratio() argument
1976 *turbo_freq in core_set_max_freq_ratio()
1987 u64 base_freq, turbo_freq; intel_set_max_freq_ratio() local
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c1153 static struct isst_turbo_freq_info turbo_freq; in isst_if_get_turbo_freq_info() local
1157 if (copy_from_user(&turbo_freq, argp, sizeof(turbo_freq))) in isst_if_get_turbo_freq_info()
1160 power_domain_info = get_instance(turbo_freq.socket_id, turbo_freq.power_domain_id); in isst_if_get_turbo_freq_info()
1164 if (turbo_freq.level > power_domain_info->max_level) in isst_if_get_turbo_freq_info()
1167 turbo_freq.max_buckets = TRL_MAX_BUCKETS; in isst_if_get_turbo_freq_info()
1168 turbo_freq.max_trl_levels = TRL_MAX_LEVELS; in isst_if_get_turbo_freq_info()
1169 turbo_freq.max_clip_freqs = SST_TF_MAX_LP_CLIP_RATIOS; in isst_if_get_turbo_freq_info()
1171 for (i = 0; i < turbo_freq in isst_if_get_turbo_freq_info()
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dintel_pstate.c131 * @turbo_freq: @turbo_pstate frequency in cpufreq units
145 unsigned int turbo_freq; member
532 if (freq == cpu->pstate.turbo_freq) in intel_pstate_freq_to_hwp_rel()
579 cpu->pstate.turbo_freq = rounddown(cpu->pstate.turbo_pstate * scaling, in intel_pstate_hybrid_hwp_adjust()
958 cpu->pstate.turbo_freq = cpu->pstate.turbo_pstate * scaling; in intel_pstate_get_hwp_cap()
964 cpu->pstate.turbo_freq = rounddown(cpu->pstate.turbo_freq, in intel_pstate_get_hwp_cap()
1161 cpudata->pstate.max_freq : cpudata->pstate.turbo_freq; in __intel_pstate_update_max_freq()
1382 freq = DIV_ROUND_UP(cpu->pstate.turbo_freq * perf_pct, 100); in update_qos_request()
2071 cpu->pstate.turbo_freq in intel_pstate_get_cpu_pstates()
[all...]
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dintel_pstate.c138 * @turbo_freq: @turbo_pstate frequency in cpufreq units
150 unsigned int turbo_freq; member
1013 cpudata->pstate.max_freq : cpudata->pstate.turbo_freq; in intel_pstate_update_max_freq()
1723 cpu->pstate.turbo_freq = phy_max * cpu->pstate.scaling; in intel_pstate_get_cpu_pstates()
1727 cpu->pstate.turbo_freq = cpu->pstate.turbo_pstate * cpu->pstate.scaling; in intel_pstate_get_cpu_pstates()
2192 cpu->pstate.max_freq : cpu->pstate.turbo_freq; in intel_pstate_get_max_freq()
2431 cpu->pstate.max_freq : cpu->pstate.turbo_freq; in __intel_pstate_cpu_init()

Completed in 12 milliseconds