Home
last modified time | relevance | path

Searched refs:post_div_max (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pll.c135 unsigned post_div_min, post_div_max, post_div; in amdgpu_pll_compute() local
164 post_div_max = pll->post_div; in amdgpu_pll_compute()
187 post_div_max = vco_max / target_clock; in amdgpu_pll_compute()
188 if ((target_clock * post_div_max) > vco_max) in amdgpu_pll_compute()
189 --post_div_max; in amdgpu_pll_compute()
190 if (post_div_max > pll->max_post_div) in amdgpu_pll_compute()
191 post_div_max = pll->max_post_div; in amdgpu_pll_compute()
205 post_div_best = post_div_max; in amdgpu_pll_compute()
208 for (post_div = post_div_min; post_div <= post_div_max; ++post_div) { in amdgpu_pll_compute()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_display.c968 unsigned post_div_min, post_div_max, post_div; in radeon_compute_pll_avivo() local
1000 post_div_max = pll->post_div; in radeon_compute_pll_avivo()
1023 post_div_max = vco_max / target_clock; in radeon_compute_pll_avivo()
1024 if ((target_clock * post_div_max) > vco_max) in radeon_compute_pll_avivo()
1025 --post_div_max; in radeon_compute_pll_avivo()
1026 if (post_div_max > pll->max_post_div) in radeon_compute_pll_avivo()
1027 post_div_max = pll->max_post_div; in radeon_compute_pll_avivo()
1041 post_div_best = post_div_max; in radeon_compute_pll_avivo()
1044 for (post_div = post_div_min; post_div <= post_div_max; ++post_div) { in radeon_compute_pll_avivo()
/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_g200.c66 static const int post_div_max = 7; in mgag200_g200_pixpllc_atomic_check() local
97 testp <= post_div_max && f_vco < p_clk_min; in mgag200_g200_pixpllc_atomic_check()