.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "USB_DISABLE_ENDPOINT" "9" "09 October 2005" "" "" .SH NAME usb_disable_endpoint \- - Disable an endpoint by address .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void usb_disable_endpoint (struct usb_device * \fIdev\fB, unsigned int \fIepaddr\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR the device whose endpoint is being disabled .TP \fB\fIepaddr\fB\fR the endpoint's address. Endpoint number for output, endpoint number + USB_DIR_IN for input .SH "DESCRIPTION" .PP Deallocates hcd/hardware state for this endpoint ... and nukes all pending urbs. .PP If the HCD hasn't registered a \fBdisable\fR function, this sets the endpoint's maxpacket size to 0 to prevent further submissions.