Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/cpufreq/
Dintel_pstate.c1881 u64 tdp_ratio; in core_get_tdp_ratio() local
1892 err = rdmsrl_safe_on_cpu(cpu, tdp_msr, &tdp_ratio); in core_get_tdp_ratio()
1898 tdp_ratio >>= 16; in core_get_tdp_ratio()
1900 tdp_ratio &= 0xff; /* ratios are only 8 bits long */ in core_get_tdp_ratio()
1901 pr_debug("tdp_ratio %x\n", (int)tdp_ratio); in core_get_tdp_ratio()
1903 return (int)tdp_ratio; in core_get_tdp_ratio()
1914 int tdp_ratio; in core_get_max_pstate() local
1920 tdp_ratio = core_get_tdp_ratio(cpu, plat_info); in core_get_max_pstate()
1921 if (tdp_ratio <= 0) in core_get_max_pstate()
1926 return tdp_ratio; in core_get_max_pstate()
[all …]
/linux-6.6.21/tools/power/x86/intel-speed-select/
Disst-core-tpmi.c236 ctdp_level->tdp_ratio = info.tdp_ratio; in tpmi_get_tdp_info()
252 id->cpu, config_index, ctdp_level->tdp_ratio, ctdp_level->pkg_tdp, in tpmi_get_tdp_info()
Disst.h138 int tdp_ratio; member
Disst-display.c392 snprintf(value, sizeof(value), "%d", ctdp_level->tdp_ratio); in isst_ctdp_display_information()
397 ctdp_level->sse_p1 = ctdp_level->tdp_ratio; in isst_ctdp_display_information()
Disst-core-mbox.c455 ctdp_level->tdp_ratio = (resp & GENMASK(23, 16)) >> 16; in mbox_get_tdp_info()
459 id->cpu, config_index, resp, ctdp_level->tdp_ratio, in mbox_get_tdp_info()
Disst-core.c426 ctdp_level->tdp_ratio = ctdp_level->sse_p1; in isst_get_process_ctdp()
Disst-config.c1253 ctdp_level->tdp_ratio = clx_n_get_base_ratio(); in clx_n_config()
1254 if (ctdp_level->tdp_ratio == 0) { in clx_n_config()
/linux-6.6.21/include/uapi/linux/
Disst_if.h355 __u16 tdp_ratio; member
/linux-6.6.21/drivers/platform/x86/intel/speed_select_if/
Disst_tpmi_core.c908 _read_pp_level_info("tdp_ratio", perf_level.tdp_ratio, perf_level.level, in isst_if_get_perf_level_info()