Lines Matching refs:rate
225 unsigned long rate;
228 rate = clk_round_rate(tve->clk, 2000UL * mode->clock) / 2000;
229 if (rate == mode->clock)
233 rate = clk_round_rate(tve->clk, 1000UL * mode->clock) / 1000;
234 if (rate == mode->clock)
249 unsigned long rate;
258 rate = 2000UL * mode->clock;
259 clk_set_rate(tve->clk, rate);
261 if (rounded_rate >= rate)
367 static long clk_tve_di_round_rate(struct clk_hw *hw, unsigned long rate,
372 div = *prate / rate;
380 static int clk_tve_di_set_rate(struct clk_hw *hw, unsigned long rate,
388 div = parent_rate / rate;