.\" 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_HCD_GIVEBACK_URB" "" "06 October 2005" "" "" .SH NAME usb_hcd_giveback_urb \- return URB from HCD to device driver .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void usb_hcd_giveback_urb (struct usb_hcd * \fIhcd\fB, struct urb * \fIurb\fB, struct pt_regs * \fIregs\fB); \fR .SH "ARGUMENTS" .TP \fB\fIhcd\fB\fR host controller returning the URB .TP \fB\fIurb\fB\fR urb being returned to the USB device driver. .TP \fB\fIregs\fB\fR pt_regs, passed down to the URB completion handler .SH "CONTEXT" .PP \fBin_interrupt\fR .SH "DESCRIPTION" .PP This hands the URB from HCD to its USB device driver, using its completion function. The HCD has freed all per-urb resources (and is done using urb->hcpriv). It also released all HCD locks; the device driver won't cause problems if it frees, modifies, or resubmits this URB.