Lines Matching refs:alts

577 					 struct usb_host_interface *alts,
583 struct usb_interface_descriptor *altsd = get_iface_desc(alts);
586 csep = snd_usb_find_desc(alts->endpoint[0].extra, alts->endpoint[0].extralen, NULL, USB_DT_CS_ENDPOINT);
590 csep = snd_usb_find_desc(alts->endpoint[1].extra, alts->endpoint[1].extralen, NULL, USB_DT_CS_ENDPOINT);
598 csep = snd_usb_find_desc(alts->extra, alts->extralen, NULL, USB_DT_CS_ENDPOINT);
679 struct usb_host_interface *alts,
692 fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress;
693 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes;
694 fp->datainterval = snd_usb_parse_datainterval(chip, alts);
696 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
709 struct usb_host_interface *alts,
723 snd_usb_find_csint_desc(alts->extra, alts->extralen,
754 snd_usb_find_csint_desc(alts->extra, alts->extralen,
805 fmt = snd_usb_find_csint_desc(alts->extra, alts->extralen,
833 fp = audio_format_alloc_init(chip, alts, protocol, iface_no,
838 fp->attributes = parse_uac_endpoint_attributes(chip, alts, protocol,
862 struct usb_host_interface *alts,
887 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
933 as = snd_usb_find_csint_desc(alts->extra, alts->extralen,
1036 fp = audio_format_alloc_init(chip, alts, UAC_VERSION_3, iface_no,
1067 fp->attributes = parse_uac_endpoint_attributes(chip, alts,
1094 struct usb_host_interface *alts;
1117 alts = &iface->altsetting[i];
1118 altsd = get_iface_desc(alts);
1126 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize) == 0)
1129 if ((get_endpoint(alts, 0)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) !=
1133 stream = (get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN) ?
1171 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize) ==
1175 fp = snd_usb_get_audioformat_uac12(chip, alts, protocol,
1181 fp = snd_usb_get_audioformat_uac3(chip, alts, &pd,