USB_FIND_ENDPOINT(9) Kernel Mode Gadget API USB_FIND_ENDPOINT(9)NAMEusb_find_endpoint - find a copy of an endpoint descriptor
SYNOPSIS
struct usb_endpoint_descriptor *
usb_find_endpoint(struct usb_descriptor_header ** src,
struct usb_descriptor_header ** copy,
struct usb_endpoint_descriptor * match);
ARGUMENTS
src
original vector of descriptors
copy
copy of src
match
endpoint descriptor found in src
DESCRIPTION
This returns the copy of the match descriptor made for copy. Its
intended use is to help remembering the endpoint descriptor to use when
enabling a given endpoint.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net>
Author.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 USB_FIND_ENDPOINT(9)