usb_alloc_urb
Section: Kernel Hacker's Manual (9)
Updated: usb_alloc_urb
Index
Return to Main Contents
NAME
usb_alloc_urb - creates a new urb for a USB driver to use
SYNOPSIS
struct urb * usb_alloc_urb
(int iso_packets);
ARGUMENTS
- iso_packets
-
number of iso packets for this urb
DESCRIPTION
Creates an urb for the USB driver to use and returns a pointer to it.
If no memory is available, NULL is returned.
If the driver want to use this urb for interrupt, control, or bulk
endpoints, pass '0' as the number of iso packets.
The driver should call usb_free_urb when it is finished with the urb.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 03:55:32 GMT, June 12, 2005