Searched refs:ref_div_max (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pll.c75 * @ref_div_max: reference divider maximum
83 unsigned fb_div_max, unsigned ref_div_max, amdgpu_pll_get_fb_ref_div()
87 ref_div_max = min(128 / post_div, ref_div_max); amdgpu_pll_get_fb_ref_div()
90 *ref_div = min(max(DIV_ROUND_CLOSEST(den, post_div), 1u), ref_div_max); amdgpu_pll_get_fb_ref_div()
126 unsigned ref_div_min, ref_div_max, ref_div; amdgpu_pll_compute() local
147 ref_div_max = pll->reference_div; amdgpu_pll_compute()
149 ref_div_max = pll->max_ref_div; amdgpu_pll_compute()
201 ref_div_max, &fb_div, &ref_div); amdgpu_pll_compute()
215 amdgpu_pll_get_fb_ref_div(nom, den, post_div, fb_div_max, ref_div_max, amdgpu_pll_compute()
82 amdgpu_pll_get_fb_ref_div(unsigned nom, unsigned den, unsigned post_div, unsigned fb_div_max, unsigned ref_div_max, unsigned *fb_div, unsigned *ref_div) amdgpu_pll_get_fb_ref_div() argument
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_display.c943 * @ref_div_max: reference divider maximum
951 unsigned fb_div_max, unsigned ref_div_max, avivo_get_fb_ref_div()
955 ref_div_max = max(min(100 / post_div, ref_div_max), 1u); avivo_get_fb_ref_div()
958 *ref_div = min(max(DIV_ROUND_CLOSEST(den, post_div), 1u), ref_div_max); avivo_get_fb_ref_div()
994 unsigned ref_div_min, ref_div_max, ref_div; radeon_compute_pll_avivo() local
1015 ref_div_max = pll->reference_div; radeon_compute_pll_avivo()
1018 ref_div_max = min(pll->max_ref_div, 7u); radeon_compute_pll_avivo()
1020 ref_div_max = pll->max_ref_div; radeon_compute_pll_avivo()
1072 ref_div_max, &fb_div, &ref_div); radeon_compute_pll_avivo()
1086 avivo_get_fb_ref_div(nom, den, post_div, fb_div_max, ref_div_max, radeon_compute_pll_avivo()
950 avivo_get_fb_ref_div(unsigned nom, unsigned den, unsigned post_div, unsigned fb_div_max, unsigned ref_div_max, unsigned *fb_div, unsigned *ref_div) avivo_get_fb_ref_div() argument

Completed in 49 milliseconds