Searched refs:ref_div_max (Results 1 – 2 of 2) sorted by relevance
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | amdgpu_pll.c | 84 unsigned fb_div_max, unsigned ref_div_max, in amdgpu_pll_get_fb_ref_div() argument 88 ref_div_max = min(128 / post_div, ref_div_max); in amdgpu_pll_get_fb_ref_div() 91 *ref_div = min(max(DIV_ROUND_CLOSEST(den, post_div), 1u), ref_div_max); in amdgpu_pll_get_fb_ref_div() 127 unsigned ref_div_min, ref_div_max, ref_div; in amdgpu_pll_compute() local 148 ref_div_max = pll->reference_div; in amdgpu_pll_compute() 150 ref_div_max = pll->max_ref_div; in amdgpu_pll_compute() 202 ref_div_max, &fb_div, &ref_div); in amdgpu_pll_compute() 216 amdgpu_pll_get_fb_ref_div(nom, den, post_div, fb_div_max, ref_div_max, in amdgpu_pll_compute()
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | radeon_display.c | 919 unsigned fb_div_max, unsigned ref_div_max, in avivo_get_fb_ref_div() argument 923 ref_div_max = max(min(100 / post_div, ref_div_max), 1u); in avivo_get_fb_ref_div() 926 *ref_div = min(max(DIV_ROUND_CLOSEST(den, post_div), 1u), ref_div_max); in avivo_get_fb_ref_div() 962 unsigned ref_div_min, ref_div_max, ref_div; in radeon_compute_pll_avivo() local 983 ref_div_max = pll->reference_div; in radeon_compute_pll_avivo() 986 ref_div_max = min(pll->max_ref_div, 7u); in radeon_compute_pll_avivo() 988 ref_div_max = pll->max_ref_div; in radeon_compute_pll_avivo() 1040 ref_div_max, &fb_div, &ref_div); in radeon_compute_pll_avivo() 1054 avivo_get_fb_ref_div(nom, den, post_div, fb_div_max, ref_div_max, in radeon_compute_pll_avivo()
|