Home
last modified time | relevance | path

Searched refs:max_ref_div (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Dradeon_display.c993 ref_div_max = min(pll->max_ref_div, 7u); in radeon_compute_pll_avivo()
995 ref_div_max = pll->max_ref_div; in radeon_compute_pll_avivo()
1116 uint32_t max_ref_div = pll->max_ref_div; in radeon_compute_pll_legacy() local
1132 DRM_DEBUG_KMS("PLL freq %llu %u %u\n", freq, pll->min_ref_div, pll->max_ref_div); in radeon_compute_pll_legacy()
1147 min_ref_div = max_ref_div = pll->reference_div; in radeon_compute_pll_legacy()
1149 while (min_ref_div < max_ref_div-1) { in radeon_compute_pll_legacy()
1150 uint32_t mid = (min_ref_div + max_ref_div) / 2; in radeon_compute_pll_legacy()
1153 max_ref_div = mid; in radeon_compute_pll_legacy()
1188 for (ref_div = min_ref_div; ref_div <= max_ref_div; ++ref_div) { in radeon_compute_pll_legacy()
H A Dradeon_clocks.c305 dcpll->max_ref_div = 0x3ff; in radeon_get_clock_info()
311 p1pll->max_ref_div = 0x3ff; in radeon_get_clock_info()
317 p2pll->max_ref_div = 0x3ff; in radeon_get_clock_info()
326 spll->max_ref_div = 0xff; in radeon_get_clock_info()
335 mpll->max_ref_div = 0xff; in radeon_get_clock_info()
H A Dradeon_mode.h184 uint32_t max_ref_div; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pll.c159 ref_div_max = pll->max_ref_div; in amdgpu_pll_compute()
H A Damdgpu_atomfirmware.c751 spll->max_ref_div = 0xff; in amdgpu_atomfirmware_get_clock_info()
774 mpll->max_ref_div = 0xff; in amdgpu_atomfirmware_get_clock_info()
H A Damdgpu_mode.h209 uint32_t max_ref_div; member
H A Damdgpu_atombios.c607 ppll->max_ref_div = 0x3ff; in amdgpu_atombios_get_clock_info()
637 spll->max_ref_div = 0xff; in amdgpu_atombios_get_clock_info()
669 mpll->max_ref_div = 0xff; in amdgpu_atombios_get_clock_info()