Lines Matching defs:desc
303 ep->desc = 0;
500 max = le16_to_cpu(ep->desc->wMaxPacketSize);
707 if (ep->desc)
780 if (!ep->desc) {
811 if (ep->desc) {
989 const struct usb_endpoint_descriptor *desc)
998 if (!_ep || !desc || ep->desc || _ep->name == ep0name
999 || desc->bDescriptorType != USB_DT_ENDPOINT
1000 || ep->bEndpointAddress != desc->bEndpointAddress
1001 || ep_maxpacket(ep) < le16_to_cpu(desc->wMaxPacketSize)) {
1007 if (ep->bmAttributes != desc->bmAttributes
1009 && desc->bmAttributes != USB_ENDPOINT_XFER_INT) {
1015 if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK
1016 && le16_to_cpu(desc->wMaxPacketSize) != ep_maxpacket(ep))
1017 || !desc->wMaxPacketSize) {
1031 ep->desc = desc;
1033 ep->ep.maxpacket = le16_to_cpu(desc->wMaxPacketSize);
1055 if (!_ep || !ep->desc) {
1071 ep->desc = 0;
1130 if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {
1231 if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {
1333 if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {