Searched refs:ep1 (Results 1 – 2 of 2) sorted by relevance
106 struct usb_endpoint_descriptor *ep1 = NULL; in usb_device_added() local113 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added()117 if (ep1) in usb_device_added()120 ep1 = (struct usb_endpoint_descriptor *)desc; in usb_device_added()128 if (!ep1 || !ep2) { in usb_device_added()138 if ((ep1->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in usb_device_added()139 pthread_create(&th, NULL, read_thread, (void *)(uintptr_t)ep1->bEndpointAddress); in usb_device_added()143 pthread_create(&th, NULL, write_thread, (void *)(uintptr_t)ep1->bEndpointAddress); in usb_device_added()
112 struct usb_endpoint_descriptor *ep1 = NULL; in usb_device_added() local117 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added()121 if (ep1) in usb_device_added()124 ep1 = (struct usb_endpoint_descriptor *)desc; in usb_device_added()132 if (!ep1 || !ep2) { in usb_device_added()142 if ((ep1->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in usb_device_added()143 read_ep = ep1->bEndpointAddress; in usb_device_added()147 write_ep = ep1->bEndpointAddress; in usb_device_added()