Home
last modified time | relevance | path

Searched refs:post_div_max (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pll.c126 unsigned post_div_min, post_div_max, post_div; in amdgpu_pll_compute() local
155 post_div_max = pll->post_div; in amdgpu_pll_compute()
178 post_div_max = vco_max / target_clock; in amdgpu_pll_compute()
179 if ((target_clock * post_div_max) > vco_max) in amdgpu_pll_compute()
180 --post_div_max; in amdgpu_pll_compute()
181 if (post_div_max > pll->max_post_div) in amdgpu_pll_compute()
182 post_div_max = pll->max_post_div; in amdgpu_pll_compute()
196 post_div_best = post_div_max; in amdgpu_pll_compute()
199 for (post_div = post_div_min; post_div <= post_div_max; ++post_div) { in amdgpu_pll_compute()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_display.c975 unsigned post_div_min, post_div_max, post_div; in radeon_compute_pll_avivo() local
1007 post_div_max = pll->post_div; in radeon_compute_pll_avivo()
1030 post_div_max = vco_max / target_clock; in radeon_compute_pll_avivo()
1031 if ((target_clock * post_div_max) > vco_max) in radeon_compute_pll_avivo()
1032 --post_div_max; in radeon_compute_pll_avivo()
1033 if (post_div_max > pll->max_post_div) in radeon_compute_pll_avivo()
1034 post_div_max = pll->max_post_div; in radeon_compute_pll_avivo()
1048 post_div_best = post_div_max; in radeon_compute_pll_avivo()
1051 for (post_div = post_div_min; post_div <= post_div_max; ++post_div) { in radeon_compute_pll_avivo()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_display.c974 unsigned post_div_min, post_div_max, post_div; in radeon_compute_pll_avivo() local
1006 post_div_max = pll->post_div; in radeon_compute_pll_avivo()
1029 post_div_max = vco_max / target_clock; in radeon_compute_pll_avivo()
1030 if ((target_clock * post_div_max) > vco_max) in radeon_compute_pll_avivo()
1031 --post_div_max; in radeon_compute_pll_avivo()
1032 if (post_div_max > pll->max_post_div) in radeon_compute_pll_avivo()
1033 post_div_max = pll->max_post_div; in radeon_compute_pll_avivo()
1047 post_div_best = post_div_max; in radeon_compute_pll_avivo()
1050 for (post_div = post_div_min; post_div <= post_div_max; ++post_div) { in radeon_compute_pll_avivo()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c118 const int post_div_max = 7; in mgag200_g200_set_plls() local
142 p <= post_div_max && f_vco < p_clk_min; in mgag200_g200_set_plls()

Completed in 9 milliseconds