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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 6aecede77ff6..b1abaeb62b4c 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -589,6 +589,7 @@ struct xhci_ep_ctx {
589 */ 589 */
590#define FORCE_EVENT (0x1) 590#define FORCE_EVENT (0x1)
591#define ERROR_COUNT(p) (((p) & 0x3) << 1) 591#define ERROR_COUNT(p) (((p) & 0x3) << 1)
592#define CTX_TO_EP_TYPE(p) (((p) >> 3) & 0x7)
592#define EP_TYPE(p) ((p) << 3) 593#define EP_TYPE(p) ((p) << 3)
593#define ISOC_OUT_EP 1 594#define ISOC_OUT_EP 1
594#define BULK_OUT_EP 2 595#define BULK_OUT_EP 2
@@ -1231,6 +1232,9 @@ void xhci_find_new_dequeue_state(struct xhci_hcd *xhci,
1231void xhci_queue_new_dequeue_state(struct xhci_hcd *xhci, 1232void xhci_queue_new_dequeue_state(struct xhci_hcd *xhci,
1232 struct xhci_ring *ep_ring, unsigned int slot_id, 1233 struct xhci_ring *ep_ring, unsigned int slot_id,
1233 unsigned int ep_index, struct xhci_dequeue_state *deq_state); 1234 unsigned int ep_index, struct xhci_dequeue_state *deq_state);
1235void xhci_cleanup_stalled_ring(struct xhci_hcd *xhci,
1236 struct usb_device *udev, struct usb_host_endpoint *ep,
1237 unsigned int ep_index, struct xhci_ring *ep_ring);
1234 1238
1235/* xHCI roothub code */ 1239/* xHCI roothub code */
1236int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, 1240int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex,