Searched refs:altsd (Results 1 – 5 of 5) sorted by relevance
144 struct usb_interface_descriptor *altsd; in snd_usb_create_stream() local154 altsd = get_iface_desc(alts); in snd_usb_create_stream()163 altsd->bInterfaceClass == USB_CLASS_VENDOR_SPEC && in snd_usb_create_stream()164 altsd->bInterfaceSubClass == USB_SUBCLASS_VENDOR_SPEC) { in snd_usb_create_stream()170 altsd = get_iface_desc(alts); in snd_usb_create_stream()179 if ((altsd->bInterfaceClass == USB_CLASS_AUDIO || in snd_usb_create_stream()180 altsd->bInterfaceClass == USB_CLASS_VENDOR_SPEC) && in snd_usb_create_stream()181 altsd->bInterfaceSubClass == USB_SUBCLASS_MIDISTREAMING) { in snd_usb_create_stream()194 if ((altsd->bInterfaceClass != USB_CLASS_AUDIO && in snd_usb_create_stream()195 altsd->bInterfaceClass != USB_CLASS_VENDOR_SPEC) || in snd_usb_create_stream()[all …]
96 struct usb_interface_descriptor *altsd; in create_standard_audio_quirk() local100 altsd = get_iface_desc(alts); in create_standard_audio_quirk()101 err = snd_usb_parse_audio_interface(chip, altsd->bInterfaceNumber); in create_standard_audio_quirk()104 altsd->bInterfaceNumber, err); in create_standard_audio_quirk()108 usb_set_interface(chip->dev, altsd->bInterfaceNumber, 0); in create_standard_audio_quirk()156 struct usb_interface_descriptor *altsd; in create_fixed_stream_quirk() local185 altsd = get_iface_desc(alts); in create_fixed_stream_quirk()186 if (altsd->bNumEndpoints <= fp->ep_idx) { in create_fixed_stream_quirk()191 fp->protocol = altsd->bInterfaceProtocol; in create_fixed_stream_quirk()221 struct usb_interface_descriptor *altsd; in create_auto_pcm_quirk() local[all …]
580 struct usb_interface_descriptor *altsd = get_iface_desc(alts); in parse_uac_endpoint_attributes() local586 if (!csep && altsd->bNumEndpoints >= 2) in parse_uac_endpoint_attributes()630 iface_no, altsd->bAlternateSetting); in parse_uac_endpoint_attributes()1092 struct usb_interface_descriptor *altsd; in __snd_usb_parse_audio_interface() local1115 altsd = get_iface_desc(alts); in __snd_usb_parse_audio_interface()1116 protocol = altsd->bInterfaceProtocol; in __snd_usb_parse_audio_interface()1118 if (((altsd->bInterfaceClass != USB_CLASS_AUDIO || in __snd_usb_parse_audio_interface()1119 (altsd->bInterfaceSubClass != USB_SUBCLASS_AUDIOSTREAMING && in __snd_usb_parse_audio_interface()1120 altsd->bInterfaceSubClass != USB_SUBCLASS_VENDOR_SPEC)) && in __snd_usb_parse_audio_interface()1121 altsd->bInterfaceClass != USB_CLASS_VENDOR_SPEC) || in __snd_usb_parse_audio_interface()[all …]
317 struct usb_interface_descriptor *altsd; in snd_usb_audioformat_set_sync_ep() local328 altsd = get_iface_desc(alts); in snd_usb_audioformat_set_sync_ep()338 if (fmt->ep_idx > 0 || altsd->bNumEndpoints < 2) in snd_usb_audioformat_set_sync_ep()388 fmt->sync_iface = altsd->bInterfaceNumber; in snd_usb_audioformat_set_sync_ep()389 fmt->sync_altsetting = altsd->bAlternateSetting; in snd_usb_audioformat_set_sync_ep()
3076 struct usb_interface_descriptor *altsd; in snd_usb_mixer_controls_badd() local3101 altsd = get_iface_desc(alts); in snd_usb_mixer_controls_badd()3103 if (altsd->bNumEndpoints < 1) in snd_usb_mixer_controls_badd()