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

NAME

6       usb_find_endpoint - find a copy of an endpoint descriptor
7

SYNOPSIS

9       struct usb_endpoint_descriptor *
10                                                          usb_find_endpoint(struct usb_descriptor_header ** src,
11                                                          struct usb_descriptor_header ** copy,
12                                                          struct usb_endpoint_descriptor * match);
13

ARGUMENTS

15       src
16           original vector of descriptors
17
18       copy
19           copy of src
20
21       match
22           endpoint descriptor found in src
23

DESCRIPTION

25       This returns the copy of the match descriptor made for copy. Its
26       intended use is to help remembering the endpoint descriptor to use when
27       enabling a given endpoint.
28

AUTHOR

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