Lines Matching full:mfd
145 int fref, temp, fout, mfd; in clock_pll() local
154 mfd = (in_be32(&pll->pcr) & 0x3F) + 1; in clock_pll()
156 return (fref * mfd) / busdiv; in clock_pll()
159 mfd = in_8(&pll->pfdr); in clock_pll()
161 return (fref * mfd / (BUSDIV * 4)); in clock_pll()
174 * and then dividing by 100 to calculate the mfd allows in clock_pll()
180 mfd = (BUSDIV * temp) / 100; in clock_pll()
183 fout = ((fref * mfd) / BUSDIV); in clock_pll()
186 mfd = (4 * BUSDIV * temp) / 100; in clock_pll()
189 fout = ((fref * mfd) / (BUSDIV * 4)); in clock_pll()
218 setbits_be32(&pll->pcr, PLL_PCR_FBDIV(mfd - 1)); in clock_pll()
225 out_8(&pll->pfdr, mfd); in clock_pll()