Home
last modified time | relevance | path

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

/system/core/adb/client/
Dusb_linux.cpp148 struct usb_endpoint_descriptor *ep1, *ep2; in find_usb_device() local
225 ep1 = (struct usb_endpoint_descriptor *)bufptr; in find_usb_device()
243 ep1->bLength != USB_DT_ENDPOINT_SIZE || in find_usb_device()
244 ep1->bDescriptorType != USB_DT_ENDPOINT || in find_usb_device()
252 if (ep1->bmAttributes != USB_ENDPOINT_XFER_BULK || in find_usb_device()
259 max_packet_size = ep1->wMaxPacketSize; in find_usb_device()
260 zero_mask = ep1->wMaxPacketSize - 1; in find_usb_device()
265 if (ep1->bEndpointAddress & USB_ENDPOINT_DIR_MASK) { in find_usb_device()
266 local_ep_in = ep1->bEndpointAddress; in find_usb_device()
270 local_ep_out = ep1->bEndpointAddress; in find_usb_device()
/system/core/adb/
Dadb.h221 #define USB_FFS_ADB_OUT USB_FFS_ADB_EP(ep1)