Lines Matching refs:endpoint
205 struct usb_host_endpoint *endpoint; in usb_parse_endpoint() local
239 if (ifp->endpoint[i].desc.bEndpointAddress == in usb_parse_endpoint()
247 endpoint = &ifp->endpoint[ifp->desc.bNumEndpoints]; in usb_parse_endpoint()
250 memcpy(&endpoint->desc, d, n); in usb_parse_endpoint()
251 INIT_LIST_HEAD(&endpoint->urb_list); in usb_parse_endpoint()
324 endpoint->desc.bInterval = n; in usb_parse_endpoint()
336 endpoint->desc.bmAttributes = USB_ENDPOINT_XFER_INT; in usb_parse_endpoint()
337 endpoint->desc.bInterval = 1; in usb_parse_endpoint()
338 if (usb_endpoint_maxp(&endpoint->desc) > 8) in usb_parse_endpoint()
339 endpoint->desc.wMaxPacketSize = cpu_to_le16(8); in usb_parse_endpoint()
343 maxp = usb_endpoint_maxp(&endpoint->desc); in usb_parse_endpoint()
369 j = maxpacket_maxes[usb_endpoint_type(&endpoint->desc)]; in usb_parse_endpoint()
375 endpoint->desc.wMaxPacketSize = cpu_to_le16(i | maxp); in usb_parse_endpoint()
395 inum, asnum, endpoint, buffer, size); in usb_parse_endpoint()
399 endpoint->extra = buffer; in usb_parse_endpoint()
402 endpoint->extralen = i; in usb_parse_endpoint()
423 kfree(alt->endpoint); in usb_release_interface_cache()
502 alt->endpoint = kzalloc(len, GFP_KERNEL); in usb_parse_interface()
503 if (!alt->endpoint) in usb_parse_interface()