Lines Matching defs:rate
29 u32 rate;
31 regmap_read(osc->reg, 0, &rate);
33 return rate;
36 static long vexpress_osc_round_rate(struct clk_hw *hw, unsigned long rate,
41 if (osc->rate_min && rate < osc->rate_min)
42 rate = osc->rate_min;
44 if (osc->rate_max && rate > osc->rate_max)
45 rate = osc->rate_max;
47 return rate;
50 static int vexpress_osc_set_rate(struct clk_hw *hw, unsigned long rate,
55 return regmap_write(osc->reg, 0, rate);