123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef __LPC32XX_CLOCK_H
- #define __LPC32XX_CLOCK_H
- struct clk {
- struct list_head node;
- struct clk *parent;
- u32 rate;
- u32 usecount;
- int (*set_rate) (struct clk *, unsigned long);
- unsigned long (*round_rate) (struct clk *, unsigned long);
- unsigned long (*get_rate) (struct clk *clk);
- int (*enable) (struct clk *, int);
-
- void __iomem *enable_reg;
- u32 enable_mask;
- };
- #endif
|