Home
last modified time | relevance | path

Searched refs:is_control (Results 1 – 1 of 1) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/core/
A Dusb_msg.c403 int is_control = 0; in usb_enable_endpoint() local
404is_control = ((ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_CONTROL); in usb_enable_endpoint()
406 if (usb_endpoint_out(epaddr) || is_control) in usb_enable_endpoint()
412 if (!usb_endpoint_out(epaddr) || is_control) in usb_enable_endpoint()

Completed in 10 milliseconds