'\" t .\" Title: usb_free_streams .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Host Controller APIs .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "USB_FREE_STREAMS" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Host Controller APIs" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" usb_free_streams \- free bulk endpoint stream IDs\&. .SH "SYNOPSIS" .HP \w'int\ usb_free_streams('u .BI "int usb_free_streams(struct\ usb_interface\ *\ " "interface" ", struct\ usb_host_endpoint\ **\ " "eps" ", unsigned\ int\ " "num_eps" ", gfp_t\ " "mem_flags" ");" .SH "ARGUMENTS" .PP \fIinterface\fR .RS 4 alternate setting that includes all endpoints\&. .RE .PP \fIeps\fR .RS 4 array of endpoints to remove streams from\&. .RE .PP \fInum_eps\fR .RS 4 number of endpoints in the array\&. .RE .PP \fImem_flags\fR .RS 4 flags hcd should use to allocate memory\&. .RE .SH "DESCRIPTION" .PP Reverts a group of bulk endpoints back to not using stream IDs\&. Can fail if we are given bad arguments, or HCD is broken\&. .SH "RETURN" .PP 0 on success\&. On failure, a negative error code\&. .SH "COPYRIGHT" .br