diff options
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index 191af498c4f5..1ea25377ca0d 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -570,6 +570,16 @@ static inline void usb_mark_last_busy(struct usb_device *udev) | |||
570 | /* for drivers using iso endpoints */ | 570 | /* for drivers using iso endpoints */ |
571 | extern int usb_get_current_frame_number(struct usb_device *usb_dev); | 571 | extern int usb_get_current_frame_number(struct usb_device *usb_dev); |
572 | 572 | ||
573 | /* Sets up a group of bulk endpoints to support multiple stream IDs. */ | ||
574 | extern int usb_alloc_streams(struct usb_interface *interface, | ||
575 | struct usb_host_endpoint **eps, unsigned int num_eps, | ||
576 | unsigned int num_streams, gfp_t mem_flags); | ||
577 | |||
578 | /* Reverts a group of bulk endpoints back to not using stream IDs. */ | ||
579 | extern void usb_free_streams(struct usb_interface *interface, | ||
580 | struct usb_host_endpoint **eps, unsigned int num_eps, | ||
581 | gfp_t mem_flags); | ||
582 | |||
573 | /* used these for multi-interface device registration */ | 583 | /* used these for multi-interface device registration */ |
574 | extern int usb_driver_claim_interface(struct usb_driver *driver, | 584 | extern int usb_driver_claim_interface(struct usb_driver *driver, |
575 | struct usb_interface *iface, void *priv); | 585 | struct usb_interface *iface, void *priv); |