1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef LINUX_SSB_EMBEDDED_H_ 3 #define LINUX_SSB_EMBEDDED_H_ 4 5 #include <linux/types.h> 6 #include <linux/ssb/ssb.h> 7 8 9 extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks); 10 11 /* Generic GPIO API */ 12 u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask); 13 u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value); 14 u32 ssb_gpio_outen(struct ssb_bus *bus, u32 mask, u32 value); 15 u32 ssb_gpio_control(struct ssb_bus *bus, u32 mask, u32 value); 16 u32 ssb_gpio_intmask(struct ssb_bus *bus, u32 mask, u32 value); 17 u32 ssb_gpio_polarity(struct ssb_bus *bus, u32 mask, u32 value); 18 19 #endif /* LINUX_SSB_EMBEDDED_H_ */ 20