/sound/usb/ |
D | quirks.c | 48 int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber; in create_composite_quirk() 109 alts = &iface->altsetting[0]; in create_standard_audio_quirk() 161 if (fp->iface != get_iface_desc(&iface->altsetting[0])->bInterfaceNumber || in create_fixed_stream_quirk() 166 alts = &iface->altsetting[fp->altset_idx]; in create_fixed_stream_quirk() 211 alts = &iface->altsetting[1]; in create_auto_pcm_quirk() 323 alts = &iface->altsetting[0]; in create_auto_midi_quirk() 367 int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber; in create_autodetect_quirks() 385 get_iface_desc(iface->altsetting)->bInterfaceClass != in create_autodetect_quirks() 410 .altsetting = 1, in create_uaxx_quirk() 422 alts = &iface->altsetting[1]; in create_uaxx_quirk() [all …]
|
D | clock.c | 305 iface, fmt->altsetting, rate, ep); in set_sample_rate_v1() 319 iface, fmt->altsetting, ep); in set_sample_rate_v1() 333 int altsetting, int clock) in get_sample_rate_v2() argument 346 iface, altsetting, err); in get_sample_rate_v2() 368 prev_rate = get_sample_rate_v2(chip, iface, fmt->altsetting, clock); in set_sample_rate_v2() 384 iface, fmt->altsetting, rate, err); in set_sample_rate_v2() 388 cur_rate = get_sample_rate_v2(chip, iface, fmt->altsetting, clock); in set_sample_rate_v2() 397 iface, fmt->altsetting, rate, cur_rate); in set_sample_rate_v2() 410 usb_set_interface(dev, iface, fmt->altsetting); in set_sample_rate_v2()
|
D | format.c | 78 fp->iface, fp->altsetting); in parse_audio_format_i_type() 87 fp->iface, fp->altsetting, in parse_audio_format_i_type() 113 fp->iface, fp->altsetting, in parse_audio_format_i_type() 138 fp->iface, fp->altsetting, format); in parse_audio_format_i_type() 165 fp->iface, fp->altsetting); in parse_audio_format_rates_v1() 193 fp->altsetting == 5 && fp->maxpacksize == 392) in parse_audio_format_rates_v1() 385 fp->altsetting == 6) in parse_audio_format_i() 420 fp->iface, fp->altsetting, fp->channels); in parse_audio_format_i() 448 fp->iface, fp->altsetting, format); in parse_audio_format_ii() 498 fp->iface, fp->altsetting, in snd_usb_parse_audio_format()
|
D | quirks-table.h | 63 .altsetting = 1, 523 .altsetting = 1, 540 .altsetting = 1, 824 .altsetting = 1, 841 .altsetting = 1, 1037 .altsetting = 1, 1054 .altsetting = 1, 1658 .altsetting = 1, 1676 .altsetting = 1, 1725 .altsetting = 1, [all …]
|
D | pcm.c | 191 iface, fmt->altsetting); in init_pitch_v2() 244 subs->data_endpoint->altsetting != subs->sync_endpoint->altsetting) { in start_endpoints() 247 subs->sync_endpoint->altsetting); in start_endpoints() 253 subs->sync_endpoint->altsetting, err); in start_endpoints() 286 unsigned int altsetting, in search_roland_implicit_fb() argument 295 if (!iface || iface->num_altsetting < altsetting + 1) in search_roland_implicit_fb() 297 *alts = &iface->altsetting[altsetting]; in search_roland_implicit_fb() 299 if (altsd->bAlternateSetting != altsetting || in search_roland_implicit_fb() 336 alts = &iface->altsetting[1]; in set_sync_ep_implicit_fb_quirk() 347 alts = &iface->altsetting[1]; in set_sync_ep_implicit_fb_quirk() [all …]
|
D | card.h | 18 unsigned char altsetting; /* corresponding alternate setting */ member 100 int iface, altsetting; member
|
D | card.c | 147 alts = &iface->altsetting[0]; in snd_usb_create_stream() 163 alts = &iface->altsetting[0]; in snd_usb_create_stream() 226 host_iface = &usb_ifnum_to_if(dev, ctrlif)->altsetting[0]; in snd_usb_create_streams() 510 alts = &intf->altsetting[0]; in snd_usb_audio_probe()
|
D | stream.c | 501 alts = &iface->altsetting[i]; in snd_usb_parse_audio_interface() 646 fp && fp->altsetting == 1 && fp->channels == 1 && in snd_usb_parse_audio_interface() 660 fp->altsetting = altno; in snd_usb_parse_audio_interface()
|
D | proc.c | 85 snd_iprintf(buffer, " Altset %d\n", fp->altsetting); in proc_dump_substream_formats()
|
D | midi.c | 1038 is_light_load = intf->cur_altsetting != intf->altsetting; in update_roland_altsetting() 1041 hostif = &intf->altsetting[umidi->roland_load_ctl->private_value]; in update_roland_altsetting() 1781 hostif = &intf->altsetting[0]; in snd_usbmidi_get_ms_info() 1904 hostif = &intf->altsetting[1]; in snd_usbmidi_switch_roland_altsetting() 2003 hostif = intf->altsetting; in snd_usbmidi_detect_yamaha() 2043 hostif = intf->altsetting; in snd_usbmidi_detect_roland() 2084 hostif = intf->altsetting; in snd_usbmidi_create_endpoints_midiman()
|
D | endpoint.c | 429 ep->altsetting == alts->desc.bAlternateSetting) { in snd_usb_add_endpoint() 432 ep_num, ep->iface, ep->altsetting, ep); in snd_usb_add_endpoint() 451 ep->altsetting = alts->desc.bAlternateSetting; in snd_usb_add_endpoint()
|
D | mixer_quirks.c | 1458 alts = &iface->altsetting[1]; in snd_microii_spdif_default_get()
|
D | mixer.c | 2484 mixer->hostif = &usb_ifnum_to_if(chip->dev, ctrlif)->altsetting[0]; in snd_usb_create_mixer()
|
/sound/usb/misc/ |
D | ua101.c | 941 alt = &interface->altsetting[0]; in find_format_descriptor() 947 alt = &interface->altsetting[1]; in find_format_descriptor() 1044 epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc; in detect_usb_format() 1052 epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc; in detect_usb_format() 1233 if (interface->altsetting->desc.bInterfaceNumber != in ua101_probe()
|