linux/drivers/usb/core
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
..
Kconfig
Makefile USB: core: remove CONFIG_USB_DEBUG usage 2013-12-21 16:01:00 -08:00
buffer.c USB: core: correct spelling mistakes in comments and warning 2014-01-07 16:17:40 -08:00
config.c usb-core: Move USB_MAXENDPOINTS definitions to usb.h 2014-03-04 15:38:03 -08:00
devices.c
devio.c usbfs: Add support for allocating / freeing streams 2014-03-04 15:38:05 -08:00
driver.c usb-core: Free bulk streams on interface release 2014-03-04 15:38:03 -08:00
endpoint.c
file.c
generic.c
hcd-pci.c usb: hcd: move controller wakeup setting initialization to individual driver 2013-12-08 18:06:46 -08:00
hcd.c usb-core: Track if an endpoint has streams 2014-03-04 15:38:03 -08:00
hub.c usb/xhci: Change how we indicate a host supports Link PM. 2014-03-04 15:38:00 -08:00
hub.h USB: core: correct spelling mistakes in comments and warning 2014-01-07 16:17:40 -08:00
message.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
notify.c
otg_whitelist.h
port.c
quirks.c Revert "USB: quirks: add touchscreen that is dazzeled by remote wakeup" 2013-12-08 18:07:38 -08:00
sysfs.c USB: core: correct spelling mistakes in comments and warning 2014-01-07 16:17:40 -08:00
urb.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
usb-acpi.c ACPI and power management updates for 3.14-rc1 2014-01-24 15:51:02 -08:00
usb.c
usb.h Revert "usbcore: set lpm_capable field for LPM capable root hubs" 2014-01-22 13:59:35 -08:00