Lines Matching refs:rate
18 * rate - rate is fixed. clk->rate = parent->rate / div * mult
26 unsigned long long int rate;
28 rate = (unsigned long long int)parent_rate * fix->mult;
29 do_div(rate, fix->div);
30 return (unsigned long)rate;
33 static long clk_factor_round_rate(struct clk_hw *hw, unsigned long rate,
41 best_parent = (rate / fix->mult) * fix->div;
48 static int clk_factor_set_rate(struct clk_hw *hw, unsigned long rate,