Searched refs:epd (Results 1 – 4 of 4) sorted by relevance
2027 struct usb_endpoint_descriptor *epd; in snd_usbmidi_detect_endpoints() local2043 epd = get_endpoint(hostif, i); in snd_usbmidi_detect_endpoints()2044 if (!usb_endpoint_xfer_bulk(epd) && in snd_usbmidi_detect_endpoints()2045 !usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()2048 usb_endpoint_dir_out(epd)) { in snd_usbmidi_detect_endpoints()2049 endpoint[out_eps].out_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints()2050 if (usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()2051 endpoint[out_eps].out_interval = epd->bInterval; in snd_usbmidi_detect_endpoints()2055 usb_endpoint_dir_in(epd)) { in snd_usbmidi_detect_endpoints()2056 endpoint[in_eps].in_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints()[all …]
201 struct usb_endpoint_descriptor *epd; in create_auto_pcm_quirk() local221 epd = get_endpoint(alts, 0); in create_auto_pcm_quirk()222 if (!usb_endpoint_xfer_isoc(epd)) in create_auto_pcm_quirk()327 struct usb_endpoint_descriptor *epd; in create_auto_midi_quirk() local336 epd = get_endpoint(alts, 0); in create_auto_midi_quirk()337 if (!usb_endpoint_xfer_bulk(epd) && in create_auto_midi_quirk()338 !usb_endpoint_xfer_int(epd)) in create_auto_midi_quirk()
349 struct usb_endpoint_descriptor *epd; in search_roland_implicit_fb() local362 epd = get_endpoint(*alts, 0); in search_roland_implicit_fb()363 if (!usb_endpoint_is_isoc_in(epd) || in search_roland_implicit_fb()364 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in search_roland_implicit_fb()367 *ep = epd->bEndpointAddress; in search_roland_implicit_fb()
963 const struct usb_endpoint_descriptor *epd; in detect_usb_format() local1022 epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc; in detect_usb_format()1023 if (!usb_endpoint_is_isoc_in(epd) || usb_endpoint_maxp(epd) == 0) { in detect_usb_format()1027 ua->capture.usb_pipe = usb_rcvisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()1028 ua->capture.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()1030 epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc; in detect_usb_format()1031 if (!usb_endpoint_is_isoc_out(epd) || usb_endpoint_maxp(epd) == 0) { in detect_usb_format()1035 ua->playback.usb_pipe = usb_sndisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()1036 ua->playback.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()