USB: xhci: Allow allocation of commands without input contexts.
[deliverable/linux.git] / drivers / usb / host / xhci.h
index 877813505ef2044d062a1f66b8215b4a952aeda2..902be9647c608305c1eba1d907ab22ee764e5c8b 100644 (file)
@@ -1233,8 +1233,12 @@ int xhci_endpoint_init(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev,
                struct usb_device *udev, struct usb_host_endpoint *ep,
                gfp_t mem_flags);
 void xhci_ring_free(struct xhci_hcd *xhci, struct xhci_ring *ring);
+void xhci_free_or_cache_endpoint_ring(struct xhci_hcd *xhci,
+               struct xhci_virt_device *virt_dev,
+               unsigned int ep_index);
 struct xhci_command *xhci_alloc_command(struct xhci_hcd *xhci,
-               bool allocate_completion, gfp_t mem_flags);
+               bool allocate_in_ctx, bool allocate_completion,
+               gfp_t mem_flags);
 void xhci_free_command(struct xhci_hcd *xhci,
                struct xhci_command *command);
 
This page took 0.024612 seconds and 5 git commands to generate.