Searched refs:min_limit_perf (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/cpufreq/ |
H A D | amd-pstate.c | 272 amd_pstate_update_perf(cpudata, cpudata->min_limit_perf, 0U, in amd_pstate_set_epp() 394 WRITE_ONCE(cpudata->min_limit_perf, AMD_CPPC_LOWEST_PERF(cap1)); in msr_init_perf() 418 WRITE_ONCE(cpudata->min_limit_perf, cppc_perf.lowest_perf); in shmem_init_perf() 500 min_perf = clamp_t(unsigned long, min_perf, cpudata->min_limit_perf, in amd_pstate_update() 502 max_perf = clamp_t(unsigned long, max_perf, cpudata->min_limit_perf, in amd_pstate_update() 573 u32 max_limit_perf, min_limit_perf, lowest_perf, max_perf, max_freq; in amd_pstate_update_min_max_limit() local 579 min_limit_perf = div_u64(policy->min * max_perf, max_freq); in amd_pstate_update_min_max_limit() 582 if (min_limit_perf < lowest_perf) in amd_pstate_update_min_max_limit() 583 min_limit_perf = lowest_perf; in amd_pstate_update_min_max_limit() 585 if (max_limit_perf < min_limit_perf) in amd_pstate_update_min_max_limit() [all …]
|
H A D | amd-pstate.h | 79 u32 min_limit_perf; member
|