usb_alloc_streams — allocate bulk endpoint stream IDs.
int usb_alloc_streams ( | struct usb_interface * interface, |
struct usb_host_endpoint ** eps, | |
unsigned int num_eps, | |
unsigned int num_streams, | |
gfp_t mem_flags) ; |
interface
alternate setting that includes all endpoints.
eps
array of endpoints that need streams.
num_eps
number of endpoints in the array.
num_streams
number of streams to allocate.
mem_flags
flags hcd should use to allocate memory.