Searched refs:fb_div_max (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/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 101 if (*fb_div > fb_div_max) { in amdgpu_pll_get_fb_ref_div() 102 *ref_div = DIV_ROUND_CLOSEST(*ref_div * fb_div_max, *fb_div); in amdgpu_pll_get_fb_ref_div() 103 *fb_div = fb_div_max; in amdgpu_pll_get_fb_ref_div() 134 unsigned fb_div_min, fb_div_max, fb_div; in amdgpu_pll_compute() local 142 fb_div_max = pll->max_feedback_div; in amdgpu_pll_compute() 146 fb_div_max *= 10; in amdgpu_pll_compute() 210 amdgpu_pll_get_fb_ref_div(adev, nom, den, post_div, fb_div_max, 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-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_display.c | 931 unsigned fb_div_max, unsigned ref_div_max, in avivo_get_fb_ref_div() argument 942 if (*fb_div > fb_div_max) { in avivo_get_fb_ref_div() 943 *ref_div = (*ref_div * fb_div_max)/(*fb_div); in avivo_get_fb_ref_div() 944 *fb_div = fb_div_max; in avivo_get_fb_ref_div() 973 unsigned fb_div_min, fb_div_max, fb_div; in radeon_compute_pll_avivo() local 981 fb_div_max = pll->max_feedback_div; in radeon_compute_pll_avivo() 985 fb_div_max *= 10; in radeon_compute_pll_avivo() 1052 avivo_get_fb_ref_div(nom, den, post_div, fb_div_max, in radeon_compute_pll_avivo() 1067 avivo_get_fb_ref_div(nom, den, post_div, fb_div_max, ref_div_max, in radeon_compute_pll_avivo()
|