Searched refs:pix_div (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/media/i2c/
H A Dsmiapp-pll.c348 * Find pix_div such that a legal pix_div * sys_div results __smiapp_pll_calculate()
357 uint16_t pix_div = DIV_ROUND_UP(vt_div, sys_div); __smiapp_pll_calculate() local
359 if (pix_div < limits->vt.min_pix_clk_div __smiapp_pll_calculate()
360 || pix_div > limits->vt.max_pix_clk_div) { __smiapp_pll_calculate()
362 "pix_div %u too small or too big (%u--%u)\n", __smiapp_pll_calculate()
363 pix_div, __smiapp_pll_calculate()
370 if (pix_div * sys_div __smiapp_pll_calculate()
372 best_pix_div = pix_div; __smiapp_pll_calculate()
/linux-4.4.14/drivers/video/fbdev/omap/
H A Dhwa742.c767 int pix_div; calc_hwa742_clk_rates() local
770 pix_div = ((pix_clk_src >> 3) & 0x1f) + 1; calc_hwa742_clk_rates()
779 *pix_clk = *sys_clk / pix_div; /* HZ */ calc_hwa742_clk_rates()
781 "ext_clk %ld pix_src %d pix_div %d sys_div %d sys_mul %d\n", calc_hwa742_clk_rates()
782 ext_clk, pix_clk_src & (0x3 << 1), pix_div, sys_div, sys_mul); calc_hwa742_clk_rates()

Completed in 194 milliseconds