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

NAME

6       usb_ep_disable - endpoint is no longer usable
7

SYNOPSIS

9       int usb_ep_disable(struct usb_ep * ep);
10

ARGUMENTS

12       ep
13           the endpoint being unconfigured. may not be the endpoint named
14           “ep0”.
15

DESCRIPTION

17       no other task may be using this endpoint when this is called. any
18       pending and uncompleted requests will complete with status indicating
19       disconnect (-ESHUTDOWN) before this call returns. gadget drivers must
20       call usb_ep_enable again before queueing requests to the endpoint.
21
22       returns zero, or a negative error code.
23

AUTHOR

25       David Brownell <dbrownell@users.sourceforge.net>
26           Author.
27
29Kernel Hackers Manual 2.6.         June 2019                 USB_EP_DISABLE(9)
Impressum