1#ifndef PLAT_CLOCK_H 2#define PLAT_CLOCK_H 3 4/* 5 * Operations on clocks - 6 * See <linux/clk.h> for description 7 */ 8struct clk_ops { 9 int (* enable)(struct clk *); 10 void (* disable)(struct clk *); 11 long (* round)(struct clk *, unsigned long); 12 int (* setrate)(struct clk *, unsigned long); 13 /* Update current rate and return running status */ 14 int (* status)(struct clk *); 15}; 16 17 18#endif 19