Lines Matching refs:rate
32 cpu_clk_generic[0].rate = cpu; in clkdev_add_static()
33 cpu_clk_generic[1].rate = fpi; in clkdev_add_static()
34 cpu_clk_generic[2].rate = io; in clkdev_add_static()
35 cpu_clk_generic[3].rate = ppe; in clkdev_add_static()
70 if (clk->rate != 0) in clk_get_rate()
71 return clk->rate; in clk_get_rate()
80 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() argument
87 while (*r && (*r != rate)) in clk_set_rate()
91 clk->cl.dev_id, clk->cl.con_id, rate); in clk_set_rate()
95 clk->rate = rate; in clk_set_rate()
100 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() argument
107 while (*r && (*r != rate)) in clk_round_rate()
110 return clk->rate; in clk_round_rate()
113 return rate; in clk_round_rate()