D | clk-pllv2.c | 81 long mfi, mfn, mfd, pdf, ref_clk; in __clk_pllv2_recalc_rate() local 87 pdf = dp_op & MXC_PLL_DP_OP_PDF_MASK; in __clk_pllv2_recalc_rate() 98 ref_clk /= (pdf + 1); in __clk_pllv2_recalc_rate() 130 long mfi, pdf, mfn, mfd = 999999; in __clk_pllv2_set_rate() local 135 pdf = mfi = -1; in __clk_pllv2_set_rate() 136 while (++pdf < 16 && mfi < 5) in __clk_pllv2_set_rate() 137 mfi = rate * (pdf+1) / quad_parent_rate; in __clk_pllv2_set_rate() 140 pdf--; in __clk_pllv2_set_rate() 142 temp64 = rate * (pdf + 1) - quad_parent_rate * mfi; in __clk_pllv2_set_rate() 146 reg = mfi << 4 | pdf; in __clk_pllv2_set_rate()
|