Home
last modified time | relevance | path

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

/drivers/acpi/
Dprocessor_thermal.c246 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()
/drivers/cpufreq/
Dintel_pstate.c77 int max_pstate; member
244 cpu->pstate.max_pstate == cpu->pstate.turbo_pstate); in update_turbo_state()
441 if (pstate > cpudata->pstate.max_pstate) in byt_set_pstate()
474 int_tofp(cpudata->pstate.max_pstate - in byt_get_vid()
570 max_perf = cpu->pstate.max_pstate; in intel_pstate_get_min_max()
603 cpu->pstate.max_pstate = pstate_funcs.get_max(); in intel_pstate_get_cpu_pstates()
622 cpu->pstate.max_pstate * cpu->pstate.scaling / 100), in intel_pstate_calc_busy()
661 int32_t core_busy, max_pstate, current_pstate, sample_ratio; in intel_pstate_get_scaled_busy() local
666 max_pstate = int_tofp(cpu->pstate.max_pstate); in intel_pstate_get_scaled_busy()
668 core_busy = mul_fp(core_busy, div_fp(max_pstate, current_pstate)); in intel_pstate_get_scaled_busy()
[all …]