Lines Matching full:numerator
83 u64 numerator, nominal_perf; in amd_set_max_freq_ratio() local
93 rc = amd_get_boost_ratio_numerator(0, &numerator); in amd_set_max_freq_ratio()
106 perf_ratio = (div_u64(numerator * SCHED_CAPACITY_SCALE, nominal_perf) + SCHED_CAPACITY_SCALE) >> 1; in amd_set_max_freq_ratio()
226 * amd_get_boost_ratio_numerator: Get the numerator to use for boost ratio calculation
227 * @cpu: CPU to get numerator for.
228 * @numerator: Output variable for numerator.
230 * Determine the numerator to use for calculating the boost ratio on
235 * the correct boost numerator will be returned to match hardware capabilities
240 int amd_get_boost_ratio_numerator(unsigned int cpu, u64 *numerator) in amd_get_boost_ratio_numerator() argument
251 *numerator = boost_numerator; in amd_get_boost_ratio_numerator()
263 *numerator = CPPC_HIGHEST_PERF_PERFORMANCE; in amd_get_boost_ratio_numerator()
269 *numerator = CPPC_HIGHEST_PERF_PREFCORE; in amd_get_boost_ratio_numerator()