Lines Matching refs:ext_clock
28 pll->ext_clock, pll->pix_clock); in aptina_pll_calculate()
30 if (pll->ext_clock < limits->ext_clock_min || in aptina_pll_calculate()
31 pll->ext_clock > limits->ext_clock_max) { in aptina_pll_calculate()
42 div = gcd(pll->pix_clock, pll->ext_clock); in aptina_pll_calculate()
44 div = pll->ext_clock / div; in aptina_pll_calculate()
58 (pll->ext_clock / limits->n_min * pll->m)); in aptina_pll_calculate()
62 (pll->ext_clock / limits->n_max * pll->m)); in aptina_pll_calculate()
129 pll->ext_clock * pll->m)); in aptina_pll_calculate()
131 (pll->ext_clock * pll->m)); in aptina_pll_calculate()
138 mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1, in aptina_pll_calculate()
140 mf_high = min(mf_max, pll->ext_clock * p1 / in aptina_pll_calculate()