Lines Matching refs:od
86 unsigned m, n, od_enc, od; in ingenic_pll_recalc_rate() local
111 for (od = 0; od < pll_info->od_max; od++) { in ingenic_pll_recalc_rate()
112 if (pll_info->od_encoding[od] == od_enc) in ingenic_pll_recalc_rate()
115 BUG_ON(od == pll_info->od_max); in ingenic_pll_recalc_rate()
116 od++; in ingenic_pll_recalc_rate()
119 n * od); in ingenic_pll_recalc_rate()
127 unsigned int m, n, od = 1; in ingenic_pll_calc_m_n_od() local
137 m = (rate / MHZ) * od * n / (parent_rate / MHZ); in ingenic_pll_calc_m_n_od()
143 *pod = od; in ingenic_pll_calc_m_n_od()
152 unsigned int m, n, od; in ingenic_pll_calc() local
155 (*pll_info->calc_m_n_od)(pll_info, rate, parent_rate, &m, &n, &od); in ingenic_pll_calc()
157 ingenic_pll_calc_m_n_od(pll_info, rate, parent_rate, &m, &n, &od); in ingenic_pll_calc()
164 *pod = od; in ingenic_pll_calc()
167 n * od); in ingenic_pll_calc()
199 unsigned int m, n, od; in ingenic_pll_set_rate() local
204 &m, &n, &od); in ingenic_pll_set_rate()
219 ctl |= pll_info->od_encoding[od - 1] << pll_info->od_shift; in ingenic_pll_set_rate()