ssb_embedded.h (644B)
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 9extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks); 10 11/* Generic GPIO API */ 12u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask); 13u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value); 14u32 ssb_gpio_outen(struct ssb_bus *bus, u32 mask, u32 value); 15u32 ssb_gpio_control(struct ssb_bus *bus, u32 mask, u32 value); 16u32 ssb_gpio_intmask(struct ssb_bus *bus, u32 mask, u32 value); 17u32 ssb_gpio_polarity(struct ssb_bus *bus, u32 mask, u32 value); 18 19#endif /* LINUX_SSB_EMBEDDED_H_ */