Query: usb_init_urb
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_INIT_URB(9) USB Core APIs USB_INIT_URB(9)NAMEusb_init_urb - initializes a urb so that it can be used by a USB driverSYNOPSISvoid usb_init_urb(struct urb * urb);ARGUMENTSurb pointer to the urb to initializeDESCRIPTIONInitializes a urb so that the USB subsystem can use it properly. If a urb is created with a call to usb_alloc_urb 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. Only use this function if you _really_ understand what you are doing.COPYRIGHTKernel Hackers Manual 2.6. July 2010 USB_INIT_URB(9)