Lines Matching defs:desc
1050 const struct usb_endpoint_descriptor *desc)
1061 if (!_ep || !desc || ep->desc
1063 || desc->bDescriptorType != USB_DT_ENDPOINT)
1070 max = le16_to_cpu(desc->wMaxPacketSize) & 0x1fff;
1074 ep->desc = desc;
1076 ep->bEndpointAddress = desc->bEndpointAddress;
1083 if (desc->bEndpointAddress & USB_DIR_IN) {
1115 tmp = desc->bEndpointAddress;
1118 desc->bEndpointAddress & USB_DIR_IN ? "in" : "out", max);
1135 if (!_ep || !ep->desc) {
1145 ep->desc = NULL;
1193 if (!ep || !_req || (!ep->desc && _ep->name != ep0name))
1213 if (unlikely (!_ep || (!ep->desc && ep->ep.name != ep0name))) {
1361 if (unlikely (!_ep || (!ep->desc && ep->ep.name != ep0name))) {
1594 ep->desc = NULL;