Lines Matching full:mfd
146 int fref, temp, fout, mfd; in clock_pll() local
155 mfd = (in_be32(&pll->pcr) & 0x3F) + 1; in clock_pll()
157 return (fref * mfd) / busdiv; in clock_pll()
160 mfd = in_8(&pll->pfdr); in clock_pll()
162 return (fref * mfd / (BUSDIV * 4)); in clock_pll()
175 * and then dividing by 100 to calculate the mfd allows in clock_pll()
181 mfd = (BUSDIV * temp) / 100; in clock_pll()
184 fout = ((fref * mfd) / BUSDIV); in clock_pll()
187 mfd = (4 * BUSDIV * temp) / 100; in clock_pll()
190 fout = ((fref * mfd) / (BUSDIV * 4)); in clock_pll()
219 setbits_be32(&pll->pcr, PLL_PCR_FBDIV(mfd - 1)); in clock_pll()
226 out_8(&pll->pfdr, mfd); in clock_pll()