Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pll.c137 unsigned post_div_best, diff_best; in amdgpu_pll_compute() local
206 diff_best = ~0; in amdgpu_pll_compute()
215 if (diff < diff_best || (diff == diff_best && in amdgpu_pll_compute()
219 diff_best = diff; in amdgpu_pll_compute()
/linux-6.1.9/drivers/video/fbdev/i810/
Di810_dvt.c217 u32 diff = 0, diff_best = 0xFFFFFFFF, i = 0, i_best = 0; in i810fb_find_best_mode() local
224 if (diff < diff_best) { in i810fb_find_best_mode()
226 diff_best = diff; in i810fb_find_best_mode()
/linux-6.1.9/sound/soc/codecs/
Dwm8978.c729 unsigned int f_sel, diff, diff_best = INT_MAX; in wm8978_hw_params() local
797 if (diff < diff_best) { in wm8978_hw_params()
798 diff_best = diff; in wm8978_hw_params()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_display.c971 unsigned post_div_best, diff_best; in radeon_compute_pll_avivo() local
1043 diff_best = ~0; in radeon_compute_pll_avivo()
1052 if (diff < diff_best || (diff == diff_best && in radeon_compute_pll_avivo()
1056 diff_best = diff; in radeon_compute_pll_avivo()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.c789 u64 a, b, c, d, diff, diff_best; in hsw_wrpll_update_rnp() local
816 diff_best = abs_diff(freq2k * best->p * best->r2, in hsw_wrpll_update_rnp()
819 d = 1000000 * diff_best; in hsw_wrpll_update_rnp()
823 if (best->p * best->r2 * diff < p * r2 * diff_best) { in hsw_wrpll_update_rnp()