Lines Matching refs:mfd
218 u32 mfd = readl_relaxed(pll->base + pll->denom_offset); in clk_pllv3_av_recalc_rate() local
223 do_div(temp64, mfd); in clk_pllv3_av_recalc_rate()
235 u32 mfn, mfd = 1000000; in clk_pllv3_av_round_rate() local
245 mfd = parent_rate; in clk_pllv3_av_round_rate()
249 temp64 *= mfd; in clk_pllv3_av_round_rate()
255 do_div(temp64, mfd); in clk_pllv3_av_round_rate()
267 u32 mfn, mfd = 1000000; in clk_pllv3_av_set_rate() local
275 mfd = parent_rate; in clk_pllv3_av_set_rate()
279 temp64 *= mfd; in clk_pllv3_av_set_rate()
288 writel_relaxed(mfd, pll->base + pll->denom_offset); in clk_pllv3_av_set_rate()
305 u32 mfd; /* denominator, 30-bit value, must be less than mfn */ member
315 do_div(temp64, mf.mfd); in clk_pllv3_vf610_mf_to_rate()
327 mf.mfd = 0x3fffffff; /* use max supported value for best accuracy */ in clk_pllv3_vf610_rate_to_mf()
332 mf.mfn = mf.mfd - 1; in clk_pllv3_vf610_rate_to_mf()
336 temp64 *= mf.mfd; in clk_pllv3_vf610_rate_to_mf()
351 mf.mfd = readl_relaxed(pll->base + pll->denom_offset); in clk_pllv3_vf610_recalc_rate()
381 writel_relaxed(mf.mfd, pll->base + pll->denom_offset); in clk_pllv3_vf610_set_rate()