Lines Matching refs:prate
41 static unsigned long frac_calc_rate(struct clk_hw *hw, unsigned long prate,
47 prate /= 10000;
48 prate <<= 14;
49 prate /= (2 * rtbl[index].div);
50 prate *= 10000;
52 return prate;
56 unsigned long *prate)
61 return clk_round_rate_index(hw, drate, *prate, frac_calc_rate,
93 unsigned long prate)
100 clk_round_rate_index(hw, drate, prate, frac_calc_rate, frac->rtbl_cnt,