Searched refs:epd (Results 1 – 4 of 4) sorted by relevance
1980 struct usb_endpoint_descriptor *epd; in snd_usbmidi_detect_endpoints() local1996 epd = get_endpoint(hostif, i); in snd_usbmidi_detect_endpoints()1997 if (!usb_endpoint_xfer_bulk(epd) && in snd_usbmidi_detect_endpoints()1998 !usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()2001 usb_endpoint_dir_out(epd)) { in snd_usbmidi_detect_endpoints()2002 endpoint[out_eps].out_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints()2003 if (usb_endpoint_xfer_int(epd)) in snd_usbmidi_detect_endpoints()2004 endpoint[out_eps].out_interval = epd->bInterval; in snd_usbmidi_detect_endpoints()2008 usb_endpoint_dir_in(epd)) { in snd_usbmidi_detect_endpoints()2009 endpoint[in_eps].in_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints()[all …]
208 struct usb_endpoint_descriptor *epd; in create_auto_pcm_quirk() local228 epd = get_endpoint(alts, 0); in create_auto_pcm_quirk()229 if (!usb_endpoint_xfer_isoc(epd)) in create_auto_pcm_quirk()331 struct usb_endpoint_descriptor *epd; in create_auto_midi_quirk() local340 epd = get_endpoint(alts, 0); in create_auto_midi_quirk()341 if (!usb_endpoint_xfer_bulk(epd) && in create_auto_midi_quirk()342 !usb_endpoint_xfer_int(epd)) in create_auto_midi_quirk()
294 struct usb_endpoint_descriptor *epd; in search_roland_implicit_fb() local307 epd = get_endpoint(*alts, 0); in search_roland_implicit_fb()308 if (!usb_endpoint_is_isoc_in(epd) || in search_roland_implicit_fb()309 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in search_roland_implicit_fb()312 *ep = epd->bEndpointAddress; in search_roland_implicit_fb()
975 const struct usb_endpoint_descriptor *epd; in detect_usb_format() local1034 epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc; in detect_usb_format()1035 if (!usb_endpoint_is_isoc_in(epd)) { in detect_usb_format()1039 ua->capture.usb_pipe = usb_rcvisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()1040 ua->capture.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()1042 epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc; in detect_usb_format()1043 if (!usb_endpoint_is_isoc_out(epd)) { in detect_usb_format()1047 ua->playback.usb_pipe = usb_sndisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()1048 ua->playback.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()