Searched refs:diff_best (Results 1 – 3 of 3) sorted by relevance
128 unsigned post_div_best, diff_best; in amdgpu_pll_compute() local197 diff_best = ~0; in amdgpu_pll_compute()206 if (diff < diff_best || (diff == diff_best && in amdgpu_pll_compute()210 diff_best = diff; in amdgpu_pll_compute()
963 unsigned post_div_best, diff_best; in radeon_compute_pll_avivo() local1035 diff_best = ~0; in radeon_compute_pll_avivo()1044 if (diff < diff_best || (diff == diff_best && in radeon_compute_pll_avivo()1048 diff_best = diff; in radeon_compute_pll_avivo()
631 uint64_t a, b, c, d, diff, diff_best; in hsw_wrpll_update_rnp() local658 diff_best = abs_diff((u64)freq2k * best->p * best->r2, in hsw_wrpll_update_rnp()661 d = 1000000 * diff_best; in hsw_wrpll_update_rnp()665 if (best->p * best->r2 * diff < p * r2 * diff_best) { in hsw_wrpll_update_rnp()