aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2008-02-22 10:14:58 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:41:43 -0500
commit28de57d1a9eb7e67badb731297197fcbef0cc19e (patch)
tree950fe43f059f03659c4fd87755a73610af5b20c4 /include/linux
parentfba4a1e63723b5ef16c21a90f06520ae37c5da98 (diff)
ssb: Add CHIPCO IRQ access functions
This patch adds functions to setup and read the CHIPCO IRQ. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ssb/ssb_driver_chipcommon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ssb/ssb_driver_chipcommon.h b/include/linux/ssb/ssb_driver_chipcommon.h
index 536851b946f6..b548a54ff1f5 100644
--- a/include/linux/ssb/ssb_driver_chipcommon.h
+++ b/include/linux/ssb/ssb_driver_chipcommon.h
@@ -390,6 +390,10 @@ extern void ssb_chipco_set_clockmode(struct ssb_chipcommon *cc,
390extern void ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, 390extern void ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc,
391 u32 ticks); 391 u32 ticks);
392 392
393void ssb_chipco_irq_mask(struct ssb_chipcommon *cc, u32 mask, u32 value);
394
395u32 ssb_chipco_irq_status(struct ssb_chipcommon *cc, u32 mask);
396
393/* Chipcommon GPIO pin access. */ 397/* Chipcommon GPIO pin access. */
394u32 ssb_chipco_gpio_in(struct ssb_chipcommon *cc, u32 mask); 398u32 ssb_chipco_gpio_in(struct ssb_chipcommon *cc, u32 mask);
395u32 ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value); 399u32 ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value);