DESCRIPTION ¶. When configurations are set, or when interface settings change, the driver will enable or disable the relevant endpoints. while it is enabled, an endpoint may be used for i/o until the driver receives a disconnect from the host or until the endpoint is disabled. the ep0 implementation (which calls this routine) must ensure that …
I have a TPS65986EVM and I have loaded a custom configuration to it, in the application customization tool I select the checkbox to enable USB EP Enable (see below), but I get an error when I.
usb: gadget: add usb_endpoint_descriptor to struct usb_ep. Change usb_ ep_enable () prototype to use endpoint descriptor from usb_ep. This optimization spares the FDs from saving the endpoint chosen descriptor. This optimization is not full though.
When switching altsettings, it’s simplest to use usb_ ep_enable or usb_ep_disable for the endpoints. Returns zero, or a negative error code. On success, this call.
interrupts are requested / allocated on usb_ ep_enable () and removed on usb_ep_disable(). Worst case are 32 interrupts, the lower limit is two for ep0/1. dwc3_send_gadget_ep_cmd() will sleep in wait_for_completion_timeout() until the command completes. the interrupt handler is.
Check our new training course. Boot Linux faster! Check our new training course. and Creative Commons CC-BY-SA. lecture and lab materials