Linux Kernel
3.7.1
|
usb_alloc_streams - allocate bulk endpoint stream IDs. includes all endpoints. : array of endpoints that need streams. : number of endpoints in the array. : number of streams to allocate. : flags hcd should use to allocate memory.
Sets up a group of bulk endpoints to have num_streams stream IDs available. Drivers may queue multiple transfers to different stream IDs, which may complete in a different order than they were queued.
usb_free_streams - free bulk endpoint stream IDs. includes all endpoints. : array of endpoints to remove streams from. : number of endpoints in the array. : flags hcd should use to allocate memory.
Reverts a group of bulk endpoints back to not using stream IDs. Can fail if we are given bad arguments, or HCD is broken.