usb_find_endpoint(9)

usb_find_endpoint9

Find a copy of an endpoint descriptor

Usage

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

Overview

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 <[email protected]>

Author.

From linux-manual-2.6.32 2.6.32-48squeeze6 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.