Lines Matching defs:rate
24 * rate - rate is adjustable.
25 * clk->rate = (parent->rate * N * (K + 1) >> P) / (M + 1)
45 unsigned long rate;
79 return factors_req.rate;
82 /* Calculate the rate */
83 rate = (parent_rate * (n + config->n_start) * (k + 1) >> p) / (m + 1);
85 return rate;
96 /* find the parent that can help provide the fastest rate <= rate */
100 .rate = req->rate,
107 parent_rate = clk_hw_round_rate(parent, req->rate);
113 child_rate = factors_req.rate;
115 if (child_rate <= req->rate && child_rate > best_child_rate) {
127 req->rate = best_child_rate;
132 static int clk_factors_set_rate(struct clk_hw *hw, unsigned long rate,
136 .rate = rate,
162 __delay((rate >> 20) * 500 / 2);