2 * mcfclk.h -- coldfire specific clock structure
12 void (*enable)(struct clk *);
13 void (*disable)(struct clk *);
18 struct clk_ops *clk_ops;
20 unsigned long enabled;
24 extern struct clk *mcf_clks[];
27 extern struct clk_ops clk_ops0;
29 extern struct clk_ops clk_ops1;
30 #endif /* MCFPM_PPMCR1 */
32 #define DEFINE_CLK(clk_bank, clk_name, clk_slot, clk_rate) \
33 static struct clk __clk_##clk_bank##_##clk_slot = { \
35 .clk_ops = &clk_ops##clk_bank, \
40 void __clk_init_enabled(struct clk *);
41 void __clk_init_disabled(struct clk *);
43 #define DEFINE_CLK(clk_ref, clk_name, clk_rate) \
44 static struct clk clk_##clk_ref = { \
48 #endif /* MCFPM_PPMCR0 */