Home
last modified time | relevance | path

Searched refs:ep_num (Results 1 – 5 of 5) sorted by relevance

/sound/usb/
Dendpoint.c608 snd_usb_get_endpoint(struct snd_usb_audio *chip, int ep_num) in snd_usb_get_endpoint() argument
613 if (ep->ep_num == ep_num) in snd_usb_get_endpoint()
641 int snd_usb_add_endpoint(struct snd_usb_audio *chip, int ep_num, int type) in snd_usb_add_endpoint() argument
646 ep = snd_usb_get_endpoint(chip, ep_num); in snd_usb_add_endpoint()
652 ep_num); in snd_usb_add_endpoint()
660 ep->ep_num = ep_num; in snd_usb_add_endpoint()
664 is_playback = ((ep_num & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in snd_usb_add_endpoint()
665 ep_num &= USB_ENDPOINT_NUMBER_MASK; in snd_usb_add_endpoint()
667 ep->pipe = usb_sndisocpipe(chip->dev, ep_num); in snd_usb_add_endpoint()
669 ep->pipe = usb_rcvisocpipe(chip->dev, ep_num); in snd_usb_add_endpoint()
[all …]
Dimplicit.c30 unsigned int ep_num; member
38 { .id = USB_ID(vend, prod), .type = IMPLICIT_FB_FIXED, .ep_num = (ep),\
41 { .id = USB_ID(vend, prod), .type = IMPLICIT_FB_BOTH, .ep_num = (ep),\
70 .ep_num = 0x84, .iface = 0 }, /* MOTU MicroBook II */
306 return add_implicit_fb_sync_ep(chip, fmt, p->ep_num, 0, in audioformat_implicit_fb_quirk()
367 return add_implicit_fb_sync_ep(chip, fmt, p->ep_num, 0, in audioformat_capture_quirk()
436 find_matching_substream(struct snd_usb_audio *chip, int stream, int ep_num, in find_matching_substream() argument
444 if (as->fmt_type == fmt_type && subs->ep_num == ep_num) in find_matching_substream()
Dendpoint.h9 int ep_num);
11 int snd_usb_add_endpoint(struct snd_usb_audio *chip, int ep_num, int type);
Dcard.h70 int ep_num; /* the referenced endpoint number */ member
181 unsigned int ep_num; /* the endpoint number */ member
Dstream.c104 subs->ep_num = fp->endpoint; in snd_usb_init_substream()
491 if (subs->ep_num == fp->endpoint) { in __snd_usb_add_audio_stream()
507 if (subs->ep_num) in __snd_usb_add_audio_stream()