Searched refs:ref_div_max (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pll.c | 86 unsigned int fb_div_max, unsigned int ref_div_max, in amdgpu_pll_get_fb_ref_div() argument 92 ref_div_max = min(100 / post_div, ref_div_max); in amdgpu_pll_get_fb_ref_div() 94 ref_div_max = min(128 / post_div, ref_div_max); in amdgpu_pll_get_fb_ref_div() 97 *ref_div = min(max(DIV_ROUND_CLOSEST(den, post_div), 1u), ref_div_max); in amdgpu_pll_get_fb_ref_div() 136 unsigned ref_div_min, ref_div_max, ref_div; in amdgpu_pll_compute() local 157 ref_div_max = pll->reference_div; in amdgpu_pll_compute() 159 ref_div_max = pll->max_ref_div; in amdgpu_pll_compute() 211 ref_div_max, &fb_div, &ref_div); in amdgpu_pll_compute() 225 amdgpu_pll_get_fb_ref_div(adev, nom, den, post_div, fb_div_max, ref_div_max, in amdgpu_pll_compute()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 925 unsigned fb_div_max, unsigned ref_div_max, in avivo_get_fb_ref_div() argument 929 ref_div_max = max(min(100 / post_div, ref_div_max), 1u); in avivo_get_fb_ref_div() 932 *ref_div = min(max(den/post_div, 1u), ref_div_max); in avivo_get_fb_ref_div() 969 unsigned ref_div_min, ref_div_max, ref_div; in radeon_compute_pll_avivo() local 990 ref_div_max = pll->reference_div; in radeon_compute_pll_avivo() 993 ref_div_max = min(pll->max_ref_div, 7u); in radeon_compute_pll_avivo() 995 ref_div_max = pll->max_ref_div; in radeon_compute_pll_avivo() 1047 ref_div_max, &fb_div, &ref_div); in radeon_compute_pll_avivo() 1061 avivo_get_fb_ref_div(nom, den, post_div, fb_div_max, ref_div_max, in radeon_compute_pll_avivo()
|