Home
last modified time | relevance | path

Searched refs:target_clock (Results 1 – 6 of 6) sorted by relevance

/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_pll.c122 unsigned target_clock = pll->flags & AMDGPU_PLL_USE_FRAC_FB_DIV ? in amdgpu_pll_compute() local
172 post_div_min = vco_min / target_clock; in amdgpu_pll_compute()
173 if ((target_clock * post_div_min) < vco_min) 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()
186 nom = target_clock; in amdgpu_pll_compute()
203 diff = abs(target_clock - (pll->reference_freq * fb_div) / in amdgpu_pll_compute()
/dragonfly/sys/dev/drm/i915/
H A Dintel_dvo.c218 int target_clock = mode->clock; in intel_dvo_mode_valid() local
231 target_clock = fixed_mode->clock; in intel_dvo_mode_valid()
234 if (target_clock > max_dotclk) in intel_dvo_mode_valid()
H A Dintel_drv.h1399 int ironlake_get_lanes_required(int target_clock, int link_bw, int bpp);
1475 bool bxt_find_best_dpll(struct intel_crtc_state *crtc_state, int target_clock,
H A Dintel_dp.c374 int target_clock = mode->clock; in intel_dp_mode_valid() local
387 target_clock = fixed_mode->clock; in intel_dp_mode_valid()
394 mode_rate = intel_dp_link_required(target_clock, 18); in intel_dp_mode_valid()
396 if (mode_rate > max_rate || target_clock > max_dotclk) in intel_dp_mode_valid()
H A Dintel_display.c966 bool bxt_find_best_dpll(struct intel_crtc_state *crtc_state, int target_clock, in bxt_find_best_dpll() argument
973 target_clock, refclk, NULL, best_clock); in bxt_find_best_dpll()
8131 int ironlake_get_lanes_required(int target_clock, int link_bw, int bpp) in ironlake_get_lanes_required() argument
8138 u32 bps = target_clock * bpp * 21 / 20; in ironlake_get_lanes_required()
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_display.c957 unsigned target_clock = pll->flags & RADEON_PLL_USE_FRAC_FB_DIV ? in radeon_compute_pll_avivo() local
1010 post_div_min = vco_min / target_clock; in radeon_compute_pll_avivo()
1011 if ((target_clock * post_div_min) < vco_min) in radeon_compute_pll_avivo()
1016 post_div_max = vco_max / target_clock; in radeon_compute_pll_avivo()
1017 if ((target_clock * post_div_max) > vco_max) in radeon_compute_pll_avivo()
1024 nom = target_clock; in radeon_compute_pll_avivo()
1041 diff = abs(target_clock - (pll->reference_freq * fb_div) / in radeon_compute_pll_avivo()