'\" t .\" Title: usb_ep_disable .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Kernel Mode Gadget API .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "USB_EP_DISABLE" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Kernel Mode Gadget API" .\" ----------------------------------------------------------------- .\" * 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_ep_disable \- endpoint is no longer usable .SH "SYNOPSIS" .HP \w'int\ usb_ep_disable('u .BI "int usb_ep_disable(struct\ usb_ep\ *\ " "ep" ");" .SH "ARGUMENTS" .PP \fIep\fR .RS 4 the endpoint being unconfigured\&. may not be the endpoint named \(lqep0\(rq\&. .RE .SH "DESCRIPTION" .PP no other task may be using this endpoint when this is called\&. any pending and uncompleted requests will complete with status indicating disconnect (\-ESHUTDOWN) before this call returns\&. gadget drivers must call \fBusb_ep_enable\fR again before queueing requests to the endpoint\&. .PP returns zero, or a negative error code\&. .SH "AUTHOR" .PP \fBDavid Brownell\fR <\&dbrownell@users.sourceforge.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br