Searched refs:diff_best (Results 1 – 3 of 3) sorted by relevance
135 unsigned post_div_best, diff_best; in amdgpu_pll_compute() local204 diff_best = ~0; in amdgpu_pll_compute()213 if (diff < diff_best || (diff == diff_best && in amdgpu_pll_compute()217 diff_best = diff; in amdgpu_pll_compute()
967 unsigned post_div_best, diff_best; in radeon_compute_pll_avivo() local1039 diff_best = ~0; in radeon_compute_pll_avivo()1048 if (diff < diff_best || (diff == diff_best && in radeon_compute_pll_avivo()1052 diff_best = diff; in radeon_compute_pll_avivo()
700 u64 a, b, c, d, diff, diff_best; in hsw_wrpll_update_rnp() local727 diff_best = abs_diff(freq2k * best->p * best->r2, in hsw_wrpll_update_rnp()730 d = 1000000 * diff_best; in hsw_wrpll_update_rnp()734 if (best->p * best->r2 * diff < p * r2 * diff_best) { in hsw_wrpll_update_rnp()