Home
last modified time | relevance | path

Searched refs:max_pstate (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/cpufreq/
H A Dapple-soc-cpufreq.c65 u64 max_pstate; member
82 .max_pstate = 7,
91 .max_pstate = 15,
100 .max_pstate = 31,
109 .max_pstate = 15,
179 if (index > priv->info->max_pstate) in apple_soc_cpufreq_set_target()
180 index = priv->info->max_pstate; in apple_soc_cpufreq_set_target()
H A Dintel_pstate.c141 int max_pstate; member
542 return cpu->pstate.max_pstate; in intel_pstate_freq_to_hwp_rel()
581 pr_debug("CPU%d: HWP_CAP guaranteed = %d\n", cpu->cpu, cpu->pstate.max_pstate); in intel_pstate_hybrid_hwp_adjust()
592 cpu->pstate.max_freq = rounddown(cpu->pstate.max_pstate * scaling, in intel_pstate_hybrid_hwp_adjust()
1192 cpu->pstate.max_pstate = HWP_GUARANTEED_PERF(cap); in __intel_pstate_get_hwp_cap()
1202 cpu->pstate.max_freq = cpu->pstate.max_pstate * scaling; in intel_pstate_get_hwp_cap()
1563 no_turbo = cpu->pstate.max_pstate - cpu->pstate.min_pstate + 1; in show_turbo_pct()
1632 int pct = cpu->pstate.max_pstate * 100 / cpu->pstate.turbo_pstate; in store_no_turbo()
2102 if (pstate > cpudata->pstate.max_pstate) in atom_get_val()
2148 int_tofp(cpudata->pstate.max_pstate - in atom_get_vid()
[all …]
/linux/drivers/acpi/
H A Dprocessor_thermal.c279 int max_pstate; in processor_set_cur_state() local
288 max_pstate = cpufreq_get_max_state(pr->id); in processor_set_cur_state()
293 if (state <= max_pstate) { in processor_set_cur_state()
298 cpufreq_set_cur_state(pr->id, max_pstate); in processor_set_cur_state()
300 state - max_pstate, false); in processor_set_cur_state()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c1025 uint32_t max_pstate = 0, max_dram_speed_mts = 0, min_dram_speed_mts = 0; in dcn35_clk_mgr_helper_populate_bw_params() local
1037 max_pstate = i; in dcn35_clk_mgr_helper_populate_bw_params()
1042 min_pstate = max_pstate; in dcn35_clk_mgr_helper_populate_bw_params()
1106 if (max_pstate != min_pstate || i == 0) { in dcn35_clk_mgr_helper_populate_bw_params()
1111 bw_params->clk_table.entries[i].memclk_mhz = clock_table->MemPstateTable[max_pstate].MemClk; in dcn35_clk_mgr_helper_populate_bw_params()
1112 bw_params->clk_table.entries[i].voltage = clock_table->MemPstateTable[max_pstate].Voltage; in dcn35_clk_mgr_helper_populate_bw_params()
1120 clock_table->MemPstateTable[max_pstate].WckRatio); in dcn35_clk_mgr_helper_populate_bw_params()