Scroll to navigation

USB_ENDPOINT_DIR_IN(9) Kernel Mode Gadget API USB_ENDPOINT_DIR_IN(9)

NAME

usb_endpoint_dir_in - check if the endpoint has IN direction

SYNOPSIS

int usb_endpoint_dir_in(const struct usb_endpoint_descriptor * epd);

ARGUMENTS

epd

endpoint to be checked

DESCRIPTION

Returns true if the endpoint is of type IN, otherwise it returns false.

AUTHOR

David Brownell <dbrownell@users.sourceforge.net>

Author.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.