Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/pci/drm/amd/amdgpu/
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()
/openbsd/src/sys/dev/pci/drm/radeon/
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()