aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ps3/vuart.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ps3/vuart.h')
-rw-r--r--drivers/ps3/vuart.h16
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);
82void ps3_vuart_clear_rx_bytes(struct ps3_system_bus_device *dev, 82void ps3_vuart_clear_rx_bytes(struct ps3_system_bus_device *dev,
83 unsigned int bytes); 83 unsigned int bytes);
84 84
85struct vuart_triggers {
86 unsigned long rx;
87 unsigned long tx;
88};
89
90int ps3_vuart_get_triggers(struct ps3_system_bus_device *dev,
91 struct vuart_triggers *trig);
92int ps3_vuart_set_triggers(struct ps3_system_bus_device *dev, unsigned int tx,
93 unsigned int rx);
94int ps3_vuart_enable_interrupt_tx(struct ps3_system_bus_device *dev);
95int ps3_vuart_disable_interrupt_tx(struct ps3_system_bus_device *dev);
96int ps3_vuart_enable_interrupt_rx(struct ps3_system_bus_device *dev);
97int ps3_vuart_disable_interrupt_rx(struct ps3_system_bus_device *dev);
98int ps3_vuart_enable_interrupt_disconnect(struct ps3_system_bus_device *dev);
99int ps3_vuart_disable_interrupt_disconnect(struct ps3_system_bus_device *dev);
100
85#endif 101#endif