Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / ssb / ssb_embedded.h
blob49604ac3db822e6f31c40807ace85f7d07fdecc0
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_SSB_EMBEDDED_H_
3 #define LINUX_SSB_EMBEDDED_H_
5 #include <linux/types.h>
6 #include <linux/ssb/ssb.h>
9 extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks);
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);
19 #endif /* LINUX_SSB_EMBEDDED_H_ */