HomeSort by relevance Sort by last modified time
    Searched refs:ep1 (Results 1 - 5 of 5) sorted by null

  /cts/apps/cts-usb-accessory/
cts-usb-accessory.c 98 struct usb_endpoint_descriptor *ep1 = NULL; local
106 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) {
110 if (ep1)
113 ep1 = (struct usb_endpoint_descriptor *)desc;
121 if (!ep1 || !ep2) {
132 if ((ep1->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) {
133 endpoints[0] = ep1->bEndpointAddress;
137 endpoints[1] = ep1->bEndpointAddress;
  /frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
accessorychat.c 106 struct usb_endpoint_descriptor *ep1 = NULL; local
113 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) {
117 if (ep1)
120 ep1 = (struct usb_endpoint_descriptor *)desc;
128 if (!ep1 || !ep2) {
138 if ((ep1->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) {
139 pthread_create(&th, NULL, read_thread, (void *)ep1->bEndpointAddress);
143 pthread_create(&th, NULL, write_thread, (void *)ep1->bEndpointAddress);
  /system/core/adb/
usb_linux.c 159 struct usb_endpoint_descriptor *ep1, *ep2; local
238 ep1 = (struct usb_endpoint_descriptor *)bufptr;
244 ep1->bLength != USB_DT_ENDPOINT_SIZE ||
245 ep1->bDescriptorType != USB_DT_ENDPOINT ||
253 if (ep1->bmAttributes != USB_ENDPOINT_XFER_BULK ||
260 zero_mask = ep1->wMaxPacketSize - 1;
264 if (ep1->bEndpointAddress & USB_ENDPOINT_DIR_MASK) {
265 local_ep_in = ep1->bEndpointAddress;
269 local_ep_out = ep1->bEndpointAddress;
adb.h 482 #define USB_FFS_ADB_OUT USB_FFS_ADB_EP(ep1)
  /system/core/fastbootd/
usb_linux_client.c 50 #define USB_FFS_FASTBOOT_OUT USB_FFS_FASTBOOT_EP(ep1)

Completed in 330 milliseconds