Michael Buesch | 42bfad4 | 2008-02-19 12:41:30 +0100 | [diff] [blame] | 1 | #ifndef LINUX_SSB_EMBEDDED_H_ |
| 2 | #define LINUX_SSB_EMBEDDED_H_ |
| 3 | |
| 4 | #include <linux/types.h> |
| 5 | #include <linux/ssb/ssb.h> |
| 6 | |
| 7 | |
| 8 | extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks); |
| 9 | |
Michael Buesch | 53521d8 | 2008-02-19 16:22:50 +0100 | [diff] [blame] | 10 | /* Generic GPIO API */ |
| 11 | u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask); |
| 12 | u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value); |
| 13 | u32 ssb_gpio_outen(struct ssb_bus *bus, u32 mask, u32 value); |
| 14 | u32 ssb_gpio_control(struct ssb_bus *bus, u32 mask, u32 value); |
| 15 | u32 ssb_gpio_intmask(struct ssb_bus *bus, u32 mask, u32 value); |
| 16 | u32 ssb_gpio_polarity(struct ssb_bus *bus, u32 mask, u32 value); |
| 17 | |
Michael Buesch | 42bfad4 | 2008-02-19 12:41:30 +0100 | [diff] [blame] | 18 | #endif /* LINUX_SSB_EMBEDDED_H_ */ |