• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/radeon/

Lines Matching refs:post_div

474 	uint32_t post_div;
504 min_post_div = max_post_div = pll->post_div;
511 for (post_div = min_post_div; post_div <= max_post_div; ++post_div) {
514 if ((pll->flags & RADEON_PLL_NO_ODD_POST_DIV) && (post_div & 1))
519 if ((post_div == 5) ||
520 (post_div == 7) ||
521 (post_div == 9) ||
522 (post_div == 10) ||
523 (post_div == 11) ||
524 (post_div == 13) ||
525 (post_div == 14) ||
526 (post_div == 15))
563 current_freq = radeon_div(tmp, ref_div * post_div);
578 best_post_div = post_div;
587 best_post_div = post_div;
598 ((pll->flags & RADEON_PLL_PREFER_LOW_POST_DIV) && (post_div < best_post_div)) ||
599 ((pll->flags & RADEON_PLL_PREFER_HIGH_POST_DIV) && (post_div > best_post_div))) {
600 best_post_div = post_div;
636 uint32_t post_div,
644 vco_freq = freq * post_div;
689 uint32_t post_div,
712 if (calc_fb_div(pll, freq, post_div, (*ref_div), fb_div, fb_div_frac)) {
719 /* pll_out = vco / post_div; */
720 a.full = dfixed_const(post_div);
742 u32 fb_div = 0, fb_div_frac = 0, post_div = 0, ref_div = 0;
758 post_div = pll->post_div;
759 if ((post_div < pll->min_post_div) || (post_div > pll->max_post_div))
762 vco_frequency = freq * post_div;
770 if (!calc_fb_div(pll, freq, post_div, ref_div, &fb_div, &fb_div_frac))
774 for (post_div = pll->max_post_div; post_div >= pll->min_post_div; --post_div) {
776 if ((post_div == 5) ||
777 (post_div == 7) ||
778 (post_div == 9) ||
779 (post_div == 10) ||
780 (post_div == 11))
784 if ((pll->flags & RADEON_PLL_NO_ODD_POST_DIV) && (post_div & 1))
787 vco_frequency = freq * post_div;
794 if (calc_fb_div(pll, freq, post_div, ref_div, &fb_div, &fb_div_frac))
797 if (calc_fb_ref_div(pll, freq, post_div, &fb_div, &fb_div_frac, &ref_div))
805 best_freq = best_freq / (ref_div * post_div);
815 *post_div_p = post_div;