Lines Matching refs:rate
220 unsigned long rate;
223 rate = clk_round_rate(tve->clk, 2000UL * mode->clock) / 2000;
224 if (rate == mode->clock)
228 rate = clk_round_rate(tve->clk, 1000UL * mode->clock) / 1000;
229 if (rate == mode->clock)
244 unsigned long rate;
253 rate = 2000UL * mode->clock;
254 clk_set_rate(tve->clk, rate);
256 if (rounded_rate >= rate)
362 static long clk_tve_di_round_rate(struct clk_hw *hw, unsigned long rate,
367 div = *prate / rate;
375 static int clk_tve_di_set_rate(struct clk_hw *hw, unsigned long rate,
383 div = parent_rate / rate;