Files
linux-stable-mirror/include/uapi/linux
Hans de Goede bcf7f6e393 usbfs: Add support for allocating / freeing streams
This allows userspace to use bulk-streams, just like in kernel drivers, see
Documentation/usb/bulk-streams.txt for details on the in kernel API. This
is exported pretty much one on one to userspace.

To use streams an app must first make a USBDEVFS_ALLOC_STREAMS ioctl,
on success this will return the number of streams available (which may be
less then requested). If there are n streams the app can then submit
usbdevfs_urb-s with their stream_id member set to 1-n to use a specific
stream. IE if USBDEVFS_ALLOC_STREAMS returns 4 then stream_id 1-4 can be
used.

When the app is done using streams it should call USBDEVFS_FREE_STREAMS

Note applications are advised to use libusb rather then using the
usbdevfs api directly. The latest version of libusb has support for streams.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2014-03-04 15:38:05 -08:00
..
2013-11-09 18:20:22 -05:00
2013-12-11 12:57:55 -08:00
2013-12-08 11:01:47 +01:00
2013-11-27 11:03:38 -08:00
2014-01-22 10:34:15 +01:00
2014-01-27 19:27:53 -05:00
2014-01-06 15:13:01 -05:00
2013-12-06 12:37:56 -05:00
2013-12-06 12:51:41 -05:00
2013-12-11 09:25:20 -02:00