Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/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()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/i810/
H A 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()
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/vp8/
H A Dvp8e_rc.c263 RK_S32 diff_best = I32_MPP_MAX; in new_pic_quant() local
283 if (diff < diff_best) { in new_pic_quant()
284 diff_best = diff; in new_pic_quant()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dradeon_display.c972 unsigned post_div_best, diff_best; in radeon_compute_pll_avivo() local
1044 diff_best = ~0; in radeon_compute_pll_avivo()
1053 if (diff < diff_best || (diff == diff_best && in radeon_compute_pll_avivo()
1057 diff_best = diff; in radeon_compute_pll_avivo()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dintel_dpll_mgr.c744 u64 a, b, c, d, diff, diff_best; in hsw_wrpll_update_rnp() local
771 diff_best = abs_diff(freq2k * best->p * best->r2, in hsw_wrpll_update_rnp()
774 d = 1000000 * diff_best; in hsw_wrpll_update_rnp()
778 if (best->p * best->r2 * diff < p * r2 * diff_best) { in hsw_wrpll_update_rnp()