Searched refs:ref_div_max (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
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()
|
/linux-5.19.10/drivers/gpu/drm/radeon/ |
D | radeon_display.c | 926 unsigned fb_div_max, unsigned ref_div_max, in avivo_get_fb_ref_div() argument 930 ref_div_max = max(min(100 / post_div, ref_div_max), 1u); in avivo_get_fb_ref_div() 933 *ref_div = min(max(den/post_div, 1u), ref_div_max); in avivo_get_fb_ref_div() 970 unsigned ref_div_min, ref_div_max, ref_div; in radeon_compute_pll_avivo() local 991 ref_div_max = pll->reference_div; in radeon_compute_pll_avivo() 994 ref_div_max = min(pll->max_ref_div, 7u); in radeon_compute_pll_avivo() 996 ref_div_max = pll->max_ref_div; in radeon_compute_pll_avivo() 1048 ref_div_max, &fb_div, &ref_div); in radeon_compute_pll_avivo() 1062 avivo_get_fb_ref_div(nom, den, post_div, fb_div_max, ref_div_max, in radeon_compute_pll_avivo()
|