Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/acpi/
Dprocessor_thermal.c238 int max_pstate; in processor_set_cur_state() local
247 max_pstate = cpufreq_get_max_state(pr->id); in processor_set_cur_state()
252 if (state <= max_pstate) { in processor_set_cur_state()
257 cpufreq_set_cur_state(pr->id, max_pstate); in processor_set_cur_state()
259 state - max_pstate, false); in processor_set_cur_state()
/Linux-v6.1/drivers/cpufreq/
Dintel_pstate.c138 int max_pstate; member
531 pr_debug("CPU%d: HWP_CAP guaranteed = %d\n", cpu->cpu, cpu->pstate.max_pstate); in intel_pstate_hybrid_hwp_adjust()
537 cpu->pstate.max_freq = rounddown(cpu->pstate.max_pstate * scaling, in intel_pstate_hybrid_hwp_adjust()
561 cpu->pstate.max_pstate == cpu->pstate.turbo_pstate); in update_turbo_state()
901 cpu->pstate.max_pstate = HWP_GUARANTEED_PERF(cap); in __intel_pstate_get_hwp_cap()
911 cpu->pstate.max_freq = cpu->pstate.max_pstate * scaling; in intel_pstate_get_hwp_cap()
1205 no_turbo = cpu->pstate.max_pstate - cpu->pstate.min_pstate + 1; in show_turbo_pct()
1289 int pct = cpu->pstate.max_pstate * 100 / cpu->pstate.turbo_pstate; in store_no_turbo()
1758 if (pstate > cpudata->pstate.max_pstate) in atom_get_val()
1804 int_tofp(cpudata->pstate.max_pstate - in atom_get_vid()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c575 uint32_t max_pstate = 0, max_fclk = 0, min_pstate = 0, max_dispclk = 0, max_dppclk = 0; in dcn314_clk_mgr_helper_populate_bw_params() local
583 max_pstate = i; in dcn314_clk_mgr_helper_populate_bw_params()
636 if (max_pstate != min_pstate || i == 0) { in dcn314_clk_mgr_helper_populate_bw_params()
641 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[max_pstate].MemClk; in dcn314_clk_mgr_helper_populate_bw_params()
642 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[max_pstate].Voltage; in dcn314_clk_mgr_helper_populate_bw_params()
648 clock_table->DfPstateTable[max_pstate].WckRatio); in dcn314_clk_mgr_helper_populate_bw_params()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c481 uint32_t max_pstate = 0, max_fclk = 0, min_pstate = 0; in dcn315_clk_mgr_helper_populate_bw_params() local
488 max_pstate = i; in dcn315_clk_mgr_helper_populate_bw_params()
525 if (max_pstate != min_pstate || i == 0) { in dcn315_clk_mgr_helper_populate_bw_params()
527 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[max_pstate].MemClk; in dcn315_clk_mgr_helper_populate_bw_params()
528 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[max_pstate].Voltage; in dcn315_clk_mgr_helper_populate_bw_params()