Lines Matching defs:rate
44 unsigned long rate, unsigned long parent_rate)
54 if ((unsigned long)calc_rate <= rate) {
67 struct clk_hw *hw, unsigned long rate,
75 if (!rate)
76 rate = 1;
80 bestval = _get_table_val(clkt, rate, parent_rate);
85 try_parent_rate = rate * clkt->div / clkt->mul;
92 * It's the most ideal case if the requested rate can be
94 * parent rate, so return the divider immediately.
103 if (cur_rate <= rate && cur_rate > best) {
121 unsigned long rate,
127 val = owl_clk_val_best(factor_hw, &common->hw, rate, parent_rate);
133 static long owl_factor_round_rate(struct clk_hw *hw, unsigned long rate,
140 rate, parent_rate);
148 unsigned long long int rate;
167 rate = (unsigned long long int)parent_rate * mul;
168 do_div(rate, div);
170 return rate;
185 unsigned long rate,
190 val = _get_table_val(factor_hw->table, rate, parent_rate);
205 static int owl_factor_set_rate(struct clk_hw *hw, unsigned long rate,
213 rate, parent_rate);