Lines Matching refs:endpoint
209 epd = &alt->endpoint[k].desc; in config_endpoint_is_duplicate()
228 struct usb_host_endpoint *endpoint; in usb_parse_endpoint() local
277 endpoint = &ifp->endpoint[ifp->desc.bNumEndpoints]; in usb_parse_endpoint()
280 memcpy(&endpoint->desc, d, n); in usb_parse_endpoint()
281 INIT_LIST_HEAD(&endpoint->urb_list); in usb_parse_endpoint()
354 endpoint->desc.bInterval = n; in usb_parse_endpoint()
366 endpoint->desc.bmAttributes = USB_ENDPOINT_XFER_INT; in usb_parse_endpoint()
367 endpoint->desc.bInterval = 1; in usb_parse_endpoint()
368 if (usb_endpoint_maxp(&endpoint->desc) > 8) in usb_parse_endpoint()
369 endpoint->desc.wMaxPacketSize = cpu_to_le16(8); in usb_parse_endpoint()
378 maxp = le16_to_cpu(endpoint->desc.wMaxPacketSize); in usb_parse_endpoint()
408 j = maxpacket_maxes[usb_endpoint_type(&endpoint->desc)]; in usb_parse_endpoint()
414 endpoint->desc.wMaxPacketSize = cpu_to_le16(i | maxp); in usb_parse_endpoint()
434 inum, asnum, endpoint, buffer, size); in usb_parse_endpoint()
438 endpoint->extra = buffer; in usb_parse_endpoint()
441 endpoint->extralen = i; in usb_parse_endpoint()
462 kfree(alt->endpoint); in usb_release_interface_cache()
541 alt->endpoint = kzalloc(len, GFP_KERNEL); in usb_parse_interface()
542 if (!alt->endpoint) in usb_parse_interface()