Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A 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()
/openbmc/linux/drivers/video/fbdev/i810/
H A Di810_dvt.c218 u32 diff = 0, diff_best = 0xFFFFFFFF, i = 0, i_best = 0; in i810fb_find_best_mode() local
225 if (diff < diff_best) { in i810fb_find_best_mode()
227 diff_best = diff; in i810fb_find_best_mode()
/openbmc/linux/sound/soc/codecs/
H A 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()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_display.c976 unsigned post_div_best, diff_best; in radeon_compute_pll_avivo() local
1048 diff_best = ~0; in radeon_compute_pll_avivo()
1057 if (diff < diff_best || (diff == diff_best && in radeon_compute_pll_avivo()
1061 diff_best = diff; in radeon_compute_pll_avivo()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dpll_mgr.c801 u64 a, b, c, d, diff, diff_best; in hsw_wrpll_update_rnp() local
828 diff_best = abs_diff(freq2k * best->p * best->r2, in hsw_wrpll_update_rnp()
831 d = 1000000 * diff_best; in hsw_wrpll_update_rnp()
835 if (best->p * best->r2 * diff < p * r2 * diff_best) { in hsw_wrpll_update_rnp()