Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/cpu/
H A Daperfmperf.c122 *turbo_freq = *turbo_freq & 0x3F; /* 1C turbo */ in slv_set_max_freq_ratio()
171 *turbo_freq = fratio; in knl_set_max_freq_ratio()
211 *turbo_freq = (ratios >> i) & 0xFF; in skx_set_max_freq_ratio()
236 if (!*turbo_freq) in core_set_max_freq_ratio()
237 *turbo_freq = msr & 0xFF; /* 1C turbo */ in core_set_max_freq_ratio()
244 u64 base_freq, turbo_freq; in intel_set_max_freq_ratio() local
247 if (slv_set_max_freq_ratio(&base_freq, &turbo_freq)) in intel_set_max_freq_ratio()
251 skx_set_max_freq_ratio(&base_freq, &turbo_freq, 1)) in intel_set_max_freq_ratio()
255 knl_set_max_freq_ratio(&base_freq, &turbo_freq, 1)) in intel_set_max_freq_ratio()
262 if (core_set_max_freq_ratio(&base_freq, &turbo_freq)) in intel_set_max_freq_ratio()
[all …]
/openbmc/linux/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()
1171 for (i = 0; i < turbo_freq.max_clip_freqs; ++i) in isst_if_get_turbo_freq_info()
1173 turbo_freq.level, SST_TF_INFO_0_OFFSET, in isst_if_get_turbo_freq_info()
1181 turbo_freq.trl_freq_mhz[i][j], turbo_freq.level, in isst_if_get_turbo_freq_info()
1189 turbo_freq.level, SST_TF_INFO_1_OFFSET, in isst_if_get_turbo_freq_info()
[all …]
/openbmc/linux/drivers/cpufreq/
H A Dintel_pstate.c145 unsigned int turbo_freq; member
531 if (freq == cpu->pstate.turbo_freq) in intel_pstate_freq_to_hwp_rel()
578 cpu->pstate.turbo_freq = rounddown(cpu->pstate.turbo_pstate * scaling, in intel_pstate_hybrid_hwp_adjust()
957 cpu->pstate.turbo_freq = cpu->pstate.turbo_pstate * scaling; in intel_pstate_get_hwp_cap()
963 cpu->pstate.turbo_freq = rounddown(cpu->pstate.turbo_freq, in intel_pstate_get_hwp_cap()
1160 cpudata->pstate.max_freq : cpudata->pstate.turbo_freq; in __intel_pstate_update_max_freq()
1381 freq = DIV_ROUND_UP(cpu->pstate.turbo_freq * perf_pct, 100); in update_qos_request()
2070 cpu->pstate.turbo_freq = cpu->pstate.turbo_pstate * perf_ctl_scaling; in intel_pstate_get_cpu_pstates()
2531 cpu->pstate.max_freq : cpu->pstate.turbo_freq; in intel_pstate_get_max_freq()
2667 cpu->pstate.max_freq : cpu->pstate.turbo_freq; in intel_pstate_verify_cpu_policy()
[all …]