Lines Matching defs:desc
222 if (ep->desc)
476 const struct usb_endpoint_descriptor *desc)
485 || !desc || ep->desc
487 || desc->bDescriptorType != USB_DT_ENDPOINT
488 || (maxpacket = le16_to_cpu(desc->wMaxPacketSize)) == 0
499 tmp = usb_endpoint_type(desc);
531 ep->is_in = usb_endpoint_dir_in(desc);
540 ep->desc = desc;
568 ep->desc = NULL;
627 if (!_ep || (!ep->desc && ep->ep.name != ep0name)) {
842 ep->desc = NULL;
1175 if (tmp >= NUM_ENDPOINTS || (tmp && !ep->desc))
1200 if (!ep->desc || ep->is_iso)
1221 if (!ep->desc || ep->is_iso)