Searched refs:altsd (Results 1 – 4 of 4) sorted by relevance
138 struct usb_interface_descriptor *altsd; in snd_usb_create_stream() local148 altsd = get_iface_desc(alts); in snd_usb_create_stream()157 altsd->bInterfaceClass == USB_CLASS_VENDOR_SPEC && in snd_usb_create_stream()158 altsd->bInterfaceSubClass == USB_SUBCLASS_VENDOR_SPEC) { in snd_usb_create_stream()164 altsd = get_iface_desc(alts); in snd_usb_create_stream()173 if ((altsd->bInterfaceClass == USB_CLASS_AUDIO || in snd_usb_create_stream()174 altsd->bInterfaceClass == USB_CLASS_VENDOR_SPEC) && in snd_usb_create_stream()175 altsd->bInterfaceSubClass == USB_SUBCLASS_MIDISTREAMING) { in snd_usb_create_stream()189 if ((altsd->bInterfaceClass != USB_CLASS_AUDIO && in snd_usb_create_stream()190 altsd->bInterfaceClass != USB_CLASS_VENDOR_SPEC) || in snd_usb_create_stream()[all …]
106 struct usb_interface_descriptor *altsd; in create_standard_audio_quirk() local110 altsd = get_iface_desc(alts); in create_standard_audio_quirk()111 err = snd_usb_parse_audio_interface(chip, altsd->bInterfaceNumber); in create_standard_audio_quirk()114 altsd->bInterfaceNumber, err); in create_standard_audio_quirk()118 usb_set_interface(chip->dev, altsd->bInterfaceNumber, 0); in create_standard_audio_quirk()132 struct usb_interface_descriptor *altsd; in create_fixed_stream_quirk() local167 altsd = get_iface_desc(alts); in create_fixed_stream_quirk()168 if (altsd->bNumEndpoints < 1) { in create_fixed_stream_quirk()173 fp->protocol = altsd->bInterfaceProtocol; in create_fixed_stream_quirk()196 struct usb_interface_descriptor *altsd; in create_auto_pcm_quirk() local[all …]
397 struct usb_interface_descriptor *altsd = get_iface_desc(alts); in parse_uac_endpoint_attributes() local403 if (!csep && altsd->bNumEndpoints >= 2) in parse_uac_endpoint_attributes()418 iface_no, altsd->bAlternateSetting); in parse_uac_endpoint_attributes()478 struct usb_interface_descriptor *altsd; in snd_usb_parse_audio_interface() local502 altsd = get_iface_desc(alts); in snd_usb_parse_audio_interface()503 protocol = altsd->bInterfaceProtocol; in snd_usb_parse_audio_interface()505 if (((altsd->bInterfaceClass != USB_CLASS_AUDIO || in snd_usb_parse_audio_interface()506 (altsd->bInterfaceSubClass != USB_SUBCLASS_AUDIOSTREAMING && in snd_usb_parse_audio_interface()507 altsd->bInterfaceSubClass != USB_SUBCLASS_VENDOR_SPEC)) && in snd_usb_parse_audio_interface()508 altsd->bInterfaceClass != USB_CLASS_VENDOR_SPEC) || in snd_usb_parse_audio_interface()[all …]
291 struct usb_interface_descriptor *altsd; in search_roland_implicit_fb() local298 altsd = get_iface_desc(*alts); in search_roland_implicit_fb()299 if (altsd->bAlternateSetting != altsetting || in search_roland_implicit_fb()300 altsd->bInterfaceClass != USB_CLASS_VENDOR_SPEC || in search_roland_implicit_fb()301 (altsd->bInterfaceSubClass != 2 && in search_roland_implicit_fb()302 altsd->bInterfaceProtocol != 2 ) || in search_roland_implicit_fb()303 altsd->bNumEndpoints < 1) in search_roland_implicit_fb()316 struct usb_interface_descriptor *altsd, in set_sync_ep_implicit_fb_quirk() argument351 altsd->bInterfaceClass == USB_CLASS_VENDOR_SPEC && in set_sync_ep_implicit_fb_quirk()352 altsd->bInterfaceProtocol == 2 && in set_sync_ep_implicit_fb_quirk()[all …]