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;
21 #define INIT_CKEN(_name, _cken, _rate, _delay, _dev) \
25 .ops = &clk_cken_ops, \
27 .cken = CKEN_##_cken, \
31 #define INIT_CK(_name, _cken, _ops, _dev) \
36 .cken = CKEN_##_cken, \
40 * This is a placeholder to alias one clock device+name pair
41 * to another struct clk.
43 #define INIT_CKOTHER(_name, _other, _dev) \
50 extern const struct clkops clk_cken_ops;
52 void clk_cken_enable(struct clk *clk);
53 void clk_cken_disable(struct clk *clk);
55 void clks_register(struct clk *clks, size_t num);