Lines Matching refs:ext_div
517 int ext_div[] = {1, 2, 3, 5, 7}; in tc_pxl_pll_en() local
540 for (i_pre = 0; i_pre < ARRAY_SIZE(ext_div); i_pre++) { in tc_pxl_pll_en()
545 if (refclk / ext_div[i_pre] < 1000000) in tc_pxl_pll_en()
547 for (i_post = 0; i_post < ARRAY_SIZE(ext_div); i_post++) { in tc_pxl_pll_en()
552 tmp = pixelclock * ext_div[i_pre] * in tc_pxl_pll_en()
553 ext_div[i_post] * div; in tc_pxl_pll_en()
561 clk = (refclk / ext_div[i_pre] / div) * mul; in tc_pxl_pll_en()
565 clk = clk / ext_div[i_post]; in tc_pxl_pll_en()
588 ext_div[best_pre], best_div, best_mul, ext_div[best_post]); in tc_pxl_pll_en()
591 if (refclk / ext_div[best_pre] / best_div * best_mul >= 300000000) in tc_pxl_pll_en()
605 pxl_pllparam |= ext_div[best_pre] << 20; /* External Pre-divider */ in tc_pxl_pll_en()
606 pxl_pllparam |= ext_div[best_post] << 16; /* External Post-divider */ in tc_pxl_pll_en()