Lines Matching +full:0 +full:x21

41 	for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) {  in create_composite_quirk()
49 if (err < 0) in create_composite_quirk()
53 for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { in create_composite_quirk()
61 if (err < 0) in create_composite_quirk()
66 return 0; in create_composite_quirk()
74 return 0; in ignore_interface_quirk()
98 alts = &iface->altsetting[0]; in create_standard_audio_quirk()
101 if (err < 0) { in create_standard_audio_quirk()
107 usb_set_interface(chip->dev, altsd->bInterfaceNumber, 0); in create_standard_audio_quirk()
108 return 0; in create_standard_audio_quirk()
125 if (err < 0) in add_audio_stream_from_fixed_fmt()
130 if (err < 0) in add_audio_stream_from_fixed_fmt()
138 if (err < 0) in add_audio_stream_from_fixed_fmt()
142 return 0; in add_audio_stream_from_fixed_fmt()
168 if (fp->nr_rates > 0) { in create_fixed_stream_quirk()
178 if (fp->iface != get_iface_desc(&iface->altsetting[0])->bInterfaceNumber || in create_fixed_stream_quirk()
192 if (fp->datainterval == 0) in create_fixed_stream_quirk()
194 if (fp->maxpacksize == 0) in create_fixed_stream_quirk()
200 if (err < 0) in create_fixed_stream_quirk()
203 usb_set_interface(chip->dev, fp->iface, 0); in create_fixed_stream_quirk()
206 return 0; in create_fixed_stream_quirk()
241 epd = get_endpoint(alts, 0); in create_auto_pcm_quirk()
303 roland_desc, 0xf1); in create_roland_midi_quirk()
306 if (roland_desc[0] < 6 || roland_desc[3] != 2) in create_roland_midi_quirk()
329 msepd = (struct usb_ms_endpoint_descriptor *)alts->endpoint[0].extra; in create_std_midi_quirk()
330 if (alts->endpoint[0].extralen < 4 || in create_std_midi_quirk()
350 alts = &iface->altsetting[0]; in create_auto_midi_quirk()
356 epd = get_endpoint(alts, 0); in create_auto_midi_quirk()
362 case 0x0499: /* Yamaha */ in create_auto_midi_quirk()
367 case 0x0582: /* Roland */ in create_auto_midi_quirk()
420 .out_cables = 0x0003, in create_uaxx_quirk()
421 .in_cables = 0x0003 in create_uaxx_quirk()
428 .out_cables = 0x0001, in create_uaxx_quirk()
429 .in_cables = 0x0001 in create_uaxx_quirk()
436 chip->usb_id == USB_ID(0x0582, 0x002b) in create_uaxx_quirk()
451 fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress; in create_uaxx_quirk()
452 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes; in create_uaxx_quirk()
453 fp->datainterval = 0; in create_uaxx_quirk()
454 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in create_uaxx_quirk()
458 case 0x120: in create_uaxx_quirk()
461 case 0x138: in create_uaxx_quirk()
462 case 0x140: in create_uaxx_quirk()
465 case 0x258: in create_uaxx_quirk()
466 case 0x260: in create_uaxx_quirk()
476 if (err < 0) { in create_uaxx_quirk()
481 usb_set_interface(chip->dev, fp->iface, 0); in create_uaxx_quirk()
482 return 0; in create_uaxx_quirk()
493 if (quirk->ifnum < 0) in create_standard_mixer_quirk()
494 return 0; in create_standard_mixer_quirk()
562 err = snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev,0), in snd_usb_extigy_boot_quirk()
563 0x10, 0x43, 0x0001, 0x000a, NULL, 0); in snd_usb_extigy_boot_quirk()
564 if (err < 0) in snd_usb_extigy_boot_quirk()
566 err = usb_get_descriptor(dev, USB_DT_DEVICE, 0, in snd_usb_extigy_boot_quirk()
569 if (err < 0) in snd_usb_extigy_boot_quirk()
572 if (err < 0) in snd_usb_extigy_boot_quirk()
578 return 0; in snd_usb_extigy_boot_quirk()
585 snd_usb_ctl_msg(dev, usb_rcvctrlpipe(dev, 0), 0x2a, in snd_usb_audigy2nx_boot_quirk()
587 0, 0, &buf, 1); in snd_usb_audigy2nx_boot_quirk()
588 if (buf == 0) { in snd_usb_audigy2nx_boot_quirk()
589 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), 0x29, in snd_usb_audigy2nx_boot_quirk()
591 1, 2000, NULL, 0); in snd_usb_audigy2nx_boot_quirk()
594 return 0; in snd_usb_audigy2nx_boot_quirk()
610 if (err < 0) in snd_usb_fasttrackpro_boot_quirk()
621 return 0; in snd_usb_fasttrackpro_boot_quirk()
631 buf[0] = 0x20; in snd_usb_cm106_write_int_reg()
632 buf[1] = value & 0xff; in snd_usb_cm106_write_int_reg()
633 buf[2] = (value >> 8) & 0xff; in snd_usb_cm106_write_int_reg()
635 return snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), USB_REQ_SET_CONFIGURATION, in snd_usb_cm106_write_int_reg()
637 0, 0, &buf, 4); in snd_usb_cm106_write_int_reg()
646 return snd_usb_cm106_write_int_reg(dev, 2, 0x8004); in snd_usb_cm106_boot_quirk()
656 #define CM6206_REG0_SPDIFO_CAT_CODE_GENERAL (0 << 4)
660 #define CM6206_REG0_SPDIFO_PRO_FORMAT BIT(0)
676 #define CM6206_REG1_SPDIFI_MIX BIT(0)
679 #define CM6206_REG2_HEADP_SEL_SIDE_CHANNELS (0 << 13)
694 #define CM6206_REG2_MCUCLKSEL_1_5_MHZ (0)
703 #define CM6206_REG3_SPDIFI_RATE_44_1K BIT(0 << 7)
712 #define CM6206_REG3_SPDIFI_CANREC BIT(0)
717 #define CM6206_REG5_SPDIFO_SEL_FRONT (0 << 9)
727 #define CM6206_REG5_T_SEL_DSDAD_NORMAL 0
735 int err = 0, reg; in snd_usb_cm6206_boot_quirk()
773 0x0000, in snd_usb_cm6206_boot_quirk()
778 for (reg = 0; reg < ARRAY_SIZE(val); reg++) { in snd_usb_cm6206_boot_quirk()
780 if (err < 0) in snd_usb_cm6206_boot_quirk()
793 u8 buf[2] = { 0x74, 0xe3 }; in snd_usb_gamecon780_boot_quirk()
794 return snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), UAC_SET_CUR, in snd_usb_gamecon780_boot_quirk()
807 usb_set_interface(dev, 0, 1); in snd_usb_novation_boot_quirk()
808 return 0; in snd_usb_novation_boot_quirk()
814 * acknowledge by sending a sysex on endpoint 0x85 and by displaying a USB
822 static const u8 seq[] = { 0x4e, 0x73, 0x52, 0x01 }; in snd_usb_accessmusic_boot_quirk()
825 if (usb_pipe_type_check(dev, usb_sndintpipe(dev, 0x05))) in snd_usb_accessmusic_boot_quirk()
830 err = usb_interrupt_msg(dev, usb_sndintpipe(dev, 0x05), buf, in snd_usb_accessmusic_boot_quirk()
833 if (err < 0) in snd_usb_accessmusic_boot_quirk()
836 return 0; in snd_usb_accessmusic_boot_quirk()
854 ret = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), in snd_usb_nativeinstruments_boot_quirk()
855 0xaf, USB_TYPE_VENDOR | USB_RECIP_DEVICE, in snd_usb_nativeinstruments_boot_quirk()
856 1, 0, NULL, 0, 1000); in snd_usb_nativeinstruments_boot_quirk()
858 if (ret < 0) in snd_usb_nativeinstruments_boot_quirk()
875 srate[0] = 0x80; in mbox2_setup_48_24_magic()
876 srate[1] = 0xbb; in mbox2_setup_48_24_magic()
877 srate[2] = 0x00; in mbox2_setup_48_24_magic()
880 snd_usb_ctl_msg(dev, usb_rcvctrlpipe(dev, 0), in mbox2_setup_48_24_magic()
881 0x01, 0x22, 0x0100, 0x0085, &temp, 0x0003); in mbox2_setup_48_24_magic()
882 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox2_setup_48_24_magic()
883 0x81, 0xa2, 0x0100, 0x0085, &srate, 0x0003); in mbox2_setup_48_24_magic()
884 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox2_setup_48_24_magic()
885 0x81, 0xa2, 0x0100, 0x0086, &srate, 0x0003); in mbox2_setup_48_24_magic()
886 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox2_setup_48_24_magic()
887 0x81, 0xa2, 0x0100, 0x0003, &srate, 0x0003); in mbox2_setup_48_24_magic()
896 #define MBOX2_BOOT_LOADING 0x01 /* Hard coded into the device */
897 #define MBOX2_BOOT_READY 0x02 /* Hard coded into the device */
903 u8 bootresponse[0x12]; in snd_usb_mbox2_boot_quirk()
916 count = 0; in snd_usb_mbox2_boot_quirk()
917 bootresponse[0] = MBOX2_BOOT_LOADING; in snd_usb_mbox2_boot_quirk()
918 while ((bootresponse[0] == MBOX2_BOOT_LOADING) && (count < 10)) { in snd_usb_mbox2_boot_quirk()
920 snd_usb_ctl_msg(dev, usb_rcvctrlpipe(dev, 0), in snd_usb_mbox2_boot_quirk()
922 0x85, 0xc0, 0x0001, 0x0000, &bootresponse, 0x0012); in snd_usb_mbox2_boot_quirk()
923 if (bootresponse[0] == MBOX2_BOOT_READY) in snd_usb_mbox2_boot_quirk()
929 if (bootresponse[0] != MBOX2_BOOT_READY) { in snd_usb_mbox2_boot_quirk()
930 dev_err(&dev->dev, "Unknown bootresponse=%d, or timed out, ignoring device.\n", bootresponse[0]); in snd_usb_mbox2_boot_quirk()
936 err = usb_get_descriptor(dev, USB_DT_DEVICE, 0, in snd_usb_mbox2_boot_quirk()
939 if (err < 0) in snd_usb_mbox2_boot_quirk()
943 if (err < 0) in snd_usb_mbox2_boot_quirk()
952 return 0; /* Successful boot */ in snd_usb_mbox2_boot_quirk()
966 err = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), in snd_usb_axefx3_boot_quirk()
968 1, 1, NULL, 0, 120000); in snd_usb_axefx3_boot_quirk()
969 if (err < 0) { in snd_usb_axefx3_boot_quirk()
977 err = usb_set_interface(dev, 1, 0); in snd_usb_axefx3_boot_quirk()
978 if (err < 0) in snd_usb_axefx3_boot_quirk()
982 return 0; in snd_usb_axefx3_boot_quirk()
988 /* max volume is: 0x0000. */ in mbox3_setup_48_24_magic()
989 /* min volume is: 0x0080 (shown in little endian form) */ in mbox3_setup_48_24_magic()
993 u8 com_buff[4] = {0x80, 0xbb, 0x00, 0x00}; in mbox3_setup_48_24_magic()
996 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
997 0x01, 0x21, 0x0100, 0x0001, &com_buff, 4); //Is this really needed? in mbox3_setup_48_24_magic()
998 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
999 0x01, 0x21, 0x0100, 0x8101, &com_buff, 4); in mbox3_setup_48_24_magic()
1002 /* on = 0x01*/ in mbox3_setup_48_24_magic()
1003 /* off = 0x00*/ in mbox3_setup_48_24_magic()
1004 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1005 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1006 0x01, 0x21, 0x0003, 0x2001, &com_buff, 1); in mbox3_setup_48_24_magic()
1009 com_buff[0] = 0x01; in mbox3_setup_48_24_magic()
1010 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1011 1, 0x21, 0x0100, 0x8001, &com_buff, 1); in mbox3_setup_48_24_magic()
1014 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1015 com_buff[1] = 0x80; in mbox3_setup_48_24_magic()
1017 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1018 1, 0x21, 0x0110, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1020 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1021 1, 0x21, 0x0111, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1023 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1024 1, 0x21, 0x0114, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1026 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1027 1, 0x21, 0x0115, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1029 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1030 1, 0x21, 0x0118, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1032 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1033 1, 0x21, 0x0119, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1035 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1036 1, 0x21, 0x011c, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1038 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1039 1, 0x21, 0x011d, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1042 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1043 com_buff[1] = 0x00; in mbox3_setup_48_24_magic()
1045 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1046 1, 0x21, 0x0100, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1047 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1048 com_buff[1] = 0x80; in mbox3_setup_48_24_magic()
1050 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1051 1, 0x21, 0x0101, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1052 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1053 com_buff[1] = 0x80; in mbox3_setup_48_24_magic()
1055 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1056 1, 0x21, 0x0104, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1057 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1058 com_buff[1] = 0x00; in mbox3_setup_48_24_magic()
1060 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1061 1, 0x21, 0x0105, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1063 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1064 com_buff[1] = 0x80; in mbox3_setup_48_24_magic()
1066 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1067 1, 0x21, 0x0108, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1069 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1070 1, 0x21, 0x0109, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1072 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1073 1, 0x21, 0x010c, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1075 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1076 1, 0x21, 0x010d, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1079 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1080 com_buff[1] = 0x80; in mbox3_setup_48_24_magic()
1082 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1083 1, 0x21, 0x0120, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1085 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1086 1, 0x21, 0x0121, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1089 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1090 1, 0x21, 0x0100, 0x4201, &com_buff, 2); in mbox3_setup_48_24_magic()
1092 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1093 1, 0x21, 0x0101, 0x4201, &com_buff, 2); in mbox3_setup_48_24_magic()
1095 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1096 1, 0x21, 0x0102, 0x4201, &com_buff, 2); in mbox3_setup_48_24_magic()
1098 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1099 1, 0x21, 0x0103, 0x4201, &com_buff, 2); in mbox3_setup_48_24_magic()
1101 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1102 1, 0x21, 0x0104, 0x4201, &com_buff, 2); in mbox3_setup_48_24_magic()
1104 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1105 1, 0x21, 0x0105, 0x4201, &com_buff, 2); in mbox3_setup_48_24_magic()
1107 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1108 1, 0x21, 0x0106, 0x4201, &com_buff, 2); in mbox3_setup_48_24_magic()
1110 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1111 1, 0x21, 0x0107, 0x4201, &com_buff, 2); in mbox3_setup_48_24_magic()
1114 com_buff[0] = 0x02; in mbox3_setup_48_24_magic()
1115 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1116 3, 0x21, 0x0000, 0x2001, &com_buff, 1); in mbox3_setup_48_24_magic()
1119 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1120 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1121 3, 0x21, 0x0002, 0x2001, &com_buff, 1); in mbox3_setup_48_24_magic()
1124 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1125 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1126 3, 0x21, 0x0001, 0x2001, &com_buff, 1); in mbox3_setup_48_24_magic()
1131 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1132 com_buff[1] = 0x80; in mbox3_setup_48_24_magic()
1134 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1135 1, 0x21, 0x0112, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1137 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1138 1, 0x21, 0x0113, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1140 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1141 1, 0x21, 0x0116, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1143 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1144 1, 0x21, 0x0117, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1146 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1147 1, 0x21, 0x011a, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1149 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1150 1, 0x21, 0x011b, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1152 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1153 1, 0x21, 0x011e, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1155 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1156 1, 0x21, 0x011f, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1158 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1159 1, 0x21, 0x0102, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1161 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1162 1, 0x21, 0x0103, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1164 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1165 1, 0x21, 0x0106, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1167 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1168 1, 0x21, 0x0107, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1170 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1171 com_buff[1] = 0x00; in mbox3_setup_48_24_magic()
1173 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1174 1, 0x21, 0x010a, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1176 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1177 com_buff[1] = 0x80; in mbox3_setup_48_24_magic()
1179 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1180 1, 0x21, 0x010b, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1182 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1183 1, 0x21, 0x010e, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1185 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1186 com_buff[1] = 0x00; in mbox3_setup_48_24_magic()
1188 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1189 1, 0x21, 0x010f, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1191 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1192 com_buff[1] = 0x80; in mbox3_setup_48_24_magic()
1194 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1195 1, 0x21, 0x0122, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1197 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1198 1, 0x21, 0x0123, 0x4001, &com_buff, 2); in mbox3_setup_48_24_magic()
1201 /* Room1 = 0x00 */ in mbox3_setup_48_24_magic()
1202 /* Room2 = 0x01 */ in mbox3_setup_48_24_magic()
1203 /* Room3 = 0x02 */ in mbox3_setup_48_24_magic()
1204 /* Hall 1 = 0x03 */ in mbox3_setup_48_24_magic()
1205 /* Hall 2 = 0x04 */ in mbox3_setup_48_24_magic()
1206 /* Plate = 0x05 */ in mbox3_setup_48_24_magic()
1207 /* Delay = 0x06 */ in mbox3_setup_48_24_magic()
1208 /* Echo = 0x07 */ in mbox3_setup_48_24_magic()
1209 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1210 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1211 1, 0x21, 0x0200, 0x4301, &com_buff, 1); /* max is 0xff */ in mbox3_setup_48_24_magic()
1212 /* min is 0x00 */ in mbox3_setup_48_24_magic()
1215 /* Set the effect duration to 0 */ in mbox3_setup_48_24_magic()
1216 /* max is 0xffff */ in mbox3_setup_48_24_magic()
1217 /* min is 0x0000 */ in mbox3_setup_48_24_magic()
1218 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1219 com_buff[1] = 0x00; in mbox3_setup_48_24_magic()
1220 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1221 1, 0x21, 0x0400, 0x4301, &com_buff, 2); in mbox3_setup_48_24_magic()
1223 /* Set the effect volume and feedback to 0 */ in mbox3_setup_48_24_magic()
1224 /* max is 0xff */ in mbox3_setup_48_24_magic()
1225 /* min is 0x00 */ in mbox3_setup_48_24_magic()
1226 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1228 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1229 1, 0x21, 0x0500, 0x4301, &com_buff, 1); in mbox3_setup_48_24_magic()
1231 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1232 1, 0x21, 0x0300, 0x4301, &com_buff, 1); in mbox3_setup_48_24_magic()
1235 /* 0x03 = 250ms */ in mbox3_setup_48_24_magic()
1236 /* 0x05 = 500ms DEFAULT */ in mbox3_setup_48_24_magic()
1237 /* 0x08 = 750ms */ in mbox3_setup_48_24_magic()
1238 /* 0x0a = 1sec */ in mbox3_setup_48_24_magic()
1239 com_buff[0] = 0x05; in mbox3_setup_48_24_magic()
1240 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1241 3, 0x21, 0x0005, 0x2001, &com_buff, 1); in mbox3_setup_48_24_magic()
1244 com_buff[0] = 0x00; in mbox3_setup_48_24_magic()
1245 snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), in mbox3_setup_48_24_magic()
1246 3, 0x21, 0x0004, 0x2001, &com_buff, 1); in mbox3_setup_48_24_magic()
1266 err = usb_get_descriptor(dev, USB_DT_DEVICE, 0, in snd_usb_mbox3_boot_quirk()
1269 if (err < 0) in snd_usb_mbox3_boot_quirk()
1273 if (err < 0) in snd_usb_mbox3_boot_quirk()
1281 return 0; /* Successful boot */ in snd_usb_mbox3_boot_quirk()
1291 if (usb_pipe_type_check(dev, usb_sndintpipe(dev, 0x01))) in snd_usb_motu_microbookii_communicate()
1293 err = usb_interrupt_msg(dev, usb_sndintpipe(dev, 0x01), buf, *length, in snd_usb_motu_microbookii_communicate()
1295 if (err < 0) in snd_usb_motu_microbookii_communicate()
1301 memset(buf, 0, buf_size); in snd_usb_motu_microbookii_communicate()
1303 if (usb_pipe_type_check(dev, usb_rcvintpipe(dev, 0x82))) in snd_usb_motu_microbookii_communicate()
1305 err = usb_interrupt_msg(dev, usb_rcvintpipe(dev, 0x82), buf, buf_size, in snd_usb_motu_microbookii_communicate()
1307 if (err < 0) in snd_usb_motu_microbookii_communicate()
1314 return 0; in snd_usb_motu_microbookii_communicate()
1319 int err, actual_length, poll_attempts = 0; in snd_usb_motu_microbookii_boot_quirk()
1320 static const u8 set_samplerate_seq[] = { 0x00, 0x00, 0x00, 0x00, in snd_usb_motu_microbookii_boot_quirk()
1321 0x00, 0x00, 0x0b, 0x14, in snd_usb_motu_microbookii_boot_quirk()
1322 0x00, 0x00, 0x00, 0x01 }; in snd_usb_motu_microbookii_boot_quirk()
1323 static const u8 poll_ready_seq[] = { 0x00, 0x04, 0x00, 0x00, in snd_usb_motu_microbookii_boot_quirk()
1324 0x00, 0x00, 0x0b, 0x18 }; in snd_usb_motu_microbookii_boot_quirk()
1338 if (err < 0) { in snd_usb_motu_microbookii_boot_quirk()
1354 memset(buf, 0, MICROBOOK_BUF_SIZE); in snd_usb_motu_microbookii_boot_quirk()
1360 if (err < 0) { in snd_usb_motu_microbookii_boot_quirk()
1369 * XX 06 00 00 00 00 0b 18 00 00 00 01 in snd_usb_motu_microbookii_boot_quirk()
1390 return 0; in snd_usb_motu_m_series_boot_quirk()
1396 #define MAUDIO_SET 0x01 /* parse device_setup */
1397 #define MAUDIO_SET_COMPATIBLE 0x80 /* use only "win-compatible" interfaces */
1398 #define MAUDIO_SET_DTS 0x02 /* enable DTS Digital Output */
1399 #define MAUDIO_SET_96K 0x04 /* 48-96kHz rate if set, 8-48kHz otherwise */
1400 #define MAUDIO_SET_24B 0x08 /* 24bits sample if set, 16bits otherwise */
1401 #define MAUDIO_SET_DI 0x10 /* enable Digital Input */
1402 #define MAUDIO_SET_MASK 0x1f /* bit mask for setup value */
1403 #define MAUDIO_SET_24B_48K_DI 0x19 /* 24bits+48kHz+Digital Input */
1404 #define MAUDIO_SET_24B_48K_NOTDI 0x09 /* 24bits+48kHz+No Digital Input */
1405 #define MAUDIO_SET_16B_48K_DI 0x11 /* 16bits+48kHz+Digital Input */
1406 #define MAUDIO_SET_16B_48K_NOTDI 0x01 /* 16bits+48kHz+No Digital Input */
1411 /* Reset ALL ifaces to 0 altsetting. in quattro_skip_setting_quirk()
1414 usb_set_interface(chip->dev, iface, 0); in quattro_skip_setting_quirk()
1437 return 0; /* keep this altsetting */ in quattro_skip_setting_quirk()
1444 /* Reset ALL ifaces to 0 altsetting. in audiophile_skip_setting_quirk()
1447 usb_set_interface(chip->dev, iface, 0); in audiophile_skip_setting_quirk()
1466 return 0; /* keep this altsetting */ in audiophile_skip_setting_quirk()
1472 /* Reset ALL ifaces to 0 altsetting. in fasttrackpro_skip_setting_quirk()
1475 usb_set_interface(chip->dev, iface, 0); in fasttrackpro_skip_setting_quirk()
1504 return 0; /* keep this altsetting */ in fasttrackpro_skip_setting_quirk()
1529 if ((chip->setup == 0 || chip->setup > 2) && altno != 2) in s1810c_skip_setting_quirk()
1536 return 0; in s1810c_skip_setting_quirk()
1544 if (chip->usb_id == USB_ID(0x0763, 0x2003)) in snd_usb_apply_interface_quirk()
1547 if (chip->usb_id == USB_ID(0x0763, 0x2001)) in snd_usb_apply_interface_quirk()
1550 if (chip->usb_id == USB_ID(0x0763, 0x2012)) in snd_usb_apply_interface_quirk()
1553 if (chip->usb_id == USB_ID(0x194f, 0x010c)) in snd_usb_apply_interface_quirk()
1557 return 0; in snd_usb_apply_interface_quirk()
1566 case USB_ID(0x041e, 0x3000): in snd_usb_apply_boot_quirk()
1571 case USB_ID(0x041e, 0x3020): in snd_usb_apply_boot_quirk()
1575 case USB_ID(0x10f5, 0x0200): in snd_usb_apply_boot_quirk()
1579 case USB_ID(0x0d8c, 0x0102): in snd_usb_apply_boot_quirk()
1581 case USB_ID(0x0ccd, 0x00b1): /* Terratec Aureon 7.1 USB */ in snd_usb_apply_boot_quirk()
1584 case USB_ID(0x0dba, 0x3000): in snd_usb_apply_boot_quirk()
1587 case USB_ID(0x0dba, 0x5000): in snd_usb_apply_boot_quirk()
1592 case USB_ID(0x1235, 0x0010): /* Focusrite Novation Saffire 6 USB */ in snd_usb_apply_boot_quirk()
1593 case USB_ID(0x1235, 0x0018): /* Focusrite Novation Twitch */ in snd_usb_apply_boot_quirk()
1596 case USB_ID(0x133e, 0x0815): in snd_usb_apply_boot_quirk()
1600 case USB_ID(0x17cc, 0x1000): /* Komplete Audio 6 */ in snd_usb_apply_boot_quirk()
1601 case USB_ID(0x17cc, 0x1010): /* Traktor Audio 6 */ in snd_usb_apply_boot_quirk()
1602 case USB_ID(0x17cc, 0x1020): /* Traktor Audio 10 */ in snd_usb_apply_boot_quirk()
1604 case USB_ID(0x0763, 0x2012): /* M-Audio Fast Track Pro USB */ in snd_usb_apply_boot_quirk()
1606 case USB_ID(0x047f, 0xc010): /* Plantronics Gamecom 780 */ in snd_usb_apply_boot_quirk()
1608 case USB_ID(0x2466, 0x8010): /* Fractal Audio Axe-Fx 3 */ in snd_usb_apply_boot_quirk()
1610 case USB_ID(0x07fd, 0x0004): /* MOTU MicroBook II */ in snd_usb_apply_boot_quirk()
1622 return 0; in snd_usb_apply_boot_quirk()
1631 case USB_ID(0x07fd, 0x0008): /* MOTU M Series */ in snd_usb_apply_boot_quirk_once()
1635 return 0; in snd_usb_apply_boot_quirk_once()
1646 case USB_ID(0x0763, 0x2001): /* M-Audio Quattro: captured data only */ in snd_usb_is_big_endian_format()
1651 case USB_ID(0x0763, 0x2003): /* M-Audio Audiophile USB */ in snd_usb_is_big_endian_format()
1652 if (chip->setup == 0x00 || in snd_usb_is_big_endian_format()
1657 case USB_ID(0x0763, 0x2012): /* M-Audio Fast Track Pro */ in snd_usb_is_big_endian_format()
1663 return 0; in snd_usb_is_big_endian_format()
1672 EMU_QUIRK_SR_44100HZ = 0,
1683 unsigned char emu_samplerate_id = 0; in set_format_emu_quirk()
1715 subs->pkt_offset_adj = (emu_samplerate_id >= EMU_QUIRK_SR_176400HZ) ? 4 : 0; in set_format_emu_quirk()
1724 sr[0] = cur_rate & 0xff; in pioneer_djm_set_format_quirk()
1725 sr[1] = (cur_rate >> 8) & 0xff; in pioneer_djm_set_format_quirk()
1726 sr[2] = (cur_rate >> 16) & 0xff; in pioneer_djm_set_format_quirk()
1727 usb_set_interface(subs->dev, 0, 1); in pioneer_djm_set_format_quirk()
1730 usb_sndctrlpipe(subs->stream->chip->dev, 0), in pioneer_djm_set_format_quirk()
1731 0x01, 0x22, 0x0100, windex, &sr, 0x0003); in pioneer_djm_set_format_quirk()
1732 return 0; in pioneer_djm_set_format_quirk()
1739 case USB_ID(0x041e, 0x3f02): /* E-Mu 0202 USB */ in snd_usb_set_format_quirk()
1740 case USB_ID(0x041e, 0x3f04): /* E-Mu 0404 USB */ in snd_usb_set_format_quirk()
1741 case USB_ID(0x041e, 0x3f0a): /* E-Mu Tracker Pre */ in snd_usb_set_format_quirk()
1742 case USB_ID(0x041e, 0x3f19): /* E-Mu 0204 USB */ in snd_usb_set_format_quirk()
1745 case USB_ID(0x534d, 0x0021): /* MacroSilicon MS2100/MS2106 */ in snd_usb_set_format_quirk()
1746 case USB_ID(0x534d, 0x2109): /* MacroSilicon MS2109 */ in snd_usb_set_format_quirk()
1749 case USB_ID(0x2b73, 0x0013): /* Pioneer DJM-450 */ in snd_usb_set_format_quirk()
1750 pioneer_djm_set_format_quirk(subs, 0x0082); in snd_usb_set_format_quirk()
1752 case USB_ID(0x08e4, 0x017f): /* Pioneer DJM-750 */ in snd_usb_set_format_quirk()
1753 case USB_ID(0x08e4, 0x0163): /* Pioneer DJM-850 */ in snd_usb_set_format_quirk()
1754 pioneer_djm_set_format_quirk(subs, 0x0086); in snd_usb_set_format_quirk()
1766 /* First switch to alt set 0, otherwise the mode switch cmd in snd_usb_select_mode_quirk()
1769 err = usb_set_interface(dev, fmt->iface, 0); in snd_usb_select_mode_quirk()
1770 if (err < 0) in snd_usb_select_mode_quirk()
1778 err = snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), 0, in snd_usb_select_mode_quirk()
1780 1, 1, NULL, 0); in snd_usb_select_mode_quirk()
1781 if (err < 0) in snd_usb_select_mode_quirk()
1787 err = snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), 0, in snd_usb_select_mode_quirk()
1789 0, 1, NULL, 0); in snd_usb_select_mode_quirk()
1790 if (err < 0) in snd_usb_select_mode_quirk()
1796 return 0; in snd_usb_select_mode_quirk()
1805 if (USB_ID_VENDOR(ep->chip->usb_id) == 0x23ba && in snd_usb_endpoint_start_quirk()
1816 if ((ep->chip->usb_id == USB_ID(0x0763, 0x2030) || in snd_usb_endpoint_start_quirk()
1817 ep->chip->usb_id == USB_ID(0x0763, 0x2031)) && in snd_usb_endpoint_start_quirk()
1822 if ((ep->chip->usb_id == USB_ID(0x0644, 0x8038) || /* TEAC UD-H01 */ in snd_usb_endpoint_start_quirk()
1823 ep->chip->usb_id == USB_ID(0x1852, 0x5034)) && /* T+A Dac8 */ in snd_usb_endpoint_start_quirk()
1860 if (USB_ID_VENDOR(chip->usb_id) == 0x23ba && in snd_usb_interface_dsd_format_quirks()
1861 USB_ID_PRODUCT(chip->usb_id) < 0x0110) { in snd_usb_interface_dsd_format_quirks()
1877 case USB_ID(0x1511, 0x0037): /* AURALiC VEGA */ in snd_usb_interface_dsd_format_quirks()
1878 case USB_ID(0x21ed, 0xd75a): /* Accuphase DAC-60 option card */ in snd_usb_interface_dsd_format_quirks()
1879 case USB_ID(0x2522, 0x0012): /* LH Labs VI DAC Infinity */ in snd_usb_interface_dsd_format_quirks()
1880 case USB_ID(0x2772, 0x0230): /* Pro-Ject Pre Box S2 Digital */ in snd_usb_interface_dsd_format_quirks()
1885 case USB_ID(0x0d8c, 0x0316): /* Hegel HD12 DSD */ in snd_usb_interface_dsd_format_quirks()
1886 case USB_ID(0x10cb, 0x0103): /* The Bit Opus #3; with fp->dsd_raw */ in snd_usb_interface_dsd_format_quirks()
1887 case USB_ID(0x16d0, 0x06b2): /* NuPrime DAC-10 */ in snd_usb_interface_dsd_format_quirks()
1888 case USB_ID(0x16d0, 0x09dd): /* Encore mDSD */ in snd_usb_interface_dsd_format_quirks()
1889 case USB_ID(0x16d0, 0x0733): /* Furutech ADL Stratos */ in snd_usb_interface_dsd_format_quirks()
1890 case USB_ID(0x16d0, 0x09db): /* NuPrime Audio DAC-9 */ in snd_usb_interface_dsd_format_quirks()
1891 case USB_ID(0x1db5, 0x0003): /* Bryston BDA3 */ in snd_usb_interface_dsd_format_quirks()
1892 case USB_ID(0x22e1, 0xca01): /* HDTA Serenade DSD */ in snd_usb_interface_dsd_format_quirks()
1893 case USB_ID(0x249c, 0x9326): /* M2Tech Young MkIII */ in snd_usb_interface_dsd_format_quirks()
1894 case USB_ID(0x2616, 0x0106): /* PS Audio NuWave DAC */ in snd_usb_interface_dsd_format_quirks()
1895 case USB_ID(0x2622, 0x0041): /* Audiolab M-DAC+ */ in snd_usb_interface_dsd_format_quirks()
1896 case USB_ID(0x27f7, 0x3002): /* W4S DAC-2v2SE */ in snd_usb_interface_dsd_format_quirks()
1897 case USB_ID(0x29a2, 0x0086): /* Mutec MC3+ USB */ in snd_usb_interface_dsd_format_quirks()
1898 case USB_ID(0x6b42, 0x0042): /* MSB Technology */ in snd_usb_interface_dsd_format_quirks()
1904 case USB_ID(0x16d0, 0x071a): /* Amanero - Combo384 */ in snd_usb_interface_dsd_format_quirks()
1905 …case USB_ID(0x2ab6, 0x0004): /* T+A DAC8DSD-V2.0, MP1000E-V2.0, MP2000R-V2.0, MP2500R-V2.0, MP310… in snd_usb_interface_dsd_format_quirks()
1906 case USB_ID(0x2ab6, 0x0005): /* T+A USB HD Audio 1 */ in snd_usb_interface_dsd_format_quirks()
1907 case USB_ID(0x2ab6, 0x0006): /* T+A USB HD Audio 2 */ in snd_usb_interface_dsd_format_quirks()
1910 case 0x199: in snd_usb_interface_dsd_format_quirks()
1912 case 0x19b: in snd_usb_interface_dsd_format_quirks()
1913 case 0x203: in snd_usb_interface_dsd_format_quirks()
1920 case USB_ID(0x16d0, 0x0a23): in snd_usb_interface_dsd_format_quirks()
1934 * three (0-2), in snd_usb_interface_dsd_format_quirks()
1936 * four (0-3). in snd_usb_interface_dsd_format_quirks()
1946 return 0; in snd_usb_interface_dsd_format_quirks()
1954 case USB_ID(0x0a92, 0x0053): /* AudioTrak Optoplay */ in snd_usb_audioformat_attributes_quirk()
1960 case USB_ID(0x041e, 0x3020): /* Creative SB Audigy 2 NX */ in snd_usb_audioformat_attributes_quirk()
1961 case USB_ID(0x0763, 0x2003): /* M-Audio Audiophile USB */ in snd_usb_audioformat_attributes_quirk()
1965 case USB_ID(0x0763, 0x2001): /* M-Audio Quattro USB */ in snd_usb_audioformat_attributes_quirk()
1966 case USB_ID(0x0763, 0x2012): /* M-Audio Fast Track Pro USB */ in snd_usb_audioformat_attributes_quirk()
1967 case USB_ID(0x047f, 0x0ca1): /* plantronics headset */ in snd_usb_audioformat_attributes_quirk()
1968 case USB_ID(0x077d, 0x07af): /* Griffin iMic (note that there is in snd_usb_audioformat_attributes_quirk()
1980 case USB_ID(0x07fd, 0x0004): /* MOTU MicroBook IIc */ in snd_usb_audioformat_attributes_quirk()
1988 case USB_ID(0x1224, 0x2a25): /* Jieli Technology USB PHY 2.0 */ in snd_usb_audioformat_attributes_quirk()
2006 #define VENDOR_FLG(vid, _flags) DEVICE_FLG(vid, 0, _flags)
2010 DEVICE_FLG(0x041e, 0x3000, /* Creative SB Extigy */
2012 DEVICE_FLG(0x041e, 0x4080, /* Creative Live Cam VF0610 */
2014 DEVICE_FLG(0x046d, 0x084c, /* Logitech ConferenceCam Connect */
2016 DEVICE_FLG(0x046d, 0x0991, /* Logitech QuickCam Pro */
2018 DEVICE_FLG(0x046d, 0x09a4, /* Logitech QuickCam E 3500 */
2020 DEVICE_FLG(0x0499, 0x1509, /* Steinberg UR22 */
2022 DEVICE_FLG(0x04d8, 0xfeea, /* Benchmark DAC1 Pre */
2024 DEVICE_FLG(0x04e8, 0xa051, /* Samsung USBC Headset (AKG) */
2026 DEVICE_FLG(0x054c, 0x0b8c, /* Sony WALKMAN NW-A45 DAC */
2028 DEVICE_FLG(0x0556, 0x0014, /* Phoenix Audio TMX320VC */
2030 DEVICE_FLG(0x05a3, 0x9420, /* ELP HD USB Camera */
2032 DEVICE_FLG(0x05a7, 0x1020, /* Bose Companion 5 */
2034 DEVICE_FLG(0x05e1, 0x0408, /* Syntek STK1160 */
2036 DEVICE_FLG(0x05e1, 0x0480, /* Hauppauge Woodbury */
2038 DEVICE_FLG(0x0644, 0x8043, /* TEAC UD-501/UD-501V2/UD-503/NT-503 */
2041 DEVICE_FLG(0x0644, 0x8044, /* Esoteric D-05X */
2044 DEVICE_FLG(0x0644, 0x804a, /* TEAC UD-301 */
2047 DEVICE_FLG(0x06f8, 0xb000, /* Hercules DJ Console (Windows Edition) */
2049 DEVICE_FLG(0x06f8, 0xd002, /* Hercules DJ Console (Macintosh Edition) */
2051 DEVICE_FLG(0x0711, 0x5800, /* MCT Trigger 5 USB-to-HDMI */
2053 DEVICE_FLG(0x074d, 0x3553, /* Outlaw RR2150 (Micronas UAC3553B) */
2055 DEVICE_FLG(0x0763, 0x2030, /* M-Audio Fast Track C400 */
2057 DEVICE_FLG(0x0763, 0x2031, /* M-Audio Fast Track C600 */
2059 DEVICE_FLG(0x08bb, 0x2702, /* LineX FM Transmitter */
2061 DEVICE_FLG(0x0951, 0x16ad, /* Kingston HyperX */
2063 DEVICE_FLG(0x0b0e, 0x0349, /* Jabra 550a */
2065 DEVICE_FLG(0x0fd9, 0x0008, /* Hauppauge HVR-950Q */
2067 DEVICE_FLG(0x1395, 0x740a, /* Sennheiser DECT */
2069 DEVICE_FLG(0x1397, 0x0507, /* Behringer UMC202HD */
2071 DEVICE_FLG(0x1397, 0x0508, /* Behringer UMC204HD */
2073 DEVICE_FLG(0x1397, 0x0509, /* Behringer UMC404HD */
2075 DEVICE_FLG(0x13e5, 0x0001, /* Serato Phono */
2077 DEVICE_FLG(0x154e, 0x1002, /* Denon DCD-1500RE */
2079 DEVICE_FLG(0x154e, 0x1003, /* Denon DA-300USB */
2081 DEVICE_FLG(0x154e, 0x3005, /* Marantz HD-DAC1 */
2083 DEVICE_FLG(0x154e, 0x3006, /* Marantz SA-14S1 */
2085 DEVICE_FLG(0x154e, 0x500e, /* Denon DN-X1600 */
2087 DEVICE_FLG(0x1686, 0x00dd, /* Zoom R16/24 */
2089 DEVICE_FLG(0x17aa, 0x1046, /* Lenovo ThinkStation P620 Rear Line-in, Line-out and Microphone */
2091 DEVICE_FLG(0x17aa, 0x104d, /* Lenovo ThinkStation P620 Internal Speaker + Front Headset */
2093 DEVICE_FLG(0x1852, 0x5065, /* Luxman DA-06 */
2095 DEVICE_FLG(0x1901, 0x0191, /* GE B850V3 CP2114 audio interface */
2097 DEVICE_FLG(0x2040, 0x7200, /* Hauppauge HVR-950Q */
2099 DEVICE_FLG(0x2040, 0x7201, /* Hauppauge HVR-950Q-MXL */
2101 DEVICE_FLG(0x2040, 0x7210, /* Hauppauge HVR-950Q */
2103 DEVICE_FLG(0x2040, 0x7211, /* Hauppauge HVR-950Q-MXL */
2105 DEVICE_FLG(0x2040, 0x7213, /* Hauppauge HVR-950Q */
2107 DEVICE_FLG(0x2040, 0x7217, /* Hauppauge HVR-950Q */
2109 DEVICE_FLG(0x2040, 0x721b, /* Hauppauge HVR-950Q */
2111 DEVICE_FLG(0x2040, 0x721e, /* Hauppauge HVR-950Q */
2113 DEVICE_FLG(0x2040, 0x721f, /* Hauppauge HVR-950Q */
2115 DEVICE_FLG(0x2040, 0x7240, /* Hauppauge HVR-850 */
2117 DEVICE_FLG(0x2040, 0x7260, /* Hauppauge HVR-950Q */
2119 DEVICE_FLG(0x2040, 0x7270, /* Hauppauge HVR-950Q */
2121 DEVICE_FLG(0x2040, 0x7280, /* Hauppauge HVR-950Q */
2123 DEVICE_FLG(0x2040, 0x7281, /* Hauppauge HVR-950Q-MXL */
2125 DEVICE_FLG(0x2040, 0x8200, /* Hauppauge Woodbury */
2127 DEVICE_FLG(0x21b4, 0x0081, /* AudioQuest DragonFly */
2129 DEVICE_FLG(0x2522, 0x0007, /* LH Labs Geek Out HD Audio 1V5 */
2131 DEVICE_FLG(0x2708, 0x0002, /* Audient iD14 */
2133 DEVICE_FLG(0x2912, 0x30c8, /* Audioengine D1 */
2135 DEVICE_FLG(0x30be, 0x0101, /* Schiit Hel */
2137 DEVICE_FLG(0x413c, 0xa506, /* Dell AE515 sound bar */
2139 DEVICE_FLG(0x534d, 0x0021, /* MacroSilicon MS2100/MS2106 */
2141 DEVICE_FLG(0x534d, 0x2109, /* MacroSilicon MS2109 */
2143 DEVICE_FLG(0x1224, 0x2a25, /* Jieli Technology USB PHY 2.0 */
2145 DEVICE_FLG(0x2b53, 0x0023, /* Fiero SC-01 (firmware v1.0.0 @ 48 kHz) */
2147 DEVICE_FLG(0x2b53, 0x0024, /* Fiero SC-01 (firmware v1.0.0 @ 96 kHz) */
2149 DEVICE_FLG(0x2b53, 0x0031, /* Fiero SC-01 (firmware v1.1.0) */
2151 DEVICE_FLG(0x0525, 0xa4ad, /* Hamedal C20 usb camero */
2155 VENDOR_FLG(0x045e, /* MS Lifecam */
2157 VENDOR_FLG(0x046d, /* Logitech */
2159 VENDOR_FLG(0x047f, /* Plantronics */
2161 VENDOR_FLG(0x0644, /* TEAC Corp. */
2163 VENDOR_FLG(0x07fd, /* MOTU */
2165 VENDOR_FLG(0x1235, /* Focusrite Novation */
2167 VENDOR_FLG(0x152a, /* Thesycon devices */
2169 VENDOR_FLG(0x1de7, /* Phoenix Audio */
2171 VENDOR_FLG(0x20b1, /* XMOS based devices */
2173 VENDOR_FLG(0x22d9, /* Oppo */
2175 VENDOR_FLG(0x23ba, /* Playback Design */
2178 VENDOR_FLG(0x25ce, /* Mytek devices */
2180 VENDOR_FLG(0x278b, /* Rotel? */
2182 VENDOR_FLG(0x292b, /* Gustard/Ess based devices */
2184 VENDOR_FLG(0x2972, /* FiiO devices */
2186 VENDOR_FLG(0x2ab6, /* T+A devices */
2188 VENDOR_FLG(0x3353, /* Khadas devices */
2190 VENDOR_FLG(0x3842, /* EVGA */
2192 VENDOR_FLG(0xc502, /* HiBy devices */
2207 "Set quirk_flags 0x%x for device %04x:%04x\n", in snd_usb_init_quirk_flags()