Lines Matching defs:rate
19 /* Initialize a HFPLL at a given rate and enable it. */
37 unsigned long rate;
39 rate = clk_hw_get_rate(hw);
42 if (hd->user_vco_mask && rate > hd->low_vco_max_rate)
128 static long clk_hfpll_round_rate(struct clk_hw *hw, unsigned long rate,
135 rate = clamp(rate, hd->min_rate, hd->max_rate);
137 rrate = DIV_ROUND_UP(rate, *parent_rate) * *parent_rate;
148 static int clk_hfpll_set_rate(struct clk_hw *hw, unsigned long rate,
158 l_val = rate / parent_rate;
169 if (rate <= hd->low_vco_max_rate)