Lines Matching refs:ext_clock
27 pll->ext_clock, pll->pix_clock); in aptina_pll_calculate()
29 if (pll->ext_clock < limits->ext_clock_min || in aptina_pll_calculate()
30 pll->ext_clock > limits->ext_clock_max) { in aptina_pll_calculate()
41 div = gcd(pll->pix_clock, pll->ext_clock); in aptina_pll_calculate()
43 div = pll->ext_clock / div; in aptina_pll_calculate()
57 (pll->ext_clock / limits->n_min * pll->m)); in aptina_pll_calculate()
61 (pll->ext_clock / limits->n_max * pll->m)); in aptina_pll_calculate()
128 pll->ext_clock * pll->m)); in aptina_pll_calculate()
130 (pll->ext_clock * pll->m)); in aptina_pll_calculate()
137 mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1, in aptina_pll_calculate()
139 mf_high = min(mf_max, pll->ext_clock * p1 / in aptina_pll_calculate()