4 void (*enable)(struct clk *);
5 void (*disable)(struct clk *);
6 unsigned long (*getrate)(struct clk *);
10 struct list_head node;
13 const struct clkops *ops;
20 #define INIT_CKEN(_name, _cken, _rate, _delay, _dev) \
24 .ops = &clk_cken_ops, \
26 .cken = CKEN_##_cken, \
30 #define INIT_CK(_name, _cken, _ops, _dev) \
35 .cken = CKEN_##_cken, \
38 extern const struct clkops clk_cken_ops;
40 void clk_cken_enable(struct clk *clk);
41 void clk_cken_disable(struct clk *clk);
43 void clks_register(struct clk *clks, size_t num);