Lines Matching defs:alts

587 					 struct usb_host_interface *alts,
593 struct usb_interface_descriptor *altsd = get_iface_desc(alts);
596 csep = snd_usb_find_desc(alts->endpoint[0].extra, alts->endpoint[0].extralen, NULL, USB_DT_CS_ENDPOINT);
600 csep = snd_usb_find_desc(alts->endpoint[1].extra, alts->endpoint[1].extralen, NULL, USB_DT_CS_ENDPOINT);
608 csep = snd_usb_find_desc(alts->extra, alts->extralen, NULL, USB_DT_CS_ENDPOINT);
689 struct usb_host_interface *alts,
702 fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress;
703 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes;
704 fp->datainterval = snd_usb_parse_datainterval(chip, alts);
706 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
719 struct usb_host_interface *alts,
736 snd_usb_find_csint_desc(alts->extra, alts->extralen,
767 snd_usb_find_csint_desc(alts->extra, alts->extralen,
818 fmt = snd_usb_find_csint_desc(alts->extra, alts->extralen,
846 fp = audio_format_alloc_init(chip, alts, protocol, iface_no,
851 fp->attributes = parse_uac_endpoint_attributes(chip, alts, protocol,
875 struct usb_host_interface *alts,
902 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
948 as = snd_usb_find_csint_desc(alts->extra, alts->extralen,
1063 fp = audio_format_alloc_init(chip, alts, UAC_VERSION_3, iface_no,
1095 fp->attributes = parse_uac_endpoint_attributes(chip, alts,
1122 struct usb_host_interface *alts;
1145 alts = &iface->altsetting[i];
1146 altsd = get_iface_desc(alts);
1154 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize) == 0)
1157 if ((get_endpoint(alts, 0)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) !=
1161 stream = (get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN) ?
1199 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize) ==
1203 fp = snd_usb_get_audioformat_uac12(chip, alts, protocol,
1209 fp = snd_usb_get_audioformat_uac3(chip, alts, &pd,