Lines Matching refs:ref_div
86 unsigned int *fb_div, unsigned int *ref_div) in amdgpu_pll_get_fb_ref_div() argument
96 *ref_div = min(max(DIV_ROUND_CLOSEST(den, post_div), 1u), ref_div_max); in amdgpu_pll_get_fb_ref_div()
97 *fb_div = DIV_ROUND_CLOSEST(nom * *ref_div * post_div, den); in amdgpu_pll_get_fb_ref_div()
101 *ref_div = DIV_ROUND_CLOSEST(*ref_div * fb_div_max, *fb_div); in amdgpu_pll_get_fb_ref_div()
134 unsigned ref_div_min, ref_div_max, ref_div; in amdgpu_pll_compute() local
209 ref_div_max, &fb_div, &ref_div); in amdgpu_pll_compute()
211 (ref_div * post_div)); in amdgpu_pll_compute()
224 &fb_div, &ref_div); in amdgpu_pll_compute()
228 amdgpu_pll_reduce_ratio(&fb_div, &ref_div, fb_div_min, ref_div_min); in amdgpu_pll_compute()
236 ref_div *= tmp; in amdgpu_pll_compute()
251 (ref_div * post_div * 10); in amdgpu_pll_compute()
252 *ref_div_p = ref_div; in amdgpu_pll_compute()
257 ref_div, post_div); in amdgpu_pll_compute()