ssb_embedded.h 605 B

123456789101112131415161718
  1. #ifndef LINUX_SSB_EMBEDDED_H_
  2. #define LINUX_SSB_EMBEDDED_H_
  3. #include <linux/types.h>
  4. #include <linux/ssb/ssb.h>
  5. extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks);
  6. /* Generic GPIO API */
  7. u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask);
  8. u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value);
  9. u32 ssb_gpio_outen(struct ssb_bus *bus, u32 mask, u32 value);
  10. u32 ssb_gpio_control(struct ssb_bus *bus, u32 mask, u32 value);
  11. u32 ssb_gpio_intmask(struct ssb_bus *bus, u32 mask, u32 value);
  12. u32 ssb_gpio_polarity(struct ssb_bus *bus, u32 mask, u32 value);
  13. #endif /* LINUX_SSB_EMBEDDED_H_ */