'\" t .\" Title: usb_init_urb .\" 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_INIT_URB" "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_init_urb \- initializes a urb so that it can be used by a USB driver .SH "SYNOPSIS" .HP \w'void\ usb_init_urb('u .BI "void usb_init_urb(struct\ urb\ *\ " "urb" ");" .SH "ARGUMENTS" .PP \fIurb\fR .RS 4 pointer to the urb to initialize .RE .SH "DESCRIPTION" .PP Initializes a urb so that the USB subsystem can use it properly\&. .PP If a urb is created with a call to \fBusb_alloc_urb\fR it is not necessary to call this function\&. Only use this if you allocate the space for a struct urb on your own\&. If you call this function, be careful when freeing the memory for your urb that it is no longer in use by the USB core\&. .PP Only use this function if you _really_ understand what you are doing\&. .SH "COPYRIGHT" .br