Searched refs:ep2 (Results 1 – 2 of 2) sorted by relevance
107 struct usb_endpoint_descriptor *ep2 = NULL; in usb_device_added() local113 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added()118 ep2 = (struct usb_endpoint_descriptor *)desc; in usb_device_added()128 if (!ep1 || !ep2) { in usb_device_added()140 pthread_create(&th, NULL, write_thread, (void *)(uintptr_t)ep2->bEndpointAddress); in usb_device_added()142 pthread_create(&th, NULL, read_thread, (void *)(uintptr_t)ep2->bEndpointAddress); in usb_device_added()
113 struct usb_endpoint_descriptor *ep2 = NULL; in usb_device_added() local117 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added()122 ep2 = (struct usb_endpoint_descriptor *)desc; in usb_device_added()132 if (!ep1 || !ep2) { in usb_device_added()144 write_ep = ep2->bEndpointAddress; in usb_device_added()146 read_ep = ep2->bEndpointAddress; in usb_device_added()