Rechercher une page de manuel
usb_ep_dequeue
Langue: en
Version: October 2010 (fedora - 01/12/10)
Section: 9 (Appels noyau Linux)
NAME
usb_ep_dequeue - dequeues (cancels, unlinks) an I/O request from an endpointSYNOPSIS
- int usb_ep_dequeue(struct usb_ep * ep, struct usb_request * req);
ARGUMENTS
ep
- the endpoint associated with the request
req
- the request being canceled
DESCRIPTION
if the request is still active on the endpoint, it is dequeued and its completion routine is called (with status -ECONNRESET); else a negative error code is returned.
note that some hardware can't clear out write fifos (to unlink the request at the head of the queue) except as part of disconnecting from usb. such restrictions prevent drivers from supporting configuration changes, even to configuration zero (a lqchapter 9rq requirement).
AUTHOR
David Brownell <dbrownell@users.sourceforge.net>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre