1USB_EP_DEQUEUE(9)           Kernel Mode Gadget API           USB_EP_DEQUEUE(9)
2
3
4

NAME

6       usb_ep_dequeue - dequeues (cancels, unlinks) an I/O request from an
7       endpoint
8

SYNOPSIS

10       int usb_ep_dequeue(struct usb_ep * ep, struct usb_request * req);
11

ARGUMENTS

13       ep
14           the endpoint associated with the request
15
16       req
17           the request being canceled
18

DESCRIPTION

20       if the request is still active on the endpoint, it is dequeued and its
21       completion routine is called (with status -ECONNRESET); else a negative
22       error code is returned.
23
24       note that some hardware can´t clear out write fifos (to unlink the
25       request at the head of the queue) except as part of disconnecting from
26       usb. such restrictions prevent drivers from supporting configuration
27       changes, even to configuration zero (a “chapter 9” requirement).
28

AUTHOR

30       David Brownell <dbrownell@users.sourceforge.net>
31           Author.
32
34Kernel Hackers Manual 2.6.         June 2019                 USB_EP_DEQUEUE(9)
Impressum