Lines Matching defs:rate
29 u64 rate;
32 ret = clk->handle->clk_ops->rate_get(clk->handle, clk->id, &rate);
35 return rate;
38 static long scmi_clk_round_rate(struct clk_hw *hw, unsigned long rate,
45 * We can't figure out what rate it will be, so just return the
46 * rate back to the caller. scmi_clk_recalc_rate() will be called
47 * after the rate is set and we'll know what rate the clock is
51 return rate;
55 if (rate <= fmin)
57 else if (rate >= fmax)
60 ftmp = rate - fmin;
67 static int scmi_clk_set_rate(struct clk_hw *hw, unsigned long rate,
72 return clk->handle->clk_ops->rate_set(clk->handle, clk->id, rate);