Lines Matching defs:rate
843 u64 rate, rate_frac = 0;
849 rate = (u64)parent_rate * divn;
851 do_div(rate, divm);
859 return rate + rate_frac;
950 static unsigned long __bestmult(struct clk_hw *hw, unsigned long rate,
963 if (rate / parent_rate >= 4)
969 static long timer_ker_round_rate(struct clk_hw *hw, unsigned long rate,
972 unsigned long factor = __bestmult(hw, rate, *parent_rate);
977 static int timer_ker_set_rate(struct clk_hw *hw, unsigned long rate,
982 unsigned long factor = __bestmult(hw, rate, parent_rate);
1078 static int clk_divider_rtc_set_rate(struct clk_hw *hw, unsigned long rate,
1082 return clk_divider_ops.set_rate(hw, rate, parent_rate);
1092 req->rate = req->best_parent_rate;