Lines Matching full:od
86 unsigned m, n, od, od_enc = 0; in ingenic_pll_recalc_rate() local
114 for (od = 0; od < pll_info->od_max; od++) in ingenic_pll_recalc_rate()
115 if (pll_info->od_encoding[od] == od_enc) in ingenic_pll_recalc_rate()
118 /* if od_max = 0, od_bits should be 0 and od is fixed to 1. */ in ingenic_pll_recalc_rate()
122 BUG_ON(od == pll_info->od_max); in ingenic_pll_recalc_rate()
123 od++; in ingenic_pll_recalc_rate()
126 n * od); in ingenic_pll_recalc_rate()
134 unsigned int m, n, od = 1; in ingenic_pll_calc_m_n_od() local
144 m = (rate / MHZ) * od * n / (parent_rate / MHZ); in ingenic_pll_calc_m_n_od()
150 *pod = od; in ingenic_pll_calc_m_n_od()
159 unsigned int m, n, od; in ingenic_pll_calc() local
162 (*pll_info->calc_m_n_od)(pll_info, rate, parent_rate, &m, &n, &od); in ingenic_pll_calc()
164 ingenic_pll_calc_m_n_od(pll_info, rate, parent_rate, &m, &n, &od); in ingenic_pll_calc()
171 *pod = od; in ingenic_pll_calc()
174 n * od); in ingenic_pll_calc()
209 unsigned int m, n, od; in ingenic_pll_set_rate() local
214 &m, &n, &od); in ingenic_pll_set_rate()
230 ctl |= pll_info->od_encoding[od - 1] << pll_info->od_shift; in ingenic_pll_set_rate()