Lines Matching refs:alts
574 struct usb_host_interface *alts, in parse_uac_endpoint_attributes() argument
580 struct usb_interface_descriptor *altsd = get_iface_desc(alts); in parse_uac_endpoint_attributes()
583 …csep = snd_usb_find_desc(alts->endpoint[0].extra, alts->endpoint[0].extralen, NULL, USB_DT_CS_ENDP… in parse_uac_endpoint_attributes()
587 …csep = snd_usb_find_desc(alts->endpoint[1].extra, alts->endpoint[1].extralen, NULL, USB_DT_CS_ENDP… in parse_uac_endpoint_attributes()
595 csep = snd_usb_find_desc(alts->extra, alts->extralen, NULL, USB_DT_CS_ENDPOINT); in parse_uac_endpoint_attributes()
676 struct usb_host_interface *alts, in audio_format_alloc_init() argument
689 fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress; in audio_format_alloc_init()
690 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes; in audio_format_alloc_init()
691 fp->datainterval = snd_usb_parse_datainterval(chip, alts); in audio_format_alloc_init()
693 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in audio_format_alloc_init()
706 struct usb_host_interface *alts, in snd_usb_get_audioformat_uac12() argument
720 snd_usb_find_csint_desc(alts->extra, alts->extralen, in snd_usb_get_audioformat_uac12()
751 snd_usb_find_csint_desc(alts->extra, alts->extralen, in snd_usb_get_audioformat_uac12()
802 fmt = snd_usb_find_csint_desc(alts->extra, alts->extralen, in snd_usb_get_audioformat_uac12()
830 fp = audio_format_alloc_init(chip, alts, protocol, iface_no, in snd_usb_get_audioformat_uac12()
835 fp->attributes = parse_uac_endpoint_attributes(chip, alts, protocol, in snd_usb_get_audioformat_uac12()
859 struct usb_host_interface *alts, in snd_usb_get_audioformat_uac3() argument
884 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in snd_usb_get_audioformat_uac3()
930 as = snd_usb_find_csint_desc(alts->extra, alts->extralen, in snd_usb_get_audioformat_uac3()
1033 fp = audio_format_alloc_init(chip, alts, UAC_VERSION_3, iface_no, in snd_usb_get_audioformat_uac3()
1064 fp->attributes = parse_uac_endpoint_attributes(chip, alts, in snd_usb_get_audioformat_uac3()
1091 struct usb_host_interface *alts; in __snd_usb_parse_audio_interface() local
1114 alts = &iface->altsetting[i]; in __snd_usb_parse_audio_interface()
1115 altsd = get_iface_desc(alts); in __snd_usb_parse_audio_interface()
1123 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize) == 0) in __snd_usb_parse_audio_interface()
1126 if ((get_endpoint(alts, 0)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != in __snd_usb_parse_audio_interface()
1130 stream = (get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN) ? in __snd_usb_parse_audio_interface()
1168 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize) == in __snd_usb_parse_audio_interface()
1172 fp = snd_usb_get_audioformat_uac12(chip, alts, protocol, in __snd_usb_parse_audio_interface()
1178 fp = snd_usb_get_audioformat_uac3(chip, alts, &pd, in __snd_usb_parse_audio_interface()