Lines Matching refs:alts
154 struct usb_host_interface *alts,
160 struct usb_interface_descriptor *altsd = get_iface_desc(alts);
163 csep = snd_usb_find_desc(alts->endpoint[0].extra, alts->endpoint[0].extralen, NULL, USB_DT_CS_ENDPOINT);
167 csep = snd_usb_find_desc(alts->endpoint[1].extra, alts->endpoint[1].extralen, NULL, USB_DT_CS_ENDPOINT);
230 struct usb_host_interface *alts;
249 alts = &iface->altsetting[i];
250 altsd = get_iface_desc(alts);
258 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize) == 0)
261 if ((get_endpoint(alts, 0)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) !=
265 stream = (get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN) ?
282 snd_usb_find_csint_desc(alts->extra, alts->extralen, NULL, UAC_AS_GENERAL);
304 snd_usb_find_csint_desc(alts->extra, alts->extralen, NULL, UAC_AS_GENERAL);
344 fmt = snd_usb_find_csint_desc(alts->extra, alts->extralen, NULL, UAC_FORMAT_TYPE);
363 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize) ==
376 fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress;
377 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes;
378 fp->datainterval = snd_usb_parse_datainterval(chip, alts);
379 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
385 fp->attributes = parse_uac_endpoint_attributes(chip, alts, protocol, iface_no);
420 if (snd_usb_parse_audio_format(chip, fp, format, fmt, stream, alts) < 0) {
436 snd_usb_init_pitch(chip, iface_no, alts, fp);
437 snd_usb_init_sample_rate(chip, iface_no, alts, fp, fp->rate_max);