Searched refs:altsd (Results 1 – 4 of 4) sorted by relevance
139 struct usb_interface_descriptor *altsd; in snd_usb_create_stream() local149 altsd = get_iface_desc(alts); in snd_usb_create_stream()158 altsd->bInterfaceClass == USB_CLASS_VENDOR_SPEC && in snd_usb_create_stream()159 altsd->bInterfaceSubClass == USB_SUBCLASS_VENDOR_SPEC) { in snd_usb_create_stream()165 altsd = get_iface_desc(alts); in snd_usb_create_stream()174 if ((altsd->bInterfaceClass == USB_CLASS_AUDIO || in snd_usb_create_stream()175 altsd->bInterfaceClass == USB_CLASS_VENDOR_SPEC) && in snd_usb_create_stream()176 altsd->bInterfaceSubClass == USB_SUBCLASS_MIDISTREAMING) { in snd_usb_create_stream()191 if ((altsd->bInterfaceClass != USB_CLASS_AUDIO && in snd_usb_create_stream()192 altsd->bInterfaceClass != USB_CLASS_VENDOR_SPEC) || in snd_usb_create_stream()[all …]
115 struct usb_interface_descriptor *altsd; in create_standard_audio_quirk() local122 altsd = get_iface_desc(alts); in create_standard_audio_quirk()123 err = snd_usb_parse_audio_interface(chip, altsd->bInterfaceNumber); in create_standard_audio_quirk()126 altsd->bInterfaceNumber, err); in create_standard_audio_quirk()130 usb_set_interface(chip->dev, altsd->bInterfaceNumber, 0); in create_standard_audio_quirk()144 struct usb_interface_descriptor *altsd; in create_fixed_stream_quirk() local178 altsd = get_iface_desc(alts); in create_fixed_stream_quirk()179 if (altsd->bNumEndpoints < 1) { in create_fixed_stream_quirk()184 fp->protocol = altsd->bInterfaceProtocol; in create_fixed_stream_quirk()207 struct usb_interface_descriptor *altsd; in create_auto_pcm_quirk() local[all …]
404 struct usb_interface_descriptor *altsd = get_iface_desc(alts); in parse_uac_endpoint_attributes() local410 if (!csep && altsd->bNumEndpoints >= 2) in parse_uac_endpoint_attributes()425 iface_no, altsd->bAlternateSetting); in parse_uac_endpoint_attributes()485 struct usb_interface_descriptor *altsd; in snd_usb_parse_audio_interface() local509 altsd = get_iface_desc(alts); in snd_usb_parse_audio_interface()510 protocol = altsd->bInterfaceProtocol; in snd_usb_parse_audio_interface()512 if (((altsd->bInterfaceClass != USB_CLASS_AUDIO || in snd_usb_parse_audio_interface()513 (altsd->bInterfaceSubClass != USB_SUBCLASS_AUDIOSTREAMING && in snd_usb_parse_audio_interface()514 altsd->bInterfaceSubClass != USB_SUBCLASS_VENDOR_SPEC)) && in snd_usb_parse_audio_interface()515 altsd->bInterfaceClass != USB_CLASS_VENDOR_SPEC) || in snd_usb_parse_audio_interface()[all …]
293 struct usb_interface_descriptor *altsd; in search_roland_implicit_fb() local300 altsd = get_iface_desc(*alts); in search_roland_implicit_fb()301 if (altsd->bAlternateSetting != altsetting || in search_roland_implicit_fb()302 altsd->bInterfaceClass != USB_CLASS_VENDOR_SPEC || in search_roland_implicit_fb()303 (altsd->bInterfaceSubClass != 2 && in search_roland_implicit_fb()304 altsd->bInterfaceProtocol != 2 ) || in search_roland_implicit_fb()305 altsd->bNumEndpoints < 1) in search_roland_implicit_fb()321 struct usb_interface_descriptor *altsd, in set_sync_ep_implicit_fb_quirk() argument375 altsd->bInterfaceClass == USB_CLASS_VENDOR_SPEC && in set_sync_ep_implicit_fb_quirk()376 altsd->bInterfaceProtocol == 2 && in set_sync_ep_implicit_fb_quirk()[all …]