Lines Matching refs:altsd
96 struct usb_interface_descriptor *altsd; in create_standard_audio_quirk() local
100 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() local
185 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
237 altsd = get_iface_desc(alts); in create_auto_pcm_quirk()
240 if (altsd->bNumEndpoints < 1) in create_auto_pcm_quirk()
347 struct usb_interface_descriptor *altsd; in create_auto_midi_quirk() local
352 altsd = get_iface_desc(alts); in create_auto_midi_quirk()
355 if (altsd->bNumEndpoints < 1) in create_auto_midi_quirk()
409 struct usb_interface_descriptor *altsd; in create_uaxx_quirk() local
417 altsd = get_iface_desc(alts); in create_uaxx_quirk()
419 if (altsd->bNumEndpoints == 2) { in create_uaxx_quirk()
445 if (altsd->bNumEndpoints != 1) in create_uaxx_quirk()
452 fp->iface = altsd->bInterfaceNumber; in create_uaxx_quirk()