1USB_FREE_STREAMS(9)          Host Controller APIs          USB_FREE_STREAMS(9)
2
3
4

NAME

6       usb_free_streams - free bulk endpoint stream IDs.
7

SYNOPSIS

9       int usb_free_streams(struct usb_interface * interface,
10                            struct usb_host_endpoint ** eps,
11                            unsigned int num_eps, gfp_t mem_flags);
12

ARGUMENTS

14       interface
15           alternate setting that includes all endpoints.
16
17       eps
18           array of endpoints to remove streams from.
19
20       num_eps
21           number of endpoints in the array.
22
23       mem_flags
24           flags hcd should use to allocate memory.
25

DESCRIPTION

27       Reverts a group of bulk endpoints back to not using stream IDs. Can
28       fail if we are given bad arguments, or HCD is broken.
29

RETURN

31       0 on success. On failure, a negative error code.
32
34Kernel Hackers Manual 3.10         June 2019               USB_FREE_STREAMS(9)
Impressum