aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r--drivers/usb/host/xhci.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 9a7138c29030..eb369a1723b1 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1250,6 +1250,16 @@ struct xhci_dequeue_state {
1250 int new_cycle_state; 1250 int new_cycle_state;
1251}; 1251};
1252 1252
1253enum xhci_ring_type {
1254 TYPE_CTRL = 0,
1255 TYPE_ISOC,
1256 TYPE_BULK,
1257 TYPE_INTR,
1258 TYPE_STREAM,
1259 TYPE_COMMAND,
1260 TYPE_EVENT,
1261};
1262
1253struct xhci_ring { 1263struct xhci_ring {
1254 struct xhci_segment *first_seg; 1264 struct xhci_segment *first_seg;
1255 union xhci_trb *enqueue; 1265 union xhci_trb *enqueue;
@@ -1266,6 +1276,7 @@ struct xhci_ring {
1266 */ 1276 */
1267 u32 cycle_state; 1277 u32 cycle_state;
1268 unsigned int stream_id; 1278 unsigned int stream_id;
1279 enum xhci_ring_type type;
1269 bool last_td_was_short; 1280 bool last_td_was_short;
1270}; 1281};
1271 1282