diff options
Diffstat (limited to 'drivers/ps3/vuart.h')
-rw-r--r-- | drivers/ps3/vuart.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/ps3/vuart.h b/drivers/ps3/vuart.h index eb7f6d94a890..23358b719319 100644 --- a/drivers/ps3/vuart.h +++ b/drivers/ps3/vuart.h | |||
@@ -82,4 +82,20 @@ void ps3_vuart_cancel_async(struct ps3_system_bus_device *dev); | |||
82 | void ps3_vuart_clear_rx_bytes(struct ps3_system_bus_device *dev, | 82 | void ps3_vuart_clear_rx_bytes(struct ps3_system_bus_device *dev, |
83 | unsigned int bytes); | 83 | unsigned int bytes); |
84 | 84 | ||
85 | struct vuart_triggers { | ||
86 | unsigned long rx; | ||
87 | unsigned long tx; | ||
88 | }; | ||
89 | |||
90 | int ps3_vuart_get_triggers(struct ps3_system_bus_device *dev, | ||
91 | struct vuart_triggers *trig); | ||
92 | int ps3_vuart_set_triggers(struct ps3_system_bus_device *dev, unsigned int tx, | ||
93 | unsigned int rx); | ||
94 | int ps3_vuart_enable_interrupt_tx(struct ps3_system_bus_device *dev); | ||
95 | int ps3_vuart_disable_interrupt_tx(struct ps3_system_bus_device *dev); | ||
96 | int ps3_vuart_enable_interrupt_rx(struct ps3_system_bus_device *dev); | ||
97 | int ps3_vuart_disable_interrupt_rx(struct ps3_system_bus_device *dev); | ||
98 | int ps3_vuart_enable_interrupt_disconnect(struct ps3_system_bus_device *dev); | ||
99 | int ps3_vuart_disable_interrupt_disconnect(struct ps3_system_bus_device *dev); | ||
100 | |||
85 | #endif | 101 | #endif |