Lines Matching refs:mfi
173 long mfi, mfn, mfd, pdf, ref_clk, mfn_abs; in clk_pll_get_rate() local
197 mfi = (dp_op & MXC_PLL_DP_OP_MFI_MASK) >> MXC_PLL_DP_OP_MFI_OFFSET; in clk_pll_get_rate()
198 mfi = (mfi <= 5) ? 5 : mfi; in clk_pll_get_rate()
216 temp = (ref_clk * mfi) + temp; in clk_pll_get_rate()
226 long mfi, pdf, mfn, mfd = 999999; in _clk_pll_set_rate() local
237 pdf = mfi = -1; in _clk_pll_set_rate()
238 while (++pdf < 16 && mfi < 5) in _clk_pll_set_rate()
239 mfi = rate * (pdf+1) / quad_parent_rate; in _clk_pll_set_rate()
240 if (mfi > 15) in _clk_pll_set_rate()
244 temp64 = rate * (pdf+1) - quad_parent_rate * mfi; in _clk_pll_set_rate()
253 reg = mfi << 4 | pdf; in _clk_pll_set_rate()
258 reg = mfi << 4 | pdf; in _clk_pll_set_rate()