'\" t .\" Title: usb_hub_clear_tt_buffer .\" 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_HUB_CLEAR_TT_BUF" "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_hub_clear_tt_buffer \- clear control/bulk TT state in high speed hub .SH "SYNOPSIS" .HP \w'int\ usb_hub_clear_tt_buffer('u .BI "int usb_hub_clear_tt_buffer(struct\ urb\ *\ " "urb" ");" .SH "ARGUMENTS" .PP \fIurb\fR .RS 4 an URB associated with the failed or incomplete split transaction .RE .SH "DESCRIPTION" .PP High speed HCDs use this to tell the hub driver that some split control or bulk transaction failed in a way that requires clearing internal state of a transaction translator\&. This is normally detected (and reported) from interrupt context\&. .PP It may not be possible for that hub to handle additional full (or low) speed transactions until that state is fully cleared out\&. .SH "RETURN" .PP 0 if successful\&. A negative error code otherwise\&. .SH "COPYRIGHT" .br