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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index eeea5c074493..e23f31d029a3 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1712,8 +1712,7 @@ void xhci_free_stream_info(struct xhci_hcd *xhci,
1712void xhci_setup_streams_ep_input_ctx(struct xhci_hcd *xhci, 1712void xhci_setup_streams_ep_input_ctx(struct xhci_hcd *xhci,
1713 struct xhci_ep_ctx *ep_ctx, 1713 struct xhci_ep_ctx *ep_ctx,
1714 struct xhci_stream_info *stream_info); 1714 struct xhci_stream_info *stream_info);
1715void xhci_setup_no_streams_ep_input_ctx(struct xhci_hcd *xhci, 1715void xhci_setup_no_streams_ep_input_ctx(struct xhci_ep_ctx *ep_ctx,
1716 struct xhci_ep_ctx *ep_ctx,
1717 struct xhci_virt_ep *ep); 1716 struct xhci_virt_ep *ep);
1718void xhci_free_device_endpoint_resources(struct xhci_hcd *xhci, 1717void xhci_free_device_endpoint_resources(struct xhci_hcd *xhci,
1719 struct xhci_virt_device *virt_dev, bool drop_control_ep); 1718 struct xhci_virt_device *virt_dev, bool drop_control_ep);
@@ -1727,7 +1726,7 @@ struct xhci_ring *xhci_stream_id_to_ring(
1727struct xhci_command *xhci_alloc_command(struct xhci_hcd *xhci, 1726struct xhci_command *xhci_alloc_command(struct xhci_hcd *xhci,
1728 bool allocate_in_ctx, bool allocate_completion, 1727 bool allocate_in_ctx, bool allocate_completion,
1729 gfp_t mem_flags); 1728 gfp_t mem_flags);
1730void xhci_urb_free_priv(struct xhci_hcd *xhci, struct urb_priv *urb_priv); 1729void xhci_urb_free_priv(struct urb_priv *urb_priv);
1731void xhci_free_command(struct xhci_hcd *xhci, 1730void xhci_free_command(struct xhci_hcd *xhci,
1732 struct xhci_command *command); 1731 struct xhci_command *command);
1733 1732
@@ -1863,7 +1862,7 @@ int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci,
1863void xhci_ring_device(struct xhci_hcd *xhci, int slot_id); 1862void xhci_ring_device(struct xhci_hcd *xhci, int slot_id);
1864 1863
1865/* xHCI contexts */ 1864/* xHCI contexts */
1866struct xhci_input_control_ctx *xhci_get_input_control_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx); 1865struct xhci_input_control_ctx *xhci_get_input_control_ctx(struct xhci_container_ctx *ctx);
1867struct xhci_slot_ctx *xhci_get_slot_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx); 1866struct xhci_slot_ctx *xhci_get_slot_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx);
1868struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, unsigned int ep_index); 1867struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, unsigned int ep_index);
1869 1868