1USB_HCD_LINK_URB_TO_(9)      Host Controller APIs      USB_HCD_LINK_URB_TO_(9)
2
3
4

NAME

6       usb_hcd_link_urb_to_ep - add an URB to its endpoint queue
7

SYNOPSIS

9       int usb_hcd_link_urb_to_ep(struct usb_hcd * hcd, struct urb * urb);
10

ARGUMENTS

12       hcd
13           host controller to which urb was submitted
14
15       urb
16           URB being submitted
17

DESCRIPTION

19       Host controller drivers should call this routine in their enqueue
20       method. The HCD's private spinlock must be held and interrupts must be
21       disabled. The actions carried out here are required for URB submission,
22       as well as for endpoint shutdown and for usb_kill_urb.
23
24       Returns 0 for no error, otherwise a negative error code (in which case
25       the enqueue method must fail). If no error occurs but enqueue fails
26       anyway, it must call usb_hcd_unlink_urb_from_ep before releasing the
27       private spinlock and returning.
28
30Kernel Hackers Manual 2.6.       November 2011         USB_HCD_LINK_URB_TO_(9)
Impressum