diff options
Diffstat (limited to 'drivers/usb/host/xhci.h')
| -rw-r--r-- | drivers/usb/host/xhci.h | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index ca822ad3b65b..2595a8f057c4 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1929,6 +1929,10 @@ struct xhci_driver_overrides {  	size_t extra_priv_size;  	int (*reset)(struct usb_hcd *hcd);  	int (*start)(struct usb_hcd *hcd); +	int (*add_endpoint)(struct usb_hcd *hcd, struct usb_device *udev, +			    struct usb_host_endpoint *ep); +	int (*drop_endpoint)(struct usb_hcd *hcd, struct usb_device *udev, +			     struct usb_host_endpoint *ep);  	int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);  	void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);  }; @@ -2081,6 +2085,10 @@ int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks);  void xhci_shutdown(struct usb_hcd *hcd);  void xhci_init_driver(struct hc_driver *drv,  		      const struct xhci_driver_overrides *over); +int xhci_add_endpoint(struct usb_hcd *hcd, struct usb_device *udev, +		      struct usb_host_endpoint *ep); +int xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev, +		       struct usb_host_endpoint *ep);  int xhci_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev);  void xhci_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev);  int xhci_disable_slot(struct xhci_hcd *xhci, u32 slot_id); | 
