Query: usb_hcd_giveback_urb
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_HCD_GIVEBACK_URB(9) Host Controller APIs USB_HCD_GIVEBACK_URB(9)NAMEusb_hcd_giveback_urb - return URB from HCD to device driverSYNOPSISvoid usb_hcd_giveback_urb(struct usb_hcd * hcd, struct urb * urb, int status);ARGUMENTShcd host controller returning the URB urb urb being returned to the USB device driver. status completion status code for the URB.CONTEXTin_interruptDESCRIPTIONThis 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. If urb was unlinked, the value of status will be overridden by urb->unlinked. Erroneous short transfers are detected in case the HCD hasn't checked for them.COPYRIGHTKernel Hackers Manual 2.6. July 2010 USB_HCD_GIVEBACK_URB(9)