'\" t .\" Title: usb_reset_endpoint .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "USB_RESET_ENDPOINT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "USB Core 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_reset_endpoint \- Reset an endpoint\*(Aqs state\&. .SH "SYNOPSIS" .HP \w'void\ usb_reset_endpoint('u .BI "void usb_reset_endpoint(struct\ usb_device\ *\ " "dev" ", unsigned\ int\ " "epaddr" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 the device whose endpoint is to be reset .RE .PP \fIepaddr\fR .RS 4 the endpoint\*(Aqs address\&. Endpoint number for output, endpoint number + USB_DIR_IN for input .RE .SH "DESCRIPTION" .PP Resets any host\-side endpoint state such as the toggle bit, sequence number or current window\&. .SH "COPYRIGHT" .br