Searched refs:max_pstate (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | processor_thermal.c | 235 int max_pstate; in processor_set_cur_state() local 244 max_pstate = cpufreq_get_max_state(pr->id); in processor_set_cur_state() 249 if (state <= max_pstate) { in processor_set_cur_state() 254 cpufreq_set_cur_state(pr->id, max_pstate); in processor_set_cur_state() 256 state - max_pstate, false); in processor_set_cur_state()
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | processor_thermal.c | 246 int max_pstate; in processor_set_cur_state() local 255 max_pstate = cpufreq_get_max_state(pr->id); in processor_set_cur_state() 260 if (state <= max_pstate) { in processor_set_cur_state() 265 cpufreq_set_cur_state(pr->id, max_pstate); in processor_set_cur_state() 267 state - max_pstate, false); in processor_set_cur_state()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | apple-soc-cpufreq.c | 58 u64 max_pstate; member 72 .max_pstate = 15, 78 .max_pstate = 31, 84 .max_pstate = 15, 142 if (index > priv->info->max_pstate) in apple_soc_cpufreq_set_target() 143 index = priv->info->max_pstate; in apple_soc_cpufreq_set_target()
|
H A D | intel_pstate.c | 122 * @max_pstate: Max P state possible for this platform 124 * This can be higher than the max_pstate which can 130 * @max_freq: @max_pstate frequency in cpufreq units 138 int max_pstate; member 536 return cpu->pstate.max_pstate; in intel_pstate_freq_to_hwp_rel() 575 pr_debug("CPU%d: HWP_CAP guaranteed = %d\n", cpu->cpu, cpu->pstate.max_pstate); in intel_pstate_hybrid_hwp_adjust() 581 cpu->pstate.max_freq = rounddown(cpu->pstate.max_pstate * scaling, in intel_pstate_hybrid_hwp_adjust() 605 cpu->pstate.max_pstate == cpu->pstate.turbo_pstate); in update_turbo_state() 947 cpu->pstate.max_pstate = HWP_GUARANTEED_PERF(cap); in __intel_pstate_get_hwp_cap() 957 cpu->pstate.max_freq = cpu->pstate.max_pstate * scalin in intel_pstate_get_hwp_cap() 1913 int max_pstate; core_get_max_pstate() local 2292 int max_pstate = max(min_pstate, cpu->max_perf_ratio); intel_pstate_prepare_request() local 2903 int max_pstate = policy->strict_target ? intel_cpufreq_update_pstate() local 2968 int cap_pstate, min_pstate, max_pstate, target_pstate; intel_cpufreq_adjust_perf() local [all...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | intel_pstate.c | 130 * @max_pstate: Max P state possible for this platform 132 * This can be higher than the max_pstate which can 137 * @max_freq: @max_pstate frequency in cpufreq units 145 int max_pstate; member 497 cpu->pstate.max_pstate == cpu->pstate.turbo_pstate); in update_turbo_state() 1094 no_turbo = cpu->pstate.max_pstate - cpu->pstate.min_pstate + 1; in show_turbo_pct() 1178 int pct = cpu->pstate.max_pstate * 100 / cpu->pstate.turbo_pstate; in store_no_turbo() 1502 if (pstate > cpudata->pstate.max_pstate) in atom_get_val() 1548 int_tofp(cpudata->pstate.max_pstate - in atom_get_vid() 1608 int max_pstate; in core_get_max_pstate() local 1949 int max_pstate = max(min_pstate, cpu->max_perf_ratio); intel_pstate_prepare_request() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/ |
H A D | dcn314_clk_mgr.c | 573 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 581 max_pstate = i; in dcn314_clk_mgr_helper_populate_bw_params() 634 if (max_pstate != min_pstate || i == 0) { in dcn314_clk_mgr_helper_populate_bw_params() 639 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[max_pstate].MemClk; in dcn314_clk_mgr_helper_populate_bw_params() 640 bw_params->clk_table.entries[i].voltage = clock_table->DfPstateTable[max_pstate].Voltage; in dcn314_clk_mgr_helper_populate_bw_params() 646 clock_table->DfPstateTable[max_pstate].WckRatio); in dcn314_clk_mgr_helper_populate_bw_params()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/ |
H A D | dcn315_clk_mgr.c | 478 uint32_t max_pstate = clock_table->NumDfPstatesEnabled - 1; in dcn315_clk_mgr_helper_populate_bw_params() local 488 max_pstate = j; in dcn315_clk_mgr_helper_populate_bw_params() 492 max_pstate = 0; in dcn315_clk_mgr_helper_populate_bw_params() 503 bw_params->clk_table.entries[i].fclk_mhz = clock_table->DfPstateTable[max_pstate].FClk; in dcn315_clk_mgr_helper_populate_bw_params() 504 bw_params->clk_table.entries[i].memclk_mhz = clock_table->DfPstateTable[max_pstate].MemClk; in dcn315_clk_mgr_helper_populate_bw_params()
|
Completed in 10 milliseconds