Home
last modified time | relevance | path

Searched refs:diff_best (Results 1 – 3 of 3) sorted by relevance

/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_pll.c128 unsigned post_div_best, diff_best; in amdgpu_pll_compute() local
197 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()
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_display.c963 unsigned post_div_best, diff_best; in radeon_compute_pll_avivo() local
1035 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()
/dragonfly/sys/dev/drm/i915/
H A Dintel_dpll_mgr.c631 uint64_t a, b, c, d, diff, diff_best; in hsw_wrpll_update_rnp() local
658 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()