diff options
Diffstat (limited to 'include/linux/ssb')
-rw-r--r-- | include/linux/ssb/ssb_driver_chipcommon.h | 10 | ||||
-rw-r--r-- | include/linux/ssb/ssb_driver_extif.h | 9 |
2 files changed, 11 insertions, 8 deletions
diff --git a/include/linux/ssb/ssb_driver_chipcommon.h b/include/linux/ssb/ssb_driver_chipcommon.h index 89638153cbe1..536851b946f6 100644 --- a/include/linux/ssb/ssb_driver_chipcommon.h +++ b/include/linux/ssb/ssb_driver_chipcommon.h | |||
@@ -390,11 +390,13 @@ extern void ssb_chipco_set_clockmode(struct ssb_chipcommon *cc, | |||
390 | extern void ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, | 390 | extern void ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, |
391 | u32 ticks); | 391 | u32 ticks); |
392 | 392 | ||
393 | /* Chipcommon GPIO pin access. */ | ||
393 | u32 ssb_chipco_gpio_in(struct ssb_chipcommon *cc, u32 mask); | 394 | u32 ssb_chipco_gpio_in(struct ssb_chipcommon *cc, u32 mask); |
394 | 395 | u32 ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value); | |
395 | void ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value); | 396 | u32 ssb_chipco_gpio_outen(struct ssb_chipcommon *cc, u32 mask, u32 value); |
396 | 397 | u32 ssb_chipco_gpio_control(struct ssb_chipcommon *cc, u32 mask, u32 value); | |
397 | void ssb_chipco_gpio_outen(struct ssb_chipcommon *cc, u32 mask, u32 value); | 398 | u32 ssb_chipco_gpio_intmask(struct ssb_chipcommon *cc, u32 mask, u32 value); |
399 | u32 ssb_chipco_gpio_polarity(struct ssb_chipcommon *cc, u32 mask, u32 value); | ||
398 | 400 | ||
399 | #ifdef CONFIG_SSB_SERIAL | 401 | #ifdef CONFIG_SSB_SERIAL |
400 | extern int ssb_chipco_serial_init(struct ssb_chipcommon *cc, | 402 | extern int ssb_chipco_serial_init(struct ssb_chipcommon *cc, |
diff --git a/include/linux/ssb/ssb_driver_extif.h b/include/linux/ssb/ssb_driver_extif.h index 0d7c9bfa965d..91161f0aa22b 100644 --- a/include/linux/ssb/ssb_driver_extif.h +++ b/include/linux/ssb/ssb_driver_extif.h | |||
@@ -174,11 +174,12 @@ extern void ssb_extif_timing_init(struct ssb_extif *extif, | |||
174 | extern void ssb_extif_watchdog_timer_set(struct ssb_extif *extif, | 174 | extern void ssb_extif_watchdog_timer_set(struct ssb_extif *extif, |
175 | u32 ticks); | 175 | u32 ticks); |
176 | 176 | ||
177 | /* Extif GPIO pin access */ | ||
177 | u32 ssb_extif_gpio_in(struct ssb_extif *extif, u32 mask); | 178 | u32 ssb_extif_gpio_in(struct ssb_extif *extif, u32 mask); |
178 | 179 | u32 ssb_extif_gpio_out(struct ssb_extif *extif, u32 mask, u32 value); | |
179 | void ssb_extif_gpio_out(struct ssb_extif *extif, u32 mask, u32 value); | 180 | u32 ssb_extif_gpio_outen(struct ssb_extif *extif, u32 mask, u32 value); |
180 | 181 | u32 ssb_extif_gpio_polarity(struct ssb_extif *extif, u32 mask, u32 value); | |
181 | void ssb_extif_gpio_outen(struct ssb_extif *extif, u32 mask, u32 value); | 182 | u32 ssb_extif_gpio_intmask(struct ssb_extif *extif, u32 mask, u32 value); |
182 | 183 | ||
183 | #ifdef CONFIG_SSB_SERIAL | 184 | #ifdef CONFIG_SSB_SERIAL |
184 | extern int ssb_extif_serial_init(struct ssb_extif *extif, | 185 | extern int ssb_extif_serial_init(struct ssb_extif *extif, |