Lines Matching +full:0 +full:x1c02

163 	snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx);  in __alc_read_coefex_idx()
164 val = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_PROC_COEF, 0); in __alc_read_coefex_idx()
180 alc_read_coefex_idx(codec, 0x20, coef_idx)
185 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); in __alc_write_coefex_idx()
186 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PROC_COEF, coef_val); in __alc_write_coefex_idx()
198 alc_write_coefex_idx(codec, 0x20, coef_idx, coef_val)
221 alc_update_coefex_idx(codec, 0x20, coef_idx, mask, bits_set)
223 /* a special bypass for COEF 0; read the cached value at the second time */
229 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0()
244 #define WRITE_COEF(_idx, _val) WRITE_COEFEX(0x20, _idx, _val)
245 #define UPDATE_COEF(_idx, _mask, _val) UPDATE_COEFEX(0x20, _idx, _mask, _val)
279 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, in alc_write_gpio_data()
304 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_write_gpio()
306 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_write_gpio()
323 alc_fixup_gpio(codec, action, 0x01); in alc_fixup_gpio1()
329 alc_fixup_gpio(codec, action, 0x02); in alc_fixup_gpio2()
335 alc_fixup_gpio(codec, action, 0x03); in alc_fixup_gpio3()
341 alc_fixup_gpio(codec, action, 0x04); in alc_fixup_gpio4()
362 1 << spec->pll_coef_bit, 0); in alc_fix_pll()
389 val = snd_hda_codec_read(codec, jack->nid, 0, in alc_update_knob_master()
390 AC_VERB_GET_VOLUME_KNOB_CONTROL, 0); in alc_update_knob_master()
392 uctl->value.integer.value[0] = val; in alc_update_knob_master()
413 case 0x10ec0262: in alc_fill_eapd_coef()
414 alc_update_coef_idx(codec, 0x7, 0, 1<<5); in alc_fill_eapd_coef()
416 case 0x10ec0267: in alc_fill_eapd_coef()
417 case 0x10ec0268: in alc_fill_eapd_coef()
418 alc_update_coef_idx(codec, 0x7, 0, 1<<13); in alc_fill_eapd_coef()
420 case 0x10ec0269: in alc_fill_eapd_coef()
421 if ((coef & 0x00f0) == 0x0010) in alc_fill_eapd_coef()
422 alc_update_coef_idx(codec, 0xd, 0, 1<<14); in alc_fill_eapd_coef()
423 if ((coef & 0x00f0) == 0x0020) in alc_fill_eapd_coef()
424 alc_update_coef_idx(codec, 0x4, 1<<15, 0); in alc_fill_eapd_coef()
425 if ((coef & 0x00f0) == 0x0030) in alc_fill_eapd_coef()
426 alc_update_coef_idx(codec, 0x10, 1<<9, 0); in alc_fill_eapd_coef()
428 case 0x10ec0280: in alc_fill_eapd_coef()
429 case 0x10ec0284: in alc_fill_eapd_coef()
430 case 0x10ec0290: in alc_fill_eapd_coef()
431 case 0x10ec0292: in alc_fill_eapd_coef()
432 alc_update_coef_idx(codec, 0x4, 1<<15, 0); in alc_fill_eapd_coef()
434 case 0x10ec0225: in alc_fill_eapd_coef()
435 case 0x10ec0295: in alc_fill_eapd_coef()
436 case 0x10ec0299: in alc_fill_eapd_coef()
437 alc_update_coef_idx(codec, 0x67, 0xf000, 0x3000); in alc_fill_eapd_coef()
439 case 0x10ec0215: in alc_fill_eapd_coef()
440 case 0x10ec0230: in alc_fill_eapd_coef()
441 case 0x10ec0233: in alc_fill_eapd_coef()
442 case 0x10ec0235: in alc_fill_eapd_coef()
443 case 0x10ec0236: in alc_fill_eapd_coef()
444 case 0x10ec0245: in alc_fill_eapd_coef()
445 case 0x10ec0255: in alc_fill_eapd_coef()
446 case 0x10ec0256: in alc_fill_eapd_coef()
447 case 0x19e58326: in alc_fill_eapd_coef()
448 case 0x10ec0257: in alc_fill_eapd_coef()
449 case 0x10ec0282: in alc_fill_eapd_coef()
450 case 0x10ec0283: in alc_fill_eapd_coef()
451 case 0x10ec0286: in alc_fill_eapd_coef()
452 case 0x10ec0288: in alc_fill_eapd_coef()
453 case 0x10ec0285: in alc_fill_eapd_coef()
454 case 0x10ec0298: in alc_fill_eapd_coef()
455 case 0x10ec0289: in alc_fill_eapd_coef()
456 case 0x10ec0300: in alc_fill_eapd_coef()
457 alc_update_coef_idx(codec, 0x10, 1<<9, 0); in alc_fill_eapd_coef()
459 case 0x10ec0275: in alc_fill_eapd_coef()
460 alc_update_coef_idx(codec, 0xe, 0, 1<<0); in alc_fill_eapd_coef()
462 case 0x10ec0287: in alc_fill_eapd_coef()
463 alc_update_coef_idx(codec, 0x10, 1<<9, 0); in alc_fill_eapd_coef()
464 alc_write_coef_idx(codec, 0x8, 0x4ab7); in alc_fill_eapd_coef()
466 case 0x10ec0293: in alc_fill_eapd_coef()
467 alc_update_coef_idx(codec, 0xa, 1<<13, 0); in alc_fill_eapd_coef()
469 case 0x10ec0234: in alc_fill_eapd_coef()
470 case 0x10ec0274: in alc_fill_eapd_coef()
471 case 0x10ec0294: in alc_fill_eapd_coef()
472 case 0x10ec0700: in alc_fill_eapd_coef()
473 case 0x10ec0701: in alc_fill_eapd_coef()
474 case 0x10ec0703: in alc_fill_eapd_coef()
475 case 0x10ec0711: in alc_fill_eapd_coef()
476 alc_update_coef_idx(codec, 0x10, 1<<15, 0); in alc_fill_eapd_coef()
478 case 0x10ec0662: in alc_fill_eapd_coef()
479 if ((coef & 0x00f0) == 0x0030) in alc_fill_eapd_coef()
480 alc_update_coef_idx(codec, 0x4, 1<<10, 0); /* EAPD Ctrl */ in alc_fill_eapd_coef()
482 case 0x10ec0272: in alc_fill_eapd_coef()
483 case 0x10ec0273: in alc_fill_eapd_coef()
484 case 0x10ec0663: in alc_fill_eapd_coef()
485 case 0x10ec0665: in alc_fill_eapd_coef()
486 case 0x10ec0670: in alc_fill_eapd_coef()
487 case 0x10ec0671: in alc_fill_eapd_coef()
488 case 0x10ec0672: in alc_fill_eapd_coef()
489 alc_update_coef_idx(codec, 0xd, 0, 1<<14); /* EAPD Ctrl */ in alc_fill_eapd_coef()
491 case 0x10ec0222: in alc_fill_eapd_coef()
492 case 0x10ec0623: in alc_fill_eapd_coef()
493 alc_update_coef_idx(codec, 0x19, 1<<13, 0); in alc_fill_eapd_coef()
495 case 0x10ec0668: in alc_fill_eapd_coef()
496 alc_update_coef_idx(codec, 0x7, 3<<13, 0); in alc_fill_eapd_coef()
498 case 0x10ec0867: in alc_fill_eapd_coef()
499 alc_update_coef_idx(codec, 0x4, 1<<10, 0); in alc_fill_eapd_coef()
501 case 0x10ec0888: in alc_fill_eapd_coef()
502 if ((coef & 0x00f0) == 0x0020 || (coef & 0x00f0) == 0x0030) in alc_fill_eapd_coef()
503 alc_update_coef_idx(codec, 0x7, 1<<5, 0); in alc_fill_eapd_coef()
505 case 0x10ec0892: in alc_fill_eapd_coef()
506 case 0x10ec0897: in alc_fill_eapd_coef()
507 alc_update_coef_idx(codec, 0x7, 1<<5, 0); in alc_fill_eapd_coef()
509 case 0x10ec0899: in alc_fill_eapd_coef()
510 case 0x10ec0900: in alc_fill_eapd_coef()
511 case 0x10ec0b00: in alc_fill_eapd_coef()
512 case 0x10ec1168: in alc_fill_eapd_coef()
513 case 0x10ec1220: in alc_fill_eapd_coef()
514 alc_update_coef_idx(codec, 0x7, 1<<1, 0); in alc_fill_eapd_coef()
522 switch (alc_get_coef0(codec) & 0x00f0) { in alc888_coef_init()
524 case 0x00: in alc888_coef_init()
526 case 0x10: in alc888_coef_init()
527 alc_update_coef_idx(codec, 7, 0, 0x2030); /* Turn EAPD to High */ in alc888_coef_init()
538 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_EAPD_BTLENABLE, in set_eapd()
539 on ? 2 : 0); in set_eapd()
547 0x0f, 0x10, 0x14, 0x15, 0x17, 0 in alc_auto_setup_eapd()
571 snd_hda_codec_read(codec, pin->nid, 0, in alc_headset_mic_no_shutup()
572 AC_VERB_SET_PIN_WIDGET_CONTROL, 0); in alc_headset_mic_no_shutup()
583 case 0x10ec0236: in alc_shutup_pins()
584 case 0x10ec0256: in alc_shutup_pins()
585 case 0x19e58326: in alc_shutup_pins()
586 case 0x10ec0283: in alc_shutup_pins()
587 case 0x10ec0286: in alc_shutup_pins()
588 case 0x10ec0288: in alc_shutup_pins()
589 case 0x10ec0298: in alc_shutup_pins()
620 case 0x10ec0260: in alc_auto_init_amp()
621 alc_update_coefex_idx(codec, 0x1a, 7, 0, 0x2010); in alc_auto_init_amp()
623 case 0x10ec0880: in alc_auto_init_amp()
624 case 0x10ec0882: in alc_auto_init_amp()
625 case 0x10ec0883: in alc_auto_init_amp()
626 case 0x10ec0885: in alc_auto_init_amp()
627 alc_update_coef_idx(codec, 7, 0, 0x2030); in alc_auto_init_amp()
629 case 0x10ec0888: in alc_auto_init_amp()
640 if (spec->gen.autocfg.hp_pins[0]) in alc_get_hp_pin()
641 return spec->gen.autocfg.hp_pins[0]; in alc_get_hp_pin()
643 return spec->gen.autocfg.line_out_pins[0]; in alc_get_hp_pin()
644 return 0; in alc_get_hp_pin()
673 codec->depop_delay = 0; in alc_fixup_no_depop_delay()
680 unsigned nid = 0; in alc_auto_parse_customize_define()
694 ass = codec->core.subsystem_id & 0xffff; in alc_auto_parse_customize_define()
698 nid = 0x1d; in alc_auto_parse_customize_define()
699 if (codec->core.vendor_id == 0x10ec0260) in alc_auto_parse_customize_define()
700 nid = 0x17; in alc_auto_parse_customize_define()
704 codec_info(codec, "%s: SKU not ready 0x%08x\n", in alc_auto_parse_customize_define()
710 tmp = 0; in alc_auto_parse_customize_define()
715 if (((ass >> 16) & 0xf) != tmp) in alc_auto_parse_customize_define()
719 spec->cdefine.enable_pcbeep = (ass & 0x100000) >> 20; in alc_auto_parse_customize_define()
720 spec->cdefine.check_sum = (ass >> 16) & 0xf; in alc_auto_parse_customize_define()
724 spec->cdefine.external_amp = (ass & 0x38) >> 3; in alc_auto_parse_customize_define()
725 spec->cdefine.platform_type = (ass & 0x4) >> 2; in alc_auto_parse_customize_define()
726 spec->cdefine.swap = (ass & 0x2) >> 1; in alc_auto_parse_customize_define()
727 spec->cdefine.override = ass & 0x1; in alc_auto_parse_customize_define()
729 codec_dbg(codec, "SKU: Nid=0x%x sku_cfg=0x%08x\n", in alc_auto_parse_customize_define()
731 codec_dbg(codec, "SKU: port_connectivity=0x%x\n", in alc_auto_parse_customize_define()
733 codec_dbg(codec, "SKU: enable_pcbeep=0x%x\n", spec->cdefine.enable_pcbeep); in alc_auto_parse_customize_define()
734 codec_dbg(codec, "SKU: check_sum=0x%08x\n", spec->cdefine.check_sum); in alc_auto_parse_customize_define()
735 codec_dbg(codec, "SKU: customization=0x%08x\n", spec->cdefine.customization); in alc_auto_parse_customize_define()
736 codec_dbg(codec, "SKU: external_amp=0x%x\n", spec->cdefine.external_amp); in alc_auto_parse_customize_define()
737 codec_dbg(codec, "SKU: platform_type=0x%x\n", spec->cdefine.platform_type); in alc_auto_parse_customize_define()
738 codec_dbg(codec, "SKU: swap=0x%x\n", spec->cdefine.swap); in alc_auto_parse_customize_define()
739 codec_dbg(codec, "SKU: override=0x%x\n", spec->cdefine.override); in alc_auto_parse_customize_define()
741 return 0; in alc_auto_parse_customize_define()
748 for (i = 0; i < nums; i++) in find_idx_in_nid_list()
756 return find_idx_in_nid_list(nid, list, nums) >= 0; in found_in_nid_list()
760 * return 1 if initialized, 0 if invalid SSID
765 * 7 ~ 0 : Assembly ID
777 return 0; in alc_subsystem_id()
781 ass = codec->core.subsystem_id & 0xffff; in alc_subsystem_id()
793 * 0 : override in alc_subsystem_id()
795 nid = 0x1d; in alc_subsystem_id()
796 if (codec->core.vendor_id == 0x10ec0260) in alc_subsystem_id()
797 nid = 0x17; in alc_subsystem_id()
800 "realtek: No valid SSID, checking pincfg 0x%08x for NID 0x%x\n", in alc_subsystem_id()
803 return 0; in alc_subsystem_id()
805 return 0; in alc_subsystem_id()
808 tmp = 0; in alc_subsystem_id()
813 if (((ass >> 16) & 0xf) != tmp) in alc_subsystem_id()
814 return 0; in alc_subsystem_id()
816 codec_dbg(codec, "realtek: Enabling init ASM_ID=0x%04x CODEC_ID=%08x\n", in alc_subsystem_id()
817 ass & 0xffff, codec->core.vendor_id); in alc_subsystem_id()
819 * 0 : override in alc_subsystem_id()
821 * 2 : 0 --> Desktop, 1 --> Laptop in alc_subsystem_id()
825 tmp = (ass & 0x38) >> 3; /* external Amp control */ in alc_subsystem_id()
829 alc_setup_gpio(codec, 0x01); in alc_subsystem_id()
832 alc_setup_gpio(codec, 0x02); in alc_subsystem_id()
835 alc_setup_gpio(codec, 0x03); in alc_subsystem_id()
847 if (!(ass & 0x8000)) in alc_subsystem_id()
858 tmp = (ass >> 11) & 0x3; /* HP to chassis */ in alc_subsystem_id()
863 spec->gen.autocfg.hp_pins[0] = nid; in alc_subsystem_id()
899 if (err < 0) in alc_build_controls()
903 return 0; in alc_build_controls()
940 return 0; in alc_init()
970 return 0; in alc_suspend()
981 hda_call_check_power_status(codec, 0x01); in alc_resume()
982 return 0; in alc_resume()
1022 { 0x10ec0221, 0xf00f, 0x1003, "ALC231" },
1023 { 0x10ec0269, 0xfff0, 0x3010, "ALC277" },
1024 { 0x10ec0269, 0xf0f0, 0x2010, "ALC259" },
1025 { 0x10ec0269, 0xf0f0, 0x3010, "ALC258" },
1026 { 0x10ec0269, 0x00f0, 0x0010, "ALC269VB" },
1027 { 0x10ec0269, 0xffff, 0xa023, "ALC259" },
1028 { 0x10ec0269, 0xffff, 0x6023, "ALC281X" },
1029 { 0x10ec0269, 0x00f0, 0x0020, "ALC269VC" },
1030 { 0x10ec0269, 0x00f0, 0x0030, "ALC269VD" },
1031 { 0x10ec0662, 0xffff, 0x4020, "ALC656" },
1032 { 0x10ec0887, 0x00f0, 0x0030, "ALC887-VD" },
1033 { 0x10ec0888, 0x00f0, 0x0030, "ALC888-VD" },
1034 { 0x10ec0888, 0xf0f0, 0x3020, "ALC886" },
1035 { 0x10ec0899, 0x2000, 0x2000, "ALC899" },
1036 { 0x10ec0892, 0xffff, 0x8020, "ALC661" },
1037 { 0x10ec0892, 0xffff, 0x8011, "ALC661" },
1038 { 0x10ec0892, 0xffff, 0x4011, "ALC656" },
1043 { 0x10ec0280, 0x1028, 0, "ALC3220" },
1044 { 0x10ec0282, 0x1028, 0, "ALC3221" },
1045 { 0x10ec0283, 0x1028, 0, "ALC3223" },
1046 { 0x10ec0288, 0x1028, 0, "ALC3263" },
1047 { 0x10ec0292, 0x1028, 0, "ALC3226" },
1048 { 0x10ec0293, 0x1028, 0, "ALC3235" },
1049 { 0x10ec0255, 0x1028, 0, "ALC3234" },
1050 { 0x10ec0668, 0x1028, 0, "ALC3661" },
1051 { 0x10ec0275, 0x1028, 0, "ALC3260" },
1052 { 0x10ec0899, 0x1028, 0, "ALC3861" },
1053 { 0x10ec0298, 0x1028, 0, "ALC3266" },
1054 { 0x10ec0236, 0x1028, 0, "ALC3204" },
1055 { 0x10ec0256, 0x1028, 0, "ALC3246" },
1056 { 0x10ec0225, 0x1028, 0, "ALC3253" },
1057 { 0x10ec0295, 0x1028, 0, "ALC3254" },
1058 { 0x10ec0299, 0x1028, 0, "ALC3271" },
1059 { 0x10ec0670, 0x1025, 0, "ALC669X" },
1060 { 0x10ec0676, 0x1025, 0, "ALC679X" },
1061 { 0x10ec0282, 0x1043, 0, "ALC3229" },
1062 { 0x10ec0233, 0x1043, 0, "ALC3236" },
1063 { 0x10ec0280, 0x103c, 0, "ALC3228" },
1064 { 0x10ec0282, 0x103c, 0, "ALC3227" },
1065 { 0x10ec0286, 0x103c, 0, "ALC3242" },
1066 { 0x10ec0290, 0x103c, 0, "ALC3241" },
1067 { 0x10ec0668, 0x103c, 0, "ALC3662" },
1068 { 0x10ec0283, 0x17aa, 0, "ALC3239" },
1069 { 0x10ec0292, 0x17aa, 0, "ALC3232" },
1086 return 0; in alc_codec_rename_from_preset()
1097 return 0; in alc_codec_rename_from_preset()
1108 HDA_CODEC_VOLUME("Beep Playback Volume", 0, 0, HDA_INPUT),
1109 HDA_CODEC_MUTE_BEEP("Beep Playback Switch", 0, 0, HDA_INPUT),
1120 for (i = 0; i < ARRAY_SIZE(alc_beep_mixer); i++) { in set_beep_amp()
1127 return 0; in set_beep_amp()
1131 SND_PCI_QUIRK(0x1043, 0x103c, "ASUS", 1),
1132 SND_PCI_QUIRK(0x1043, 0x115d, "ASUS", 1),
1133 SND_PCI_QUIRK(0x1043, 0x829f, "ASUS", 1),
1134 SND_PCI_QUIRK(0x1043, 0x8376, "EeePC", 1),
1135 SND_PCI_QUIRK(0x1043, 0x83ce, "EeePC", 1),
1136 SND_PCI_QUIRK(0x1043, 0x831a, "EeePC", 1),
1137 SND_PCI_QUIRK(0x1043, 0x834a, "EeePC", 1),
1138 SND_PCI_QUIRK(0x1458, 0xa002, "GA-MA790X", 1),
1139 SND_PCI_QUIRK(0x8086, 0xd613, "Intel", 1),
1141 SND_PCI_QUIRK(0x17aa, 0x309e, "Lenovo ThinkCentre M73", 0),
1142 SND_PCI_QUIRK(0x17aa, 0x30a3, "Lenovo ThinkCentre M93", 0),
1156 #define set_beep_amp(spec, nid, idx, dir) 0
1157 #define has_cdefine_beep(codec) 0
1161 /* return 1 if successful, 0 if the proper config is not found,
1174 if (err < 0) in alc_parse_auto_config()
1181 if (err < 0) in alc_parse_auto_config()
1207 if (err < 0) { in alc_alloc_spec()
1211 return 0; in alc_alloc_spec()
1216 static const hda_nid_t alc880_ignore[] = { 0x1d, 0 }; in alc880_parse_auto_config()
1217 static const hda_nid_t alc880_ssids[] = { 0x15, 0x1b, 0x14, 0 }; in alc880_parse_auto_config()
1252 /* enable the volume-knob widget support on NID 0x21 */
1257 snd_hda_jack_detect_enable_callback(codec, 0x21, in alc880_fixup_vol_knob()
1273 { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
1274 { 0x20, AC_VERB_SET_PROC_COEF, 0x3060 },
1284 { 0x16, 0x411111f0 },
1285 { 0x18, 0x411111f0 },
1286 { 0x1a, 0x411111f0 },
1293 { 0x1a, 0x0181344f }, /* line-in */
1294 { 0x1b, 0x0321403f }, /* headphone */
1302 { 0x17, 0x411111f0 },
1312 { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
1313 { 0x20, AC_VERB_SET_PROC_COEF, 0x3060 },
1321 { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
1322 { 0x20, AC_VERB_SET_PROC_COEF, 0x3070 },
1336 { 0x14, 0x0121401f }, /* HP */
1337 { 0x15, 0x99030120 }, /* speaker */
1338 { 0x16, 0x99030130 }, /* bass speaker */
1339 { 0x17, 0x411111f0 }, /* N/A */
1340 { 0x18, 0x411111f0 }, /* N/A */
1341 { 0x19, 0x01a19950 }, /* mic-in */
1342 { 0x1a, 0x411111f0 }, /* N/A */
1343 { 0x1b, 0x411111f0 }, /* N/A */
1344 { 0x1c, 0x411111f0 }, /* N/A */
1345 { 0x1d, 0x411111f0 }, /* N/A */
1346 { 0x1e, 0x01454140 }, /* SPDIF out */
1356 { 0x14, 0x0121401f }, /* HP */
1357 { 0x15, 0x99030120 }, /* speaker */
1358 { 0x16, 0x411111f0 }, /* N/A */
1359 { 0x17, 0x411111f0 }, /* N/A */
1360 { 0x18, 0x411111f0 }, /* N/A */
1361 { 0x19, 0x01a19950 }, /* mic-in */
1362 { 0x1a, 0x411111f0 }, /* N/A */
1363 { 0x1b, 0x411111f0 }, /* N/A */
1364 { 0x1c, 0x411111f0 }, /* N/A */
1365 { 0x1d, 0x411111f0 }, /* N/A */
1366 { 0x1e, 0x411111f0 }, /* N/A */
1376 { 0x14, 0x0121411f }, /* HP */
1377 { 0x15, 0x99030120 }, /* speaker */
1378 { 0x16, 0x99030130 }, /* bass speaker */
1386 { 0x17, 0x411111f0 },
1387 { 0x19, 0x411111f0 },
1388 { 0x1b, 0x411111f0 },
1389 { 0x1f, 0x411111f0 },
1397 { 0x14, 0x99030120 }, /* speaker */
1398 { 0x15, 0x0121411f }, /* HP */
1399 { 0x16, 0x411111f0 }, /* N/A */
1400 { 0x17, 0x411111f0 }, /* N/A */
1401 { 0x18, 0x01a19950 }, /* mic-in */
1402 { 0x19, 0x411111f0 }, /* N/A */
1403 { 0x1a, 0x01813031 }, /* line-in */
1404 { 0x1b, 0x411111f0 }, /* N/A */
1405 { 0x1c, 0x411111f0 }, /* N/A */
1406 { 0x1d, 0x411111f0 }, /* N/A */
1407 { 0x1e, 0x0144111e }, /* SPDIF */
1415 { 0x14, 0x0121411f }, /* HP */
1416 { 0x15, 0x411111f0 }, /* N/A */
1417 { 0x16, 0x411111f0 }, /* N/A */
1418 { 0x17, 0x411111f0 }, /* N/A */
1419 { 0x18, 0x90a60160 }, /* mic */
1420 { 0x19, 0x411111f0 }, /* N/A */
1421 { 0x1a, 0x411111f0 }, /* N/A */
1422 { 0x1b, 0x411111f0 }, /* N/A */
1423 { 0x1c, 0x411111f0 }, /* N/A */
1424 { 0x1d, 0x411111f0 }, /* N/A */
1425 { 0x1e, 0xb743111e }, /* SPDIF out */
1434 { 0x14, 0x01014010 }, /* line-out */
1435 { 0x15, 0x411111f0 }, /* N/A */
1436 { 0x16, 0x411111f0 }, /* N/A */
1437 { 0x17, 0x411111f0 }, /* N/A */
1438 { 0x18, 0x01a19c30 }, /* mic-in */
1439 { 0x19, 0x0121411f }, /* HP */
1440 { 0x1a, 0x01813031 }, /* line-in */
1441 { 0x1b, 0x02a19c40 }, /* front-mic */
1442 { 0x1c, 0x411111f0 }, /* N/A */
1443 { 0x1d, 0x411111f0 }, /* N/A */
1444 /* 0x1e is filled in below */
1445 { 0x1f, 0x411111f0 }, /* N/A */
1452 { 0x1e, 0x411111f0 }, /* N/A */
1461 { 0x1e, 0x0144111e }, /* SPDIF */
1470 { 0x14, 0x01014010 }, /* front */
1471 { 0x15, 0x411111f0 }, /* N/A */
1472 { 0x16, 0x01011411 }, /* CLFE */
1473 { 0x17, 0x01016412 }, /* surr */
1474 { 0x18, 0x01a19c30 }, /* mic-in */
1475 { 0x19, 0x0121411f }, /* HP */
1476 { 0x1a, 0x01813031 }, /* line-in */
1477 { 0x1b, 0x02a19c40 }, /* front-mic */
1478 { 0x1c, 0x411111f0 }, /* N/A */
1479 { 0x1d, 0x411111f0 }, /* N/A */
1480 /* 0x1e is filled in below */
1481 { 0x1f, 0x411111f0 }, /* N/A */
1488 { 0x1e, 0x411111f0 }, /* N/A */
1497 { 0x1e, 0x0144111e }, /* SPDIF */
1506 { 0x14, 0x01014010 }, /* front */
1507 { 0x15, 0x01016412 }, /* surr */
1508 { 0x16, 0x01011411 }, /* CLFE */
1509 { 0x17, 0x01012414 }, /* side */
1510 { 0x18, 0x01a19c30 }, /* mic-in */
1511 { 0x19, 0x02a19c40 }, /* front-mic */
1512 { 0x1a, 0x01813031 }, /* line-in */
1513 { 0x1b, 0x0121411f }, /* HP */
1514 { 0x1c, 0x411111f0 }, /* N/A */
1515 { 0x1d, 0x411111f0 }, /* N/A */
1516 /* 0x1e is filled in below */
1517 { 0x1f, 0x411111f0 }, /* N/A */
1524 { 0x1e, 0x411111f0 }, /* N/A */
1533 { 0x1e, 0x0144111e }, /* SPDIF */
1542 { 0x1b, 0x0121401f }, /* HP with jack detect */
1551 SND_PCI_QUIRK(0x1019, 0x0f69, "Coeus G610P", ALC880_FIXUP_W810),
1552 SND_PCI_QUIRK(0x1043, 0x10c3, "ASUS W5A", ALC880_FIXUP_ASUS_W5A),
1553 SND_PCI_QUIRK(0x1043, 0x1964, "ASUS Z71V", ALC880_FIXUP_Z71V),
1554 SND_PCI_QUIRK_VENDOR(0x1043, "ASUS", ALC880_FIXUP_GPIO1),
1555 SND_PCI_QUIRK(0x147b, 0x1045, "ABit AA8XE", ALC880_FIXUP_6ST_AUTOMUTE),
1556 SND_PCI_QUIRK(0x1558, 0x5401, "Clevo GPIO2", ALC880_FIXUP_GPIO2),
1557 SND_PCI_QUIRK_VENDOR(0x1558, "Clevo", ALC880_FIXUP_EAPD_COEF),
1558 SND_PCI_QUIRK(0x1584, 0x9050, "Uniwill", ALC880_FIXUP_UNIWILL_DIG),
1559 SND_PCI_QUIRK(0x1584, 0x9054, "Uniwill", ALC880_FIXUP_F1734),
1560 SND_PCI_QUIRK(0x1584, 0x9070, "Uniwill", ALC880_FIXUP_UNIWILL),
1561 SND_PCI_QUIRK(0x1584, 0x9077, "Uniwill P53", ALC880_FIXUP_VOL_KNOB),
1562 SND_PCI_QUIRK(0x161f, 0x203d, "W810", ALC880_FIXUP_W810),
1563 SND_PCI_QUIRK(0x161f, 0x205d, "Medion Rim 2150", ALC880_FIXUP_MEDION_RIM),
1564 SND_PCI_QUIRK(0x1631, 0xe011, "PB 13201056", ALC880_FIXUP_6ST_AUTOMUTE),
1565 SND_PCI_QUIRK(0x1734, 0x107c, "FSC Amilo M1437", ALC880_FIXUP_FUJITSU),
1566 SND_PCI_QUIRK(0x1734, 0x1094, "FSC Amilo M1451G", ALC880_FIXUP_FUJITSU),
1567 SND_PCI_QUIRK(0x1734, 0x10ac, "FSC AMILO Xi 1526", ALC880_FIXUP_F1734),
1568 SND_PCI_QUIRK(0x1734, 0x10b0, "FSC Amilo Pi1556", ALC880_FIXUP_FUJITSU),
1569 SND_PCI_QUIRK(0x1854, 0x003b, "LG", ALC880_FIXUP_LG),
1570 SND_PCI_QUIRK(0x1854, 0x005f, "LG P1 Express", ALC880_FIXUP_LG),
1571 SND_PCI_QUIRK(0x1854, 0x0068, "LG w1", ALC880_FIXUP_LG),
1572 SND_PCI_QUIRK(0x1854, 0x0077, "LG LW25", ALC880_FIXUP_LG_LW25),
1573 SND_PCI_QUIRK(0x19db, 0x4188, "TCL S700", ALC880_FIXUP_TCL_S700),
1581 SND_PCI_QUIRK(0x1019, 0xa880, "ECS", ALC880_FIXUP_5ST_DIG),
1582 SND_PCI_QUIRK(0x1019, 0xa884, "Acer APFV", ALC880_FIXUP_6ST),
1583 SND_PCI_QUIRK(0x1025, 0x0070, "ULI", ALC880_FIXUP_3ST_DIG),
1584 SND_PCI_QUIRK(0x1025, 0x0077, "ULI", ALC880_FIXUP_6ST_DIG),
1585 SND_PCI_QUIRK(0x1025, 0x0078, "ULI", ALC880_FIXUP_6ST_DIG),
1586 SND_PCI_QUIRK(0x1025, 0x0087, "ULI", ALC880_FIXUP_6ST_DIG),
1587 SND_PCI_QUIRK(0x1025, 0xe309, "ULI", ALC880_FIXUP_3ST_DIG),
1588 SND_PCI_QUIRK(0x1025, 0xe310, "ULI", ALC880_FIXUP_3ST),
1589 SND_PCI_QUIRK(0x1039, 0x1234, NULL, ALC880_FIXUP_6ST_DIG),
1590 SND_PCI_QUIRK(0x104d, 0x81a0, "Sony", ALC880_FIXUP_3ST),
1591 SND_PCI_QUIRK(0x104d, 0x81d6, "Sony", ALC880_FIXUP_3ST),
1592 SND_PCI_QUIRK(0x107b, 0x3032, "Gateway", ALC880_FIXUP_5ST),
1593 SND_PCI_QUIRK(0x107b, 0x3033, "Gateway", ALC880_FIXUP_5ST),
1594 SND_PCI_QUIRK(0x107b, 0x4039, "Gateway", ALC880_FIXUP_5ST),
1595 SND_PCI_QUIRK(0x1297, 0xc790, "Shuttle ST20G5", ALC880_FIXUP_6ST_DIG),
1596 SND_PCI_QUIRK(0x1458, 0xa102, "Gigabyte K8", ALC880_FIXUP_6ST_DIG),
1597 SND_PCI_QUIRK(0x1462, 0x1150, "MSI", ALC880_FIXUP_6ST_DIG),
1598 SND_PCI_QUIRK(0x1509, 0x925d, "FIC P4M", ALC880_FIXUP_6ST_DIG),
1599 SND_PCI_QUIRK(0x1565, 0x8202, "Biostar", ALC880_FIXUP_5ST_DIG),
1600 SND_PCI_QUIRK(0x1695, 0x400d, "EPoX", ALC880_FIXUP_5ST_DIG),
1601 SND_PCI_QUIRK(0x1695, 0x4012, "EPox EP-5LDA", ALC880_FIXUP_5ST_DIG),
1602 SND_PCI_QUIRK(0x2668, 0x8086, NULL, ALC880_FIXUP_6ST_DIG), /* broken BIOS */
1603 SND_PCI_QUIRK(0x8086, 0x2668, NULL, ALC880_FIXUP_6ST_DIG),
1604 SND_PCI_QUIRK(0x8086, 0xa100, "Intel mobo", ALC880_FIXUP_5ST_DIG),
1605 SND_PCI_QUIRK(0x8086, 0xd400, "Intel mobo", ALC880_FIXUP_5ST_DIG),
1606 SND_PCI_QUIRK(0x8086, 0xd401, "Intel mobo", ALC880_FIXUP_5ST_DIG),
1607 SND_PCI_QUIRK(0x8086, 0xd402, "Intel mobo", ALC880_FIXUP_3ST_DIG),
1608 SND_PCI_QUIRK(0x8086, 0xe224, "Intel mobo", ALC880_FIXUP_5ST_DIG),
1609 SND_PCI_QUIRK(0x8086, 0xe305, "Intel mobo", ALC880_FIXUP_3ST_DIG),
1610 SND_PCI_QUIRK(0x8086, 0xe308, "Intel mobo", ALC880_FIXUP_3ST_DIG),
1611 SND_PCI_QUIRK(0x8086, 0xe400, "Intel mobo", ALC880_FIXUP_5ST_DIG),
1612 SND_PCI_QUIRK(0x8086, 0xe401, "Intel mobo", ALC880_FIXUP_5ST_DIG),
1613 SND_PCI_QUIRK(0x8086, 0xe402, "Intel mobo", ALC880_FIXUP_5ST_DIG),
1615 SND_PCI_QUIRK_VENDOR(0x8086, "Intel mobo", ALC880_FIXUP_3ST),
1616 SND_PCI_QUIRK(0xa0a0, 0x0560, "AOpen i915GMm-HFS", ALC880_FIXUP_5ST_DIG),
1617 SND_PCI_QUIRK(0xe803, 0x1019, NULL, ALC880_FIXUP_6ST_DIG),
1641 err = alc_alloc_spec(codec, 0x0b); in patch_alc880()
1642 if (err < 0) in patch_alc880()
1647 spec->gen.beep_nid = 0x01; in patch_alc880()
1659 if (err < 0) in patch_alc880()
1663 err = set_beep_amp(spec, 0x0b, 0x05, HDA_INPUT); in patch_alc880()
1664 if (err < 0) in patch_alc880()
1670 return 0; in patch_alc880()
1683 static const hda_nid_t alc260_ignore[] = { 0x17, 0 }; in alc260_parse_auto_config()
1684 static const hda_nid_t alc260_ssids[] = { 0x10, 0x15, 0x0f, 0 }; in alc260_parse_auto_config()
1709 alc_update_gpio_data(codec, 0x01, spec->gen.hp_jack_present); in alc260_gpio1_automute()
1723 spec->gen.autocfg.hp_pins[0] = 0x0f; /* copy it for automute */ in alc260_fixup_gpio1_toggle()
1724 snd_hda_jack_detect_enable_callback(codec, 0x0f, in alc260_fixup_gpio1_toggle()
1726 alc_setup_gpio(codec, 0x01); in alc260_fixup_gpio1_toggle()
1735 { 0x0f, 0x02214000 }, /* HP/speaker */ in alc260_fixup_kn1()
1736 { 0x12, 0x90a60160 }, /* int mic */ in alc260_fixup_kn1()
1737 { 0x13, 0x02a19000 }, /* ext mic */ in alc260_fixup_kn1()
1738 { 0x18, 0x01446000 }, /* SPDIF out */ in alc260_fixup_kn1()
1740 { 0x10, 0x411111f0 }, in alc260_fixup_kn1()
1741 { 0x11, 0x411111f0 }, in alc260_fixup_kn1()
1742 { 0x14, 0x411111f0 }, in alc260_fixup_kn1()
1743 { 0x15, 0x411111f0 }, in alc260_fixup_kn1()
1744 { 0x16, 0x411111f0 }, in alc260_fixup_kn1()
1745 { 0x17, 0x411111f0 }, in alc260_fixup_kn1()
1746 { 0x19, 0x411111f0 }, in alc260_fixup_kn1()
1780 { 0x11, 0x90130110 }, /* speaker */
1787 { 0x0f, 0x01214000 }, /* HP */
1794 { 0x1a, AC_VERB_SET_COEF_INDEX, 0x07 },
1795 { 0x1a, AC_VERB_SET_PROC_COEF, 0x3040 },
1812 { 0x1a, AC_VERB_SET_COEF_INDEX, 0x07 },
1813 { 0x1a, AC_VERB_SET_PROC_COEF, 0x3050 },
1843 { 0x0f, 0x01211020 },
1844 { 0x10, 0x0001003f },
1845 { 0x11, 0x411111f0 },
1846 { 0x12, 0x01a15930 },
1847 { 0x13, 0x411111f0 },
1848 { 0x14, 0x411111f0 },
1849 { 0x15, 0x411111f0 },
1850 { 0x16, 0x411111f0 },
1851 { 0x17, 0x411111f0 },
1852 { 0x18, 0x411111f0 },
1853 { 0x19, 0x411111f0 },
1860 SND_PCI_QUIRK(0x1025, 0x007b, "Acer C20x", ALC260_FIXUP_GPIO1),
1861 SND_PCI_QUIRK(0x1025, 0x007f, "Acer Aspire 9500", ALC260_FIXUP_COEF),
1862 SND_PCI_QUIRK(0x1025, 0x008f, "Acer", ALC260_FIXUP_GPIO1),
1863 SND_PCI_QUIRK(0x103c, 0x280a, "HP dc5750", ALC260_FIXUP_HP_DC5750),
1864 SND_PCI_QUIRK(0x103c, 0x30ba, "HP Presario B1900", ALC260_FIXUP_HP_B1900),
1865 SND_PCI_QUIRK(0x104d, 0x81bb, "Sony VAIO", ALC260_FIXUP_VAIO_PINS),
1866 SND_PCI_QUIRK(0x104d, 0x81e2, "Sony VAIO TX", ALC260_FIXUP_HP_PIN_0F),
1867 SND_PCI_QUIRK(0x10cf, 0x1326, "FSC LifeBook S7020", ALC260_FIXUP_FSC_S7020),
1868 SND_PCI_QUIRK(0x1509, 0x4540, "Favorit 100XS", ALC260_FIXUP_GPIO1),
1869 SND_PCI_QUIRK(0x152d, 0x0729, "Quanta KN1", ALC260_FIXUP_KN1),
1870 SND_PCI_QUIRK(0x161f, 0x2057, "Replacer 672V", ALC260_FIXUP_REPLACER),
1871 SND_PCI_QUIRK(0x1631, 0xc017, "PB V7900", ALC260_FIXUP_COEF),
1890 err = alc_alloc_spec(codec, 0x07); in patch_alc260()
1891 if (err < 0) in patch_alc260()
1900 spec->gen.beep_nid = 0x01; in patch_alc260()
1912 if (err < 0) in patch_alc260()
1916 err = set_beep_amp(spec, 0x07, 0x05, HDA_INPUT); in patch_alc260()
1917 if (err < 0) in patch_alc260()
1923 return 0; in patch_alc260()
1995 alc_update_coef_idx(codec, 7, 0, 0x2030); in alc889_fixup_coef()
2017 static const hda_nid_t conn1[] = { 0x0c, 0x0d }; in alc889_fixup_dac_route()
2018 static const hda_nid_t conn2[] = { 0x0e, 0x0f }; in alc889_fixup_dac_route()
2019 snd_hda_override_conn_list(codec, 0x14, ARRAY_SIZE(conn1), conn1); in alc889_fixup_dac_route()
2020 snd_hda_override_conn_list(codec, 0x15, ARRAY_SIZE(conn1), conn1); in alc889_fixup_dac_route()
2021 snd_hda_override_conn_list(codec, 0x18, ARRAY_SIZE(conn2), conn2); in alc889_fixup_dac_route()
2022 snd_hda_override_conn_list(codec, 0x1a, ARRAY_SIZE(conn2), conn2); in alc889_fixup_dac_route()
2025 static const hda_nid_t conn[] = { 0x0c, 0x0d, 0x0e, 0x0f, 0x26 }; in alc889_fixup_dac_route()
2026 snd_hda_override_conn_list(codec, 0x14, ARRAY_SIZE(conn), conn); in alc889_fixup_dac_route()
2027 snd_hda_override_conn_list(codec, 0x15, ARRAY_SIZE(conn), conn); in alc889_fixup_dac_route()
2028 snd_hda_override_conn_list(codec, 0x18, ARRAY_SIZE(conn), conn); in alc889_fixup_dac_route()
2029 snd_hda_override_conn_list(codec, 0x1a, ARRAY_SIZE(conn), conn); in alc889_fixup_dac_route()
2037 static const hda_nid_t nids[] = { 0x14, 0x15, 0x19 }; in alc889_fixup_mbp_vref()
2043 for (i = 0; i < ARRAY_SIZE(nids); i++) { in alc889_fixup_mbp_vref()
2061 for (i = 0; i < num_nids; i++) { in alc889_fixup_mac_pins()
2074 static const hda_nid_t nids[] = { 0x18, 0x1a }; in alc889_fixup_imac91_vref()
2084 static const hda_nid_t nids[] = { 0x18 }; in alc889_fixup_mba11_vref()
2094 static const hda_nid_t nids[] = { 0x18, 0x19 }; in alc889_fixup_mba21_vref()
2102 * all-in-one desktop PCs (for example VGC-LN51JGB) through DAC 0x05
2133 spec->gen.mixer_nid = 0; in alc_fixup_dual_codecs()
2161 codec->addr == 0 ? in alc1220_fixup_gb_dual_codecs()
2165 codec->addr == 0 ? in alc1220_fixup_gb_dual_codecs()
2176 static const hda_nid_t conn1[] = { 0x0c }; in alc1220_fixup_gb_x570()
2178 WRITE_COEF(0x07, 0x03c0), in alc1220_fixup_gb_x570()
2179 WRITE_COEF(0x1a, 0x01c1), in alc1220_fixup_gb_x570()
2180 WRITE_COEF(0x1b, 0x0202), in alc1220_fixup_gb_x570()
2181 WRITE_COEF(0x43, 0x3005), in alc1220_fixup_gb_x570()
2187 snd_hda_override_conn_list(codec, 0x14, ARRAY_SIZE(conn1), conn1); in alc1220_fixup_gb_x570()
2188 snd_hda_override_conn_list(codec, 0x1b, ARRAY_SIZE(conn1), conn1); in alc1220_fixup_gb_x570()
2200 static const hda_nid_t conn1[] = { 0x0c }; in alc1220_fixup_clevo_p950()
2205 alc_update_coef_idx(codec, 0x7, 0, 0x3c3); in alc1220_fixup_clevo_p950()
2206 /* We therefore want to make sure 0x14 (front headphone) and in alc1220_fixup_clevo_p950()
2207 * 0x1b (speakers) use the stereo DAC 0x02 in alc1220_fixup_clevo_p950()
2209 snd_hda_override_conn_list(codec, 0x14, ARRAY_SIZE(conn1), conn1); in alc1220_fixup_clevo_p950()
2210 snd_hda_override_conn_list(codec, 0x1b, ARRAY_SIZE(conn1), conn1); in alc1220_fixup_clevo_p950()
2236 snd_hda_set_pin_ctl(codec, 0x19, PIN_HP | vref); in alc887_asus_hp_automute_hook()
2245 snd_hda_set_pin_ctl_cache(codec, 0x1b, PIN_HP); in alc887_fixup_asus_jack()
2253 { 0x15, 0x01080104 }, /* side */
2254 { 0x16, 0x01011012 }, /* rear */
2255 { 0x17, 0x01016011 }, /* clfe */
2262 { 0x15, 0x99130112 }, /* rear int speakers */
2263 { 0x16, 0x99130111 }, /* subwoofer */
2270 { 0x19, PIN_VREF50 },
2281 { 0x16, 0x99130110 }, /* fix sequence for CLFE */
2288 { 0x1c, 0x993301f0 }, /* CD */
2295 { 0x1b, 0x02214120 }, /* Front HP jack is flaky, disable jack detect */
2304 { 0x17, 0x90170111 }, /* hidden surround speaker */
2311 { 0x20, AC_VERB_SET_COEF_INDEX, 0x0b },
2312 { 0x20, AC_VERB_SET_PROC_COEF, 0x0838 },
2320 { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
2321 { 0x20, AC_VERB_SET_PROC_COEF, 0x0068 },
2329 { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
2330 { 0x20, AC_VERB_SET_PROC_COEF, 0x3060 },
2338 { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
2339 { 0x20, AC_VERB_SET_PROC_COEF, 0x3070 },
2347 { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
2348 { 0x20, AC_VERB_SET_PROC_COEF, 0x3050 },
2377 { 0x16, 0x99130111 }, /* CLFE speaker */
2378 { 0x17, 0x99130112 }, /* surround speaker */
2387 { 0x16, 0x99130111 }, /* CLFE speaker */
2388 { 0x1b, 0x99130112 }, /* surround speaker */
2400 /* setting bits 1-5 disables DAC nids 0x02-0x06
2401 * apparently. Init=0x38 */
2402 { 0x20, AC_VERB_SET_COEF_INDEX, 0x03 },
2403 { 0x20, AC_VERB_SET_PROC_COEF, 0x0000 },
2406 * Init=0x4900 */
2407 { 0x20, AC_VERB_SET_COEF_INDEX, 0x08 },
2408 { 0x20, AC_VERB_SET_PROC_COEF, 0x0000 },
2419 /* DMIC_CONTROL? Init value = 0x0001 */
2420 { 0x20, AC_VERB_SET_COEF_INDEX, 0x0b },
2421 { 0x20, AC_VERB_SET_PROC_COEF, 0x0003 },
2422 { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
2423 { 0x20, AC_VERB_SET_PROC_COEF, 0x3050 },
2484 {0x16, 0x99130130}, /* bass speaker */
2513 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
2522 { 0x15, 0x02a14150 }, /* use as headset mic, without its own jack detect */
2523 { 0x19, 0x22219420 },
2536 { 0x18, PIN_VREF50 }, /* rear mic */
2537 { 0x19, PIN_VREF50 }, /* front mic */
2544 SND_PCI_QUIRK(0x1025, 0x006c, "Acer Aspire 9810", ALC883_FIXUP_ACER_EAPD),
2545 SND_PCI_QUIRK(0x1025, 0x0090, "Acer Aspire", ALC883_FIXUP_ACER_EAPD),
2546 SND_PCI_QUIRK(0x1025, 0x0107, "Acer Aspire", ALC883_FIXUP_ACER_EAPD),
2547 SND_PCI_QUIRK(0x1025, 0x010a, "Acer Ferrari 5000", ALC883_FIXUP_ACER_EAPD),
2548 SND_PCI_QUIRK(0x1025, 0x0110, "Acer Aspire", ALC883_FIXUP_ACER_EAPD),
2549 SND_PCI_QUIRK(0x1025, 0x0112, "Acer Aspire 9303", ALC883_FIXUP_ACER_EAPD),
2550 SND_PCI_QUIRK(0x1025, 0x0121, "Acer Aspire 5920G", ALC883_FIXUP_ACER_EAPD),
2551 SND_PCI_QUIRK(0x1025, 0x013e, "Acer Aspire 4930G",
2553 SND_PCI_QUIRK(0x1025, 0x013f, "Acer Aspire 5930G",
2555 SND_PCI_QUIRK(0x1025, 0x0145, "Acer Aspire 8930G",
2557 SND_PCI_QUIRK(0x1025, 0x0146, "Acer Aspire 6935G",
2559 SND_PCI_QUIRK(0x1025, 0x0142, "Acer Aspire 7730G",
2561 SND_PCI_QUIRK(0x1025, 0x0155, "Packard-Bell M5120", ALC882_FIXUP_PB_M5210),
2562 SND_PCI_QUIRK(0x1025, 0x015e, "Acer Aspire 6930G",
2564 SND_PCI_QUIRK(0x1025, 0x0166, "Acer Aspire 6530G",
2566 SND_PCI_QUIRK(0x1025, 0x021e, "Acer Aspire 5739G",
2568 SND_PCI_QUIRK(0x1025, 0x0259, "Acer Aspire 5935", ALC889_FIXUP_DAC_ROUTE),
2569 SND_PCI_QUIRK(0x1025, 0x026b, "Acer Aspire 8940G", ALC882_FIXUP_ACER_ASPIRE_8930G),
2570 SND_PCI_QUIRK(0x1025, 0x0296, "Acer Aspire 7736z", ALC882_FIXUP_ACER_ASPIRE_7736),
2571 SND_PCI_QUIRK(0x1043, 0x13c2, "Asus A7M", ALC882_FIXUP_EAPD),
2572 SND_PCI_QUIRK(0x1043, 0x1873, "ASUS W90V", ALC882_FIXUP_ASUS_W90V),
2573 SND_PCI_QUIRK(0x1043, 0x1971, "Asus W2JC", ALC882_FIXUP_ASUS_W2JC),
2574 SND_PCI_QUIRK(0x1043, 0x2390, "Asus D700SA", ALC887_FIXUP_ASUS_HMIC),
2575 SND_PCI_QUIRK(0x1043, 0x835f, "Asus Eee 1601", ALC888_FIXUP_EEE1601),
2576 SND_PCI_QUIRK(0x1043, 0x84bc, "ASUS ET2700", ALC887_FIXUP_ASUS_BASS),
2577 SND_PCI_QUIRK(0x1043, 0x8691, "ASUS ROG Ranger VIII", ALC882_FIXUP_GPIO3),
2578 SND_PCI_QUIRK(0x1043, 0x8797, "ASUS TUF B550M-PLUS", ALCS1200A_FIXUP_MIC_VREF),
2579 SND_PCI_QUIRK(0x104d, 0x9043, "Sony Vaio VGC-LN51JGB", ALC882_FIXUP_NO_PRIMARY_HP),
2580 SND_PCI_QUIRK(0x104d, 0x9044, "Sony VAIO AiO", ALC882_FIXUP_NO_PRIMARY_HP),
2581 SND_PCI_QUIRK(0x104d, 0x9047, "Sony Vaio TT", ALC889_FIXUP_VAIO_TT),
2582 SND_PCI_QUIRK(0x104d, 0x905a, "Sony Vaio Z", ALC882_FIXUP_NO_PRIMARY_HP),
2583 SND_PCI_QUIRK(0x104d, 0x9060, "Sony Vaio VPCL14M1R", ALC882_FIXUP_NO_PRIMARY_HP),
2586 SND_PCI_QUIRK(0x106b, 0x00a0, "MacBookPro 3,1", ALC889_FIXUP_MBP_VREF),
2587 SND_PCI_QUIRK(0x106b, 0x00a1, "Macbook", ALC889_FIXUP_MBP_VREF),
2588 SND_PCI_QUIRK(0x106b, 0x00a4, "MacbookPro 4,1", ALC889_FIXUP_MBP_VREF),
2589 SND_PCI_QUIRK(0x106b, 0x0c00, "Mac Pro", ALC889_FIXUP_MP11_VREF),
2590 SND_PCI_QUIRK(0x106b, 0x1000, "iMac 24", ALC885_FIXUP_MACPRO_GPIO),
2591 SND_PCI_QUIRK(0x106b, 0x2800, "AppleTV", ALC885_FIXUP_MACPRO_GPIO),
2592 SND_PCI_QUIRK(0x106b, 0x2c00, "MacbookPro rev3", ALC889_FIXUP_MBP_VREF),
2593 SND_PCI_QUIRK(0x106b, 0x3000, "iMac", ALC889_FIXUP_MBP_VREF),
2594 SND_PCI_QUIRK(0x106b, 0x3200, "iMac 7,1 Aluminum", ALC882_FIXUP_EAPD),
2595 SND_PCI_QUIRK(0x106b, 0x3400, "MacBookAir 1,1", ALC889_FIXUP_MBA11_VREF),
2596 SND_PCI_QUIRK(0x106b, 0x3500, "MacBookAir 2,1", ALC889_FIXUP_MBA21_VREF),
2597 SND_PCI_QUIRK(0x106b, 0x3600, "Macbook 3,1", ALC889_FIXUP_MBP_VREF),
2598 SND_PCI_QUIRK(0x106b, 0x3800, "MacbookPro 4,1", ALC889_FIXUP_MBP_VREF),
2599 SND_PCI_QUIRK(0x106b, 0x3e00, "iMac 24 Aluminum", ALC885_FIXUP_MACPRO_GPIO),
2600 SND_PCI_QUIRK(0x106b, 0x3f00, "Macbook 5,1", ALC889_FIXUP_IMAC91_VREF),
2601 SND_PCI_QUIRK(0x106b, 0x4000, "MacbookPro 5,1", ALC889_FIXUP_IMAC91_VREF),
2602 SND_PCI_QUIRK(0x106b, 0x4100, "Macmini 3,1", ALC889_FIXUP_IMAC91_VREF),
2603 SND_PCI_QUIRK(0x106b, 0x4200, "Mac Pro 4,1/5,1", ALC889_FIXUP_MP41_VREF),
2604 SND_PCI_QUIRK(0x106b, 0x4300, "iMac 9,1", ALC889_FIXUP_IMAC91_VREF),
2605 SND_PCI_QUIRK(0x106b, 0x4600, "MacbookPro 5,2", ALC889_FIXUP_IMAC91_VREF),
2606 SND_PCI_QUIRK(0x106b, 0x4900, "iMac 9,1 Aluminum", ALC889_FIXUP_IMAC91_VREF),
2607 SND_PCI_QUIRK(0x106b, 0x4a00, "Macbook 5,2", ALC889_FIXUP_MBA11_VREF),
2609 SND_PCI_QUIRK(0x1071, 0x8258, "Evesham Voyaeger", ALC882_FIXUP_EAPD),
2610 SND_PCI_QUIRK(0x13fe, 0x1009, "Advantech MIT-W101", ALC886_FIXUP_EAPD),
2611 SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte EP45-DS3/Z87X-UD3H", ALC889_FIXUP_FRONT_HP_NO_PRESENCE),
2612 SND_PCI_QUIRK(0x1458, 0xa0b8, "Gigabyte AZ370-Gaming", ALC1220_FIXUP_GB_DUAL_CODECS),
2613 SND_PCI_QUIRK(0x1458, 0xa0cd, "Gigabyte X570 Aorus Master", ALC1220_FIXUP_GB_X570),
2614 SND_PCI_QUIRK(0x1458, 0xa0ce, "Gigabyte X570 Aorus Xtreme", ALC1220_FIXUP_GB_X570),
2615 SND_PCI_QUIRK(0x1458, 0xa0d5, "Gigabyte X570S Aorus Master", ALC1220_FIXUP_GB_X570),
2616 SND_PCI_QUIRK(0x1462, 0x11f7, "MSI-GE63", ALC1220_FIXUP_CLEVO_P950),
2617 SND_PCI_QUIRK(0x1462, 0x1228, "MSI-GP63", ALC1220_FIXUP_CLEVO_P950),
2618 SND_PCI_QUIRK(0x1462, 0x1229, "MSI-GP73", ALC1220_FIXUP_CLEVO_P950),
2619 SND_PCI_QUIRK(0x1462, 0x1275, "MSI-GL63", ALC1220_FIXUP_CLEVO_P950),
2620 SND_PCI_QUIRK(0x1462, 0x1276, "MSI-GL73", ALC1220_FIXUP_CLEVO_P950),
2621 SND_PCI_QUIRK(0x1462, 0x1293, "MSI-GP65", ALC1220_FIXUP_CLEVO_P950),
2622 SND_PCI_QUIRK(0x1462, 0x7350, "MSI-7350", ALC889_FIXUP_CD),
2623 SND_PCI_QUIRK(0x1462, 0xcc34, "MSI Godlike X570", ALC1220_FIXUP_GB_DUAL_CODECS),
2624 SND_PCI_QUIRK(0x1462, 0xda57, "MSI Z270-Gaming", ALC1220_FIXUP_GB_DUAL_CODECS),
2625 SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3),
2626 SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", ALC882_FIXUP_ABIT_AW9D_MAX),
2627 SND_PCI_QUIRK(0x1558, 0x50d3, "Clevo PC50[ER][CDF]", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2628 SND_PCI_QUIRK(0x1558, 0x65d1, "Clevo PB51[ER][CDF]", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2629 SND_PCI_QUIRK(0x1558, 0x65d2, "Clevo PB51R[CDF]", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2630 SND_PCI_QUIRK(0x1558, 0x65e1, "Clevo PB51[ED][DF]", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2631 SND_PCI_QUIRK(0x1558, 0x65e5, "Clevo PC50D[PRS](?:-D|-G)?", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2632 SND_PCI_QUIRK(0x1558, 0x65f1, "Clevo PC50HS", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2633 SND_PCI_QUIRK(0x1558, 0x65f5, "Clevo PD50PN[NRT]", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2634 SND_PCI_QUIRK(0x1558, 0x67d1, "Clevo PB71[ER][CDF]", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2635 SND_PCI_QUIRK(0x1558, 0x67e1, "Clevo PB71[DE][CDF]", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2636 SND_PCI_QUIRK(0x1558, 0x67e5, "Clevo PC70D[PRS](?:-D|-G)?", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2637 SND_PCI_QUIRK(0x1558, 0x67f1, "Clevo PC70H[PRS]", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2638 SND_PCI_QUIRK(0x1558, 0x67f5, "Clevo PD70PN[NRT]", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2639 SND_PCI_QUIRK(0x1558, 0x70d1, "Clevo PC70[ER][CDF]", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2640 SND_PCI_QUIRK(0x1558, 0x7714, "Clevo X170SM", ALC1220_FIXUP_CLEVO_PB51ED_PINS),
2641 SND_PCI_QUIRK(0x1558, 0x7715, "Clevo X170KM-G", ALC1220_FIXUP_CLEVO_PB51ED),
2642 SND_PCI_QUIRK(0x1558, 0x9501, "Clevo P950HR", ALC1220_FIXUP_CLEVO_P950),
2643 SND_PCI_QUIRK(0x1558, 0x9506, "Clevo P955HQ", ALC1220_FIXUP_CLEVO_P950),
2644 SND_PCI_QUIRK(0x1558, 0x950a, "Clevo P955H[PR]", ALC1220_FIXUP_CLEVO_P950),
2645 SND_PCI_QUIRK(0x1558, 0x95e1, "Clevo P95xER", ALC1220_FIXUP_CLEVO_P950),
2646 SND_PCI_QUIRK(0x1558, 0x95e2, "Clevo P950ER", ALC1220_FIXUP_CLEVO_P950),
2647 SND_PCI_QUIRK(0x1558, 0x95e3, "Clevo P955[ER]T", ALC1220_FIXUP_CLEVO_P950),
2648 SND_PCI_QUIRK(0x1558, 0x95e4, "Clevo P955ER", ALC1220_FIXUP_CLEVO_P950),
2649 SND_PCI_QUIRK(0x1558, 0x95e5, "Clevo P955EE6", ALC1220_FIXUP_CLEVO_P950),
2650 SND_PCI_QUIRK(0x1558, 0x95e6, "Clevo P950R[CDF]", ALC1220_FIXUP_CLEVO_P950),
2651 SND_PCI_QUIRK(0x1558, 0x96e1, "Clevo P960[ER][CDFN]-K", ALC1220_FIXUP_CLEVO_P950),
2652 SND_PCI_QUIRK(0x1558, 0x97e1, "Clevo P970[ER][CDFN]", ALC1220_FIXUP_CLEVO_P950),
2653 SND_PCI_QUIRK(0x1558, 0x97e2, "Clevo P970RC-M", ALC1220_FIXUP_CLEVO_P950),
2654 SND_PCI_QUIRK_VENDOR(0x1558, "Clevo laptop", ALC882_FIXUP_EAPD),
2655 SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_FIXUP_EAPD),
2656 SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Y530", ALC882_FIXUP_LENOVO_Y530),
2657 SND_PCI_QUIRK(0x8086, 0x0022, "DX58SO", ALC889_FIXUP_COEF),
2698 SND_HDA_PIN_QUIRK(0x10ec1220, 0x1043, "ASUS", ALC1220_FIXUP_CLEVO_P950,
2699 {0x14, 0x01014010},
2700 {0x15, 0x01011012},
2701 {0x16, 0x01016011},
2702 {0x18, 0x01a19040},
2703 {0x19, 0x02a19050},
2704 {0x1a, 0x0181304f},
2705 {0x1b, 0x0221401f},
2706 {0x1e, 0x01456130}),
2707 SND_HDA_PIN_QUIRK(0x10ec1220, 0x1462, "MS-7C35", ALC1220_FIXUP_CLEVO_P950,
2708 {0x14, 0x01015010},
2709 {0x15, 0x01011012},
2710 {0x16, 0x01011011},
2711 {0x18, 0x01a11040},
2712 {0x19, 0x02a19050},
2713 {0x1a, 0x0181104f},
2714 {0x1b, 0x0221401f},
2715 {0x1e, 0x01451130}),
2725 static const hda_nid_t alc882_ignore[] = { 0x1d, 0 }; in alc882_parse_auto_config()
2726 static const hda_nid_t alc882_ssids[] = { 0x15, 0x1b, 0x14, 0 }; in alc882_parse_auto_config()
2737 err = alc_alloc_spec(codec, 0x0b); in patch_alc882()
2738 if (err < 0) in patch_alc882()
2744 case 0x10ec0882: in patch_alc882()
2745 case 0x10ec0885: in patch_alc882()
2746 case 0x10ec0900: in patch_alc882()
2747 case 0x10ec0b00: in patch_alc882()
2748 case 0x10ec1220: in patch_alc882()
2752 alc_fix_pll_init(codec, 0x20, 0x0a, 10); in patch_alc882()
2766 spec->gen.beep_nid = 0x01; in patch_alc882()
2770 if (err < 0) in patch_alc882()
2774 err = set_beep_amp(spec, 0x0b, 0x05, HDA_INPUT); in patch_alc882()
2775 if (err < 0) in patch_alc882()
2781 return 0; in patch_alc882()
2794 static const hda_nid_t alc262_ignore[] = { 0x1d, 0 }; in alc262_parse_auto_config()
2795 static const hda_nid_t alc262_ssids[] = { 0x15, 0x1b, 0x14, 0 }; in alc262_parse_auto_config()
2818 { 0x14, 0x99130110 }, /* speaker */
2819 { 0x15, 0x0221142f }, /* front HP */
2820 { 0x1b, 0x0121141f }, /* rear HP */
2827 { 0x15, 0x90170110 }, /* speaker */
2836 { 0x16, 0x99130120 }, /* internal speaker */
2843 { 0x14, 0x1993e1f0 }, /* int AUX */
2850 { 0x19, PIN_VREF50 },
2859 { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
2860 { 0x20, AC_VERB_SET_PROC_COEF, 0x3070 },
2867 { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
2868 { 0x20, AC_VERB_SET_PROC_COEF, 0x3050 },
2883 SND_PCI_QUIRK(0x103c, 0x170b, "HP Z200", ALC262_FIXUP_HP_Z200),
2884 SND_PCI_QUIRK(0x10cf, 0x1397, "Fujitsu Lifebook S7110", ALC262_FIXUP_FSC_S7110),
2885 SND_PCI_QUIRK(0x10cf, 0x142d, "Fujitsu Lifebook E8410", ALC262_FIXUP_BENQ),
2886 SND_PCI_QUIRK(0x10f1, 0x2915, "Tyan Thunder n6650W", ALC262_FIXUP_TYAN),
2887 SND_PCI_QUIRK(0x1734, 0x1141, "FSC ESPRIMO U9210", ALC262_FIXUP_FSC_H270),
2888 SND_PCI_QUIRK(0x1734, 0x1147, "FSC Celsius H270", ALC262_FIXUP_FSC_H270),
2889 SND_PCI_QUIRK(0x17aa, 0x384e, "Lenovo 3000", ALC262_FIXUP_LENOVO_3000),
2890 SND_PCI_QUIRK(0x17ff, 0x0560, "Benq ED8", ALC262_FIXUP_BENQ),
2891 SND_PCI_QUIRK(0x17ff, 0x058d, "Benq T31-16", ALC262_FIXUP_BENQ_T31),
2892 SND_PCI_QUIRK(0x8086, 0x7270, "BayleyBay", ALC262_FIXUP_INTEL_BAYLEYBAY),
2916 err = alc_alloc_spec(codec, 0x0b); in patch_alc262()
2917 if (err < 0) in patch_alc262()
2921 spec->gen.shared_mic_vref_pin = 0x18; in patch_alc262()
2925 #if 0 in patch_alc262()
2929 alc_update_coefex_idx(codec, 0x1a, 7, 0, 0x80); in patch_alc262()
2931 alc_fix_pll_init(codec, 0x20, 0x0a, 10); in patch_alc262()
2942 spec->gen.beep_nid = 0x01; in patch_alc262()
2946 if (err < 0) in patch_alc262()
2950 err = set_beep_amp(spec, 0x0b, 0x05, HDA_INPUT); in patch_alc262()
2951 if (err < 0) in patch_alc262()
2957 return 0; in patch_alc262()
2967 /* bind Beep switches of both NID 0x0f and 0x10 */
2977 kcontrol->private_value = (pval & ~0xff) | 0x0f; in alc268_beep_switch_put()
2979 if (err >= 0) { in alc268_beep_switch_put()
2980 kcontrol->private_value = (pval & ~0xff) | 0x10; in alc268_beep_switch_put()
2989 HDA_CODEC_VOLUME("Beep Playback Volume", 0x1d, 0x0, HDA_INPUT),
2997 .private_value = HDA_COMPOSE_AMP_VAL(0x0f, 3, 1, HDA_INPUT)
3001 /* set PCBEEP vol = 0, mute connections */
3003 {0x1d, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)},
3004 {0x0f, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(1)},
3005 {0x10, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(1)},
3023 {0x15, AC_VERB_SET_EAPD_BTLENABLE, 0},
3030 { 0x1e, 0x014b1180 }, /* enable SPDIF out */
3044 SND_PCI_QUIRK(0x1025, 0x0139, "Acer TravelMate 6293", ALC268_FIXUP_SPDIF),
3045 SND_PCI_QUIRK(0x1025, 0x015b, "Acer AOA 150 (ZG5)", ALC268_FIXUP_INV_DMIC),
3049 SND_PCI_QUIRK(0x1179, 0xff06, "Toshiba P200", ALC268_FIXUP_HP_EAPD),
3058 static const hda_nid_t alc268_ssids[] = { 0x15, 0x1b, 0x14, 0 }; in alc268_parse_auto_config()
3070 err = alc_alloc_spec(codec, 0); in patch_alc268()
3071 if (err < 0) in patch_alc268()
3076 spec->gen.beep_nid = 0x01; in patch_alc268()
3087 if (err < 0) in patch_alc268()
3090 if (err > 0 && !spec->gen.no_analog && in patch_alc268()
3091 spec->gen.autocfg.speaker_pins[0] != 0x1d) { in patch_alc268()
3092 for (i = 0; i < ARRAY_SIZE(alc268_beep_mixer); i++) { in patch_alc268()
3100 if (!query_amp_caps(codec, 0x1d, HDA_INPUT)) in patch_alc268()
3102 snd_hda_override_amp_caps(codec, 0x1d, HDA_INPUT, in patch_alc268()
3103 (0x0c << AC_AMPCAP_OFFSET_SHIFT) | in patch_alc268()
3104 (0x0c << AC_AMPCAP_NUM_STEPS_SHIFT) | in patch_alc268()
3105 (0x07 << AC_AMPCAP_STEP_SIZE_SHIFT) | in patch_alc268()
3106 (0 << AC_AMPCAP_MUTE_SHIFT)); in patch_alc268()
3111 return 0; in patch_alc268()
3161 static const hda_nid_t alc269_ignore[] = { 0x1d, 0 }; in alc269_parse_auto_config()
3162 static const hda_nid_t alc269_ssids[] = { 0, 0x1b, 0x14, 0x21 }; in alc269_parse_auto_config()
3163 static const hda_nid_t alc269va_ssids[] = { 0x15, 0x1b, 0x14, 0 }; in alc269_parse_auto_config()
3213 int report = 0; in alc_headset_btn_callback()
3240 case 0x10ec0215: in alc_disable_headset_jack_key()
3241 case 0x10ec0225: in alc_disable_headset_jack_key()
3242 case 0x10ec0285: in alc_disable_headset_jack_key()
3243 case 0x10ec0287: in alc_disable_headset_jack_key()
3244 case 0x10ec0295: in alc_disable_headset_jack_key()
3245 case 0x10ec0289: in alc_disable_headset_jack_key()
3246 case 0x10ec0299: in alc_disable_headset_jack_key()
3247 alc_write_coef_idx(codec, 0x48, 0x0); in alc_disable_headset_jack_key()
3248 alc_update_coef_idx(codec, 0x49, 0x0045, 0x0); in alc_disable_headset_jack_key()
3249 alc_update_coef_idx(codec, 0x44, 0x0045 << 8, 0x0); in alc_disable_headset_jack_key()
3251 case 0x10ec0230: in alc_disable_headset_jack_key()
3252 case 0x10ec0236: in alc_disable_headset_jack_key()
3253 case 0x10ec0256: in alc_disable_headset_jack_key()
3254 case 0x19e58326: in alc_disable_headset_jack_key()
3255 alc_write_coef_idx(codec, 0x48, 0x0); in alc_disable_headset_jack_key()
3256 alc_update_coef_idx(codec, 0x49, 0x0045, 0x0); in alc_disable_headset_jack_key()
3269 case 0x10ec0215: in alc_enable_headset_jack_key()
3270 case 0x10ec0225: in alc_enable_headset_jack_key()
3271 case 0x10ec0285: in alc_enable_headset_jack_key()
3272 case 0x10ec0287: in alc_enable_headset_jack_key()
3273 case 0x10ec0295: in alc_enable_headset_jack_key()
3274 case 0x10ec0289: in alc_enable_headset_jack_key()
3275 case 0x10ec0299: in alc_enable_headset_jack_key()
3276 alc_write_coef_idx(codec, 0x48, 0xd011); in alc_enable_headset_jack_key()
3277 alc_update_coef_idx(codec, 0x49, 0x007f, 0x0045); in alc_enable_headset_jack_key()
3278 alc_update_coef_idx(codec, 0x44, 0x007f << 8, 0x0045 << 8); in alc_enable_headset_jack_key()
3280 case 0x10ec0230: in alc_enable_headset_jack_key()
3281 case 0x10ec0236: in alc_enable_headset_jack_key()
3282 case 0x10ec0256: in alc_enable_headset_jack_key()
3283 case 0x19e58326: in alc_enable_headset_jack_key()
3284 alc_write_coef_idx(codec, 0x48, 0xd011); in alc_enable_headset_jack_key()
3285 alc_update_coef_idx(codec, 0x49, 0x007f, 0x0045); in alc_enable_headset_jack_key()
3299 snd_hda_jack_detect_enable_callback(codec, 0x55, in alc_fixup_headset_jack()
3304 if (!hp_pin || snd_hda_jack_bind_keymap(codec, 0x55, in alc_fixup_headset_jack()
3307 snd_hda_jack_add_kctl(codec, 0x55, "Headset Jack", in alc_fixup_headset_jack()
3318 alc_update_coef_idx(codec, 0x04, 1 << 11, power_up ? (1 << 11) : 0); in alc269vb_toggle_power_output()
3326 alc269vb_toggle_power_output(codec, 0); in alc269_shutup()
3328 (alc_get_coef0(codec) & 0x00ff) == 0x018) { in alc269_shutup()
3335 WRITE_COEF(0x03, 0x0002), /* Power Down Control */
3336 UPDATE_COEF(0x05, 0xff3f, 0x0700), /* FIFO and filter clock */
3337 WRITE_COEF(0x07, 0x0200), /* DMIC control */
3338 UPDATE_COEF(0x06, 0x00f0, 0), /* Analog clock */
3339 UPDATE_COEF(0x08, 0xfffc, 0x0c2c), /* JD */
3340 WRITE_COEF(0x0a, 0xcccc), /* JD offset1 */
3341 WRITE_COEF(0x0b, 0xcccc), /* JD offset2 */
3342 WRITE_COEF(0x0e, 0x6e00), /* LDO1/2/3, DAC/ADC */
3343 UPDATE_COEF(0x0f, 0xf800, 0x1000), /* JD */
3344 UPDATE_COEF(0x10, 0xfc00, 0x0c00), /* Capless */
3345 WRITE_COEF(0x6f, 0x0), /* Class D test 4 */
3346 UPDATE_COEF(0x0c, 0xfe00, 0), /* IO power down directly */
3347 WRITE_COEF(0x34, 0xa0c0), /* ANC */
3348 UPDATE_COEF(0x16, 0x0008, 0), /* AGC MUX */
3349 UPDATE_COEF(0x1d, 0x00e0, 0), /* DAC simple content protection */
3350 UPDATE_COEF(0x1f, 0x00e0, 0), /* ADC simple content protection */
3351 WRITE_COEF(0x21, 0x8804), /* DAC ADC Zero Detection */
3352 WRITE_COEF(0x63, 0x2902), /* PLL */
3353 WRITE_COEF(0x68, 0xa080), /* capless control 2 */
3354 WRITE_COEF(0x69, 0x3400), /* capless control 3 */
3355 WRITE_COEF(0x6a, 0x2f3e), /* capless control 4 */
3356 WRITE_COEF(0x6b, 0x0), /* capless control 5 */
3357 UPDATE_COEF(0x6d, 0x0fff, 0x0900), /* class D test 2 */
3358 WRITE_COEF(0x6e, 0x110a), /* class D test 3 */
3359 UPDATE_COEF(0x70, 0x00f8, 0x00d8), /* class D test 5 */
3360 WRITE_COEF(0x71, 0x0014), /* class D test 6 */
3361 WRITE_COEF(0x72, 0xc2ba), /* classD OCP */
3362 UPDATE_COEF(0x77, 0x0f80, 0), /* classD pure DC test */
3363 WRITE_COEF(0x6c, 0xfc06), /* Class D amp control */
3384 coef78 = alc_read_coef_idx(codec, 0x78); in alc282_init()
3386 /* Index 0x78 Direct Drive HP AMP LPM Control 1 */ in alc282_init()
3388 alc_write_coef_idx(codec, 0x78, 0x9004); in alc282_init()
3393 snd_hda_codec_write(codec, hp_pin, 0, in alc282_init()
3399 snd_hda_codec_write(codec, hp_pin, 0, in alc282_init()
3406 alc_write_coef_idx(codec, 0x78, coef78); in alc282_init()
3422 coef78 = alc_read_coef_idx(codec, 0x78); in alc282_shutup()
3423 alc_write_coef_idx(codec, 0x78, 0x9004); in alc282_shutup()
3428 snd_hda_codec_write(codec, hp_pin, 0, in alc282_shutup()
3435 snd_hda_codec_write(codec, hp_pin, 0, in alc282_shutup()
3436 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); in alc282_shutup()
3443 alc_write_coef_idx(codec, 0x78, coef78); in alc282_shutup()
3447 WRITE_COEF(0x03, 0x0002), /* Power Down Control */
3448 UPDATE_COEF(0x05, 0xff3f, 0x0700), /* FIFO and filter clock */
3449 WRITE_COEF(0x07, 0x0200), /* DMIC control */
3450 UPDATE_COEF(0x06, 0x00f0, 0), /* Analog clock */
3451 UPDATE_COEF(0x08, 0xfffc, 0x0c2c), /* JD */
3452 WRITE_COEF(0x0a, 0xcccc), /* JD offset1 */
3453 WRITE_COEF(0x0b, 0xcccc), /* JD offset2 */
3454 WRITE_COEF(0x0e, 0x6fc0), /* LDO1/2/3, DAC/ADC */
3455 UPDATE_COEF(0x0f, 0xf800, 0x1000), /* JD */
3456 UPDATE_COEF(0x10, 0xfc00, 0x0c00), /* Capless */
3457 WRITE_COEF(0x3a, 0x0), /* Class D test 4 */
3458 UPDATE_COEF(0x0c, 0xfe00, 0x0), /* IO power down directly */
3459 WRITE_COEF(0x22, 0xa0c0), /* ANC */
3460 UPDATE_COEFEX(0x53, 0x01, 0x000f, 0x0008), /* AGC MUX */
3461 UPDATE_COEF(0x1d, 0x00e0, 0), /* DAC simple content protection */
3462 UPDATE_COEF(0x1f, 0x00e0, 0), /* ADC simple content protection */
3463 WRITE_COEF(0x21, 0x8804), /* DAC ADC Zero Detection */
3464 WRITE_COEF(0x2e, 0x2902), /* PLL */
3465 WRITE_COEF(0x33, 0xa080), /* capless control 2 */
3466 WRITE_COEF(0x34, 0x3400), /* capless control 3 */
3467 WRITE_COEF(0x35, 0x2f3e), /* capless control 4 */
3468 WRITE_COEF(0x36, 0x0), /* capless control 5 */
3469 UPDATE_COEF(0x38, 0x0fff, 0x0900), /* class D test 2 */
3470 WRITE_COEF(0x39, 0x110a), /* class D test 3 */
3471 UPDATE_COEF(0x3b, 0x00f8, 0x00d8), /* class D test 5 */
3472 WRITE_COEF(0x3c, 0x0014), /* class D test 6 */
3473 WRITE_COEF(0x3d, 0xc2ba), /* classD OCP */
3474 UPDATE_COEF(0x42, 0x0f80, 0x0), /* classD pure DC test */
3475 WRITE_COEF(0x49, 0x0), /* test mode */
3476 UPDATE_COEF(0x40, 0xf800, 0x9800), /* Class D DC enable */
3477 UPDATE_COEF(0x42, 0xf000, 0x2000), /* DC offset */
3478 WRITE_COEF(0x37, 0xfc06), /* Class D amp control */
3479 UPDATE_COEF(0x1b, 0x8000, 0), /* HP JD control */
3502 /* Index 0x43 Direct Drive HP AMP LPM Control 1 */ in alc283_init()
3504 alc_write_coef_idx(codec, 0x43, 0x9004); in alc283_init()
3506 snd_hda_codec_write(codec, hp_pin, 0, in alc283_init()
3512 snd_hda_codec_write(codec, hp_pin, 0, in alc283_init()
3517 /* Index 0x46 Combo jack auto switch control 2 */ in alc283_init()
3519 alc_update_coef_idx(codec, 0x46, 3 << 12, 0); in alc283_init()
3521 alc_write_coef_idx(codec, 0x43, 0x9614); in alc283_init()
3537 alc_write_coef_idx(codec, 0x43, 0x9004); in alc283_shutup()
3540 alc_write_coef_idx(codec, 0x06, 0x2100); in alc283_shutup()
3542 snd_hda_codec_write(codec, hp_pin, 0, in alc283_shutup()
3549 snd_hda_codec_write(codec, hp_pin, 0, in alc283_shutup()
3550 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); in alc283_shutup()
3552 alc_update_coef_idx(codec, 0x46, 0, 3 << 12); in alc283_shutup()
3558 alc_write_coef_idx(codec, 0x43, 0x9614); in alc283_shutup()
3568 hp_pin = 0x21; in alc256_init()
3577 alc_update_coefex_idx(codec, 0x57, 0x04, 0x0007, 0x1); /* Low power */ in alc256_init()
3579 alc_update_coef_idx(codec, 0x03, 1<<1, 1<<1); in alc256_init()
3580 alc_update_coef_idx(codec, 0x08, 3<<2, 3<<2); in alc256_init()
3581 alc_update_coef_idx(codec, 0x08, 7<<4, 0); in alc256_init()
3582 alc_update_coef_idx(codec, 0x3b, 1<<15, 0); in alc256_init()
3583 alc_update_coef_idx(codec, 0x0e, 7<<6, 7<<6); in alc256_init()
3587 snd_hda_codec_write(codec, hp_pin, 0, in alc256_init()
3593 snd_hda_codec_write(codec, hp_pin, 0, in alc256_init()
3599 alc_update_coef_idx(codec, 0x46, 3 << 12, 0); in alc256_init()
3600 alc_update_coefex_idx(codec, 0x57, 0x04, 0x0007, 0x4); /* Hight power */ in alc256_init()
3601 alc_update_coefex_idx(codec, 0x53, 0x02, 0x8000, 1 << 15); /* Clear bit */ in alc256_init()
3602 alc_update_coefex_idx(codec, 0x53, 0x02, 0x8000, 0 << 15); in alc256_init()
3609 alc_write_coef_idx(codec, 0x36, 0x5757); in alc256_init()
3619 hp_pin = 0x21; in alc256_shutup()
3626 snd_hda_codec_write(codec, hp_pin, 0, in alc256_shutup()
3637 if (codec->core.vendor_id != 0x10ec0236 && in alc256_shutup()
3638 codec->core.vendor_id != 0x10ec0257) in alc256_shutup()
3639 alc_update_coef_idx(codec, 0x46, 0, 3 << 12); in alc256_shutup()
3642 snd_hda_codec_write(codec, hp_pin, 0, in alc256_shutup()
3643 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); in alc256_shutup()
3652 alc_update_coef_idx(codec, 0x03, 1<<1, 0); in alc256_shutup()
3653 alc_update_coef_idx(codec, 0x08, 7<<4, 7<<4); in alc256_shutup()
3654 alc_update_coef_idx(codec, 0x08, 3<<2, 0); in alc256_shutup()
3655 alc_update_coef_idx(codec, 0x3b, 1<<15, 1<<15); in alc256_shutup()
3656 alc_update_coef_idx(codec, 0x0e, 7<<6, 0); in alc256_shutup()
3668 alc_update_coef_idx(codec, 0x4a, 1<<15, 1<<15); /* Reset HP JD */ in alc285_hp_init()
3669 coef38 = alc_read_coef_idx(codec, 0x38); /* Amp control */ in alc285_hp_init()
3670 coef0d = alc_read_coef_idx(codec, 0x0d); /* Digital Misc control */ in alc285_hp_init()
3671 coef36 = alc_read_coef_idx(codec, 0x36); /* Passthrough Control */ in alc285_hp_init()
3672 alc_update_coef_idx(codec, 0x38, 1<<4, 0x0); in alc285_hp_init()
3673 alc_update_coef_idx(codec, 0x0d, 0x110, 0x0); in alc285_hp_init()
3675 alc_update_coef_idx(codec, 0x67, 0xf000, 0x3000); in alc285_hp_init()
3678 snd_hda_codec_write(codec, hp_pin, 0, in alc285_hp_init()
3682 alc_update_coef_idx(codec, 0x36, 1<<14, 1<<14); in alc285_hp_init()
3683 alc_update_coef_idx(codec, 0x36, 1<<13, 0x0); in alc285_hp_init()
3686 snd_hda_codec_write(codec, hp_pin, 0, in alc285_hp_init()
3687 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); in alc285_hp_init()
3689 alc_write_coef_idx(codec, 0x67, 0x0); /* Set HP depop to manual mode */ in alc285_hp_init()
3690 alc_write_coefex_idx(codec, 0x58, 0x00, 0x7880); in alc285_hp_init()
3691 alc_write_coefex_idx(codec, 0x58, 0x0f, 0xf049); in alc285_hp_init()
3692 alc_update_coefex_idx(codec, 0x58, 0x03, 0x00f0, 0x00c0); in alc285_hp_init()
3694 alc_write_coefex_idx(codec, 0x58, 0x00, 0xf888); /* HP depop procedure start */ in alc285_hp_init()
3695 val = alc_read_coefex_idx(codec, 0x58, 0x00); in alc285_hp_init()
3696 for (i = 0; i < 20 && val & 0x8000; i++) { in alc285_hp_init()
3698 val = alc_read_coefex_idx(codec, 0x58, 0x00); in alc285_hp_init()
3701 alc_write_coefex_idx(codec, 0x58, 0x00, val); /* write back the result */ in alc285_hp_init()
3702 alc_update_coef_idx(codec, 0x38, 1<<4, coef38); in alc285_hp_init()
3703 alc_update_coef_idx(codec, 0x0d, 0x110, coef0d); in alc285_hp_init()
3704 alc_update_coef_idx(codec, 0x36, 3<<13, coef36); in alc285_hp_init()
3707 alc_update_coef_idx(codec, 0x4a, 1<<15, 0); in alc285_hp_init()
3727 hp_pin = 0x21; in alc225_init()
3731 hp2_pin_sense = snd_hda_jack_detect(codec, 0x16); in alc225_init()
3736 alc_update_coefex_idx(codec, 0x57, 0x04, 0x0007, 0x1); /* Low power */ in alc225_init()
3738 alc_update_coef_idx(codec, 0x08, 0x0f << 2, 3<<2); in alc225_init()
3739 alc_update_coef_idx(codec, 0x0e, 7<<6, 7<<6); in alc225_init()
3740 alc_update_coef_idx(codec, 0x33, 1<<11, 0); in alc225_init()
3745 snd_hda_codec_write(codec, hp_pin, 0, in alc225_init()
3748 snd_hda_codec_write(codec, 0x16, 0, in alc225_init()
3755 snd_hda_codec_write(codec, hp_pin, 0, in alc225_init()
3758 snd_hda_codec_write(codec, 0x16, 0, in alc225_init()
3764 alc_update_coef_idx(codec, 0x4a, 3 << 10, 0); in alc225_init()
3765 alc_update_coefex_idx(codec, 0x57, 0x04, 0x0007, 0x4); /* Hight power */ in alc225_init()
3775 hp_pin = 0x21; in alc225_shutup()
3779 alc_update_coef_idx(codec, 0x4a, 0, 3 << 10); in alc225_shutup()
3782 hp2_pin_sense = snd_hda_jack_detect(codec, 0x16); in alc225_shutup()
3788 snd_hda_codec_write(codec, hp_pin, 0, in alc225_shutup()
3791 snd_hda_codec_write(codec, 0x16, 0, in alc225_shutup()
3798 snd_hda_codec_write(codec, hp_pin, 0, in alc225_shutup()
3799 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); in alc225_shutup()
3801 snd_hda_codec_write(codec, 0x16, 0, in alc225_shutup()
3802 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); in alc225_shutup()
3811 alc_update_coef_idx(codec, 0x08, 0x0f << 2, 0x0c << 2); in alc225_shutup()
3812 alc_update_coef_idx(codec, 0x0e, 7<<6, 0); in alc225_shutup()
3813 alc_update_coef_idx(codec, 0x33, 1<<11, 1<<11); in alc225_shutup()
3814 alc_update_coef_idx(codec, 0x4a, 3<<4, 2<<4); in alc225_shutup()
3818 alc_update_coef_idx(codec, 0x4a, 3 << 10, 0); in alc225_shutup()
3838 snd_hda_codec_write(codec, hp_pin, 0, in alc_default_init()
3844 snd_hda_codec_write(codec, hp_pin, 0, in alc_default_init()
3867 snd_hda_codec_write(codec, hp_pin, 0, in alc_default_shutup()
3874 snd_hda_codec_write(codec, hp_pin, 0, in alc_default_shutup()
3875 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); in alc_default_shutup()
3893 snd_hda_codec_write(codec, hp_pin, 0, in alc294_hp_init()
3899 snd_hda_codec_write(codec, hp_pin, 0, in alc294_hp_init()
3900 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); in alc294_hp_init()
3902 alc_update_coef_idx(codec, 0x6f, 0x000f, 0);/* Set HP depop to manual mode */ in alc294_hp_init()
3903 alc_update_coefex_idx(codec, 0x58, 0x00, 0x8000, 0x8000); /* HP depop procedure start */ in alc294_hp_init()
3906 val = alc_read_coefex_idx(codec, 0x58, 0x01); in alc294_hp_init()
3907 for (i = 0; i < 20 && val & 0x0080; i++) { in alc294_hp_init()
3909 val = alc_read_coefex_idx(codec, 0x58, 0x01); in alc294_hp_init()
3912 alc_update_coef_idx(codec, 0x6f, 0x000f, 0x000b); in alc294_hp_init()
3932 snd_hda_codec_write(codec, 0x51, 0, AC_VERB_SET_COEF_INDEX, index_reg >> 1); in alc5505_coef_set()
3933 snd_hda_codec_write(codec, 0x51, 0, AC_VERB_SET_PROC_COEF, val & 0xffff); /* LSB */ in alc5505_coef_set()
3934 snd_hda_codec_write(codec, 0x51, 0, AC_VERB_SET_PROC_COEF, val >> 16); /* MSB */ in alc5505_coef_set()
3941 snd_hda_codec_write(codec, 0x51, 0, AC_VERB_SET_COEF_INDEX, index_reg >> 1); in alc5505_coef_get()
3942 val = snd_hda_codec_read(codec, 0x51, 0, AC_VERB_GET_PROC_COEF, 0) in alc5505_coef_get()
3943 & 0xffff; in alc5505_coef_get()
3944 val |= snd_hda_codec_read(codec, 0x51, 0, AC_VERB_GET_PROC_COEF, 0) in alc5505_coef_get()
3953 alc5505_coef_set(codec, 0x3000, 0x000c); /* DSP CPU stop */ in alc5505_dsp_halt()
3954 alc5505_coef_set(codec, 0x880c, 0x0008); /* DDR enter self refresh */ in alc5505_dsp_halt()
3955 alc5505_coef_set(codec, 0x61c0, 0x11110080); /* Clock control for PLL and CPU */ in alc5505_dsp_halt()
3956 alc5505_coef_set(codec, 0x6230, 0xfc0d4011); /* Disable Input OP */ in alc5505_dsp_halt()
3957 alc5505_coef_set(codec, 0x61b4, 0x040a2b03); /* Stop PLL2 */ in alc5505_dsp_halt()
3958 alc5505_coef_set(codec, 0x61b0, 0x00005b17); /* Stop PLL1 */ in alc5505_dsp_halt()
3959 alc5505_coef_set(codec, 0x61b8, 0x04133303); /* Stop PLL3 */ in alc5505_dsp_halt()
3960 val = alc5505_coef_get(codec, 0x6220); in alc5505_dsp_halt()
3961 alc5505_coef_set(codec, 0x6220, (val | 0x3000)); /* switch Ringbuffer clock to DBUS clock */ in alc5505_dsp_halt()
3966 alc5505_coef_set(codec, 0x61b8, 0x04133302); in alc5505_dsp_back_from_halt()
3967 alc5505_coef_set(codec, 0x61b0, 0x00005b16); in alc5505_dsp_back_from_halt()
3968 alc5505_coef_set(codec, 0x61b4, 0x040a2b02); in alc5505_dsp_back_from_halt()
3969 alc5505_coef_set(codec, 0x6230, 0xf80d4011); in alc5505_dsp_back_from_halt()
3970 alc5505_coef_set(codec, 0x6220, 0x2002010f); in alc5505_dsp_back_from_halt()
3971 alc5505_coef_set(codec, 0x880c, 0x00000004); in alc5505_dsp_back_from_halt()
3980 alc5505_coef_set(codec, 0x61b0, 0x5b14); /* PLL1 control */ in alc5505_dsp_init()
3981 alc5505_coef_set(codec, 0x61b0, 0x5b16); in alc5505_dsp_init()
3982 alc5505_coef_set(codec, 0x61b4, 0x04132b00); /* PLL2 control */ in alc5505_dsp_init()
3983 alc5505_coef_set(codec, 0x61b4, 0x04132b02); in alc5505_dsp_init()
3984 alc5505_coef_set(codec, 0x61b8, 0x041f3300); /* PLL3 control*/ in alc5505_dsp_init()
3985 alc5505_coef_set(codec, 0x61b8, 0x041f3302); in alc5505_dsp_init()
3986 snd_hda_codec_write(codec, 0x51, 0, AC_VERB_SET_CODEC_RESET, 0); /* Function reset */ in alc5505_dsp_init()
3987 alc5505_coef_set(codec, 0x61b8, 0x041b3302); in alc5505_dsp_init()
3988 alc5505_coef_set(codec, 0x61b8, 0x04173302); in alc5505_dsp_init()
3989 alc5505_coef_set(codec, 0x61b8, 0x04163302); in alc5505_dsp_init()
3990 alc5505_coef_set(codec, 0x8800, 0x348b328b); /* DRAM control */ in alc5505_dsp_init()
3991 alc5505_coef_set(codec, 0x8808, 0x00020022); /* DRAM control */ in alc5505_dsp_init()
3992 alc5505_coef_set(codec, 0x8818, 0x00000400); /* DRAM control */ in alc5505_dsp_init()
3994 val = alc5505_coef_get(codec, 0x6200) >> 16; /* Read revision ID */ in alc5505_dsp_init()
3996 alc5505_coef_set(codec, 0x6220, 0x2002010f); /* I/O PAD Configuration */ in alc5505_dsp_init()
3998 alc5505_coef_set(codec, 0x6220, 0x6002018f); in alc5505_dsp_init()
4000 alc5505_coef_set(codec, 0x61ac, 0x055525f0); /**/ in alc5505_dsp_init()
4001 alc5505_coef_set(codec, 0x61c0, 0x12230080); /* Clock control */ in alc5505_dsp_init()
4002 alc5505_coef_set(codec, 0x61b4, 0x040e2b02); /* PLL2 control */ in alc5505_dsp_init()
4003 alc5505_coef_set(codec, 0x61bc, 0x010234f8); /* OSC Control */ in alc5505_dsp_init()
4004 alc5505_coef_set(codec, 0x880c, 0x00000004); /* DRAM Function control */ in alc5505_dsp_init()
4005 alc5505_coef_set(codec, 0x880c, 0x00000003); in alc5505_dsp_init()
4006 alc5505_coef_set(codec, 0x880c, 0x00000010); in alc5505_dsp_init()
4014 #define alc5505_dsp_suspend(codec) do { } while (0) /* NOP */
4015 #define alc5505_dsp_resume(codec) do { } while (0) /* NOP */
4037 alc269vb_toggle_power_output(codec, 0); in alc269_resume()
4039 (alc_get_coef0(codec) & 0x00ff) == 0x018) { in alc269_resume()
4048 (alc_get_coef0(codec) & 0x00ff) == 0x017) { in alc269_resume()
4053 hda_call_check_power_status(codec, 0x01); in alc269_resume()
4065 return 0; in alc269_resume()
4082 unsigned int cfg_headphone = snd_hda_codec_get_pincfg(codec, 0x21); in alc269_fixup_pincfg_U7x7_headset_mic()
4083 unsigned int cfg_headset_mic = snd_hda_codec_get_pincfg(codec, 0x19); in alc269_fixup_pincfg_U7x7_headset_mic()
4085 if (cfg_headphone && cfg_headset_mic == 0x411111f0) in alc269_fixup_pincfg_U7x7_headset_mic()
4086 snd_hda_codec_set_pincfg(codec, 0x19, in alc269_fixup_pincfg_U7x7_headset_mic()
4095 alc_update_coef_idx(codec, 0x1e, 0, 0x80); in alc269_fixup_hweq()
4111 {0x20, AC_VERB_SET_COEF_INDEX, 0x0d}, in alc271_fixup_dmic()
4112 {0x20, AC_VERB_SET_PROC_COEF, 0x4000}, in alc271_fixup_dmic()
4120 cfg = snd_hda_codec_get_pincfg(codec, 0x12); in alc271_fixup_dmic()
4131 alc_update_coef_idx(codec, 0x0d, 0x6000, 0x6000); in alc269vb_fixup_aspire_e1_coef()
4158 alc_update_coef_idx(codec, 0x07, 0, 0x80); in alc269_fixup_stereo_dmic()
4165 alc_write_coef_idx(codec, 0x0c, 0x680); in alc269_quanta_automute()
4166 alc_write_coef_idx(codec, 0x0c, 0x480); in alc269_quanta_automute()
4186 vref = spec->gen.hp_jack_present ? PIN_VREF80 : 0; in alc269_x101_hp_automute_hook()
4188 snd_hda_codec_write(codec, 0x18, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, in alc269_x101_hp_automute_hook()
4191 snd_hda_codec_write(codec, 0x18, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, in alc269_x101_hp_automute_hook()
4207 snd_hda_codec_write(codec, 0x06, 0, AC_VERB_SET_DIGI_CONVERT_3, 0x0); in alc298_huawei_mbx_stereo_seq()
4208 alc_write_coef_idx(codec, 0x26, 0xb000); in alc298_huawei_mbx_stereo_seq()
4211 snd_hda_codec_write(codec, 0x21, 0, AC_VERB_GET_PIN_SENSE, 0x0); in alc298_huawei_mbx_stereo_seq()
4213 snd_hda_codec_write(codec, 0x6, 0, AC_VERB_SET_DIGI_CONVERT_3, 0x80); in alc298_huawei_mbx_stereo_seq()
4214 alc_write_coef_idx(codec, 0x26, 0xf000); in alc298_huawei_mbx_stereo_seq()
4215 alc_write_coef_idx(codec, 0x23, initval->value_0x23); in alc298_huawei_mbx_stereo_seq()
4217 if (initval->value_0x23 != 0x1e) in alc298_huawei_mbx_stereo_seq()
4218 alc_write_coef_idx(codec, 0x25, initval->value_0x25); in alc298_huawei_mbx_stereo_seq()
4220 snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_COEF_INDEX, 0x26); in alc298_huawei_mbx_stereo_seq()
4221 snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_PROC_COEF, 0xb010); in alc298_huawei_mbx_stereo_seq()
4230 {0x0c, 0x00}, {0x0d, 0x00}, {0x0e, 0x00}, {0x0f, 0x00}, in alc298_fixup_huawei_mbx_stereo()
4231 {0x10, 0x00}, {0x1a, 0x40}, {0x1b, 0x82}, {0x1c, 0x00}, in alc298_fixup_huawei_mbx_stereo()
4232 {0x1d, 0x00}, {0x1e, 0x00}, {0x1f, 0x00}, in alc298_fixup_huawei_mbx_stereo()
4233 {0x20, 0xc2}, {0x21, 0xc8}, {0x22, 0x26}, {0x23, 0x24}, in alc298_fixup_huawei_mbx_stereo()
4234 {0x27, 0xff}, {0x28, 0xff}, {0x29, 0xff}, {0x2a, 0x8f}, in alc298_fixup_huawei_mbx_stereo()
4235 {0x2b, 0x02}, {0x2c, 0x48}, {0x2d, 0x34}, {0x2e, 0x00}, in alc298_fixup_huawei_mbx_stereo()
4236 {0x2f, 0x00}, in alc298_fixup_huawei_mbx_stereo()
4237 {0x30, 0x00}, {0x31, 0x00}, {0x32, 0x00}, {0x33, 0x00}, in alc298_fixup_huawei_mbx_stereo()
4238 {0x34, 0x00}, {0x35, 0x01}, {0x36, 0x93}, {0x37, 0x0c}, in alc298_fixup_huawei_mbx_stereo()
4239 {0x38, 0x00}, {0x39, 0x00}, {0x3a, 0xf8}, {0x38, 0x80}, in alc298_fixup_huawei_mbx_stereo()
4248 snd_hda_codec_write(codec, 0x06, 0, AC_VERB_SET_DIGI_CONVERT_3, 0x00); in alc298_fixup_huawei_mbx_stereo()
4249 snd_hda_codec_write(codec, 0x06, 0, AC_VERB_SET_DIGI_CONVERT_3, 0x80); in alc298_fixup_huawei_mbx_stereo()
4250 alc_write_coef_idx(codec, 0x26, 0xf000); in alc298_fixup_huawei_mbx_stereo()
4251 alc_write_coef_idx(codec, 0x22, 0x31); in alc298_fixup_huawei_mbx_stereo()
4252 alc_write_coef_idx(codec, 0x23, 0x0b); in alc298_fixup_huawei_mbx_stereo()
4253 alc_write_coef_idx(codec, 0x25, 0x00); in alc298_fixup_huawei_mbx_stereo()
4254 snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_COEF_INDEX, 0x26); in alc298_fixup_huawei_mbx_stereo()
4255 snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_PROC_COEF, 0xb010); in alc298_fixup_huawei_mbx_stereo()
4298 return 0; in vref_mute_led_set()
4308 if (power_state != AC_PWRST_D3 || nid == 0 || in led_power_filter()
4312 /* Set pin ctl again, it might have just been set to 0 */ in led_power_filter()
4332 if (pin < 0x0a || pin >= 0x10) in alc269_fixup_hp_mute_led()
4335 spec->mute_led_nid = pin - 0x0a + 0x18; in alc269_fixup_hp_mute_led()
4352 spec->mute_led_polarity = 0; in alc269_fixup_hp_mute_led_micx()
4362 alc269_fixup_hp_mute_led_micx(codec, fix, action, 0x18); in alc269_fixup_hp_mute_led_mic1()
4368 alc269_fixup_hp_mute_led_micx(codec, fix, action, 0x19); in alc269_fixup_hp_mute_led_mic2()
4374 alc269_fixup_hp_mute_led_micx(codec, fix, action, 0x1b); in alc269_fixup_hp_mute_led_mic3()
4395 return 0; in gpio_mute_led_set()
4407 return 0; in micmute_led_set()
4435 alc_fixup_hp_gpio_led(codec, action, 0x02, 0x01); in alc236_fixup_hp_gpio_led()
4441 alc_fixup_hp_gpio_led(codec, action, 0x08, 0x10); in alc269_fixup_hp_gpio_led()
4447 alc_fixup_hp_gpio_led(codec, action, 0x04, 0x01); in alc285_fixup_hp_gpio_led()
4453 alc_fixup_hp_gpio_led(codec, action, 0x02, 0x20); in alc286_fixup_hp_gpio_led()
4459 alc_fixup_hp_gpio_led(codec, action, 0x10, 0); in alc287_fixup_hp_gpio_led()
4469 alc_fixup_hp_gpio_led(codec, action, 0, 0x04); in alc245_fixup_hp_gpio_led()
4481 return 0; in vref_micmute_led_set()
4489 alc_fixup_hp_gpio_led(codec, action, 0x08, 0); in alc269_fixup_hp_gpio_mic1_led()
4494 spec->gpio_mask |= 0x10; in alc269_fixup_hp_gpio_mic1_led()
4495 spec->gpio_dir |= 0x10; in alc269_fixup_hp_gpio_mic1_led()
4496 spec->cap_mute_led_nid = 0x18; in alc269_fixup_hp_gpio_mic1_led()
4507 alc_fixup_hp_gpio_led(codec, action, 0x08, 0); in alc280_fixup_hp_gpio4()
4509 spec->cap_mute_led_nid = 0x18; in alc280_fixup_hp_gpio4()
4525 spec->gpio_mask |= 0x01; in alc245_fixup_hp_x360_amp()
4526 spec->gpio_dir |= 0x01; in alc245_fixup_hp_x360_amp()
4530 alc_update_gpio_data(codec, 0x01, true); in alc245_fixup_hp_x360_amp()
4532 alc_update_gpio_data(codec, 0x01, false); in alc245_fixup_hp_x360_amp()
4545 alc_update_gpio_data(codec, 0x04, true); in alc274_hp_envy_pcm_hook()
4548 alc_update_gpio_data(codec, 0x04, false); in alc274_hp_envy_pcm_hook()
4560 spec->gpio_mask |= 0x04; in alc274_fixup_hp_envy_gpio()
4561 spec->gpio_dir |= 0x04; in alc274_fixup_hp_envy_gpio()
4586 return 0; in coef_mute_led_set()
4596 spec->mute_led_polarity = 0; in alc285_fixup_hp_mute_led_coefbit()
4597 spec->mute_led_coef.idx = 0x0b; in alc285_fixup_hp_mute_led_coefbit()
4600 spec->mute_led_coef.off = 0; in alc285_fixup_hp_mute_led_coefbit()
4612 spec->mute_led_polarity = 0; in alc236_fixup_hp_mute_led_coefbit()
4613 spec->mute_led_coef.idx = 0x34; in alc236_fixup_hp_mute_led_coefbit()
4615 spec->mute_led_coef.on = 0; in alc236_fixup_hp_mute_led_coefbit()
4630 return 0; in coef_micmute_led_set()
4639 spec->mic_led_coef.idx = 0x19; in alc285_fixup_hp_coef_micmute_led()
4642 spec->mic_led_coef.off = 0; in alc285_fixup_hp_coef_micmute_led()
4653 spec->mic_led_coef.idx = 0x35; in alc236_fixup_hp_coef_micmute_led()
4681 spec->cap_mute_led_nid = 0x1a; in alc236_fixup_hp_micmute_led_vref()
4697 alc_write_coef_idx(codec, 0x23, coefs[0]); in alc298_samsung_write_coef_pack()
4698 alc_write_coef_idx(codec, 0x25, coefs[1]); in alc298_samsung_write_coef_pack()
4699 alc_write_coef_idx(codec, 0x26, 0xb011); in alc298_samsung_write_coef_pack()
4712 { 0x19, 0x00 }, { 0x20, 0xc0 }, { 0x22, 0x44 }, { 0x23, 0x08 }, in alc298_fixup_samsung_amp()
4713 { 0x24, 0x85 }, { 0x25, 0x41 }, { 0x35, 0x40 }, { 0x36, 0x01 }, in alc298_fixup_samsung_amp()
4714 { 0x38, 0x81 }, { 0x3a, 0x03 }, { 0x3b, 0x81 }, { 0x40, 0x3e }, in alc298_fixup_samsung_amp()
4715 { 0x41, 0x07 }, { 0x400, 0x1 } in alc298_fixup_samsung_amp()
4718 { 0x3a, { { 0x18, 0x1 }, { 0x26, 0x0 } } }, in alc298_fixup_samsung_amp()
4719 { 0x39, { { 0x18, 0x2 }, { 0x26, 0x1 } } } in alc298_fixup_samsung_amp()
4725 for (i = 0; i < ARRAY_SIZE(amps); i++) { in alc298_fixup_samsung_amp()
4726 alc_write_coef_idx(codec, 0x22, amps[i].nid); in alc298_fixup_samsung_amp()
4728 for (j = 0; j < ARRAY_SIZE(amps[i].init_seq); j++) in alc298_fixup_samsung_amp()
4731 for (j = 0; j < ARRAY_SIZE(init_seq); j++) in alc298_fixup_samsung_amp()
4746 input_report_key(spec->kb_dev, spec->alc_mute_keycode_map[ALC_KEY_MICMUTE_INDEX], 0); in gpio2_mic_hotkey_event()
4764 spec->kb_dev->evbit[0] = BIT_MASK(EV_KEY); in alc_register_micmute_input_device()
4765 spec->kb_dev->keycodesize = sizeof(spec->alc_mute_keycode_map[0]); in alc_register_micmute_input_device()
4768 for (i = 0; i < ARRAY_SIZE(spec->alc_mute_keycode_map); i++) in alc_register_micmute_input_device()
4778 return 0; in alc_register_micmute_input_device()
4791 alc_fixup_hp_gpio_led(codec, action, 0x08, 0x10); in alc280_fixup_hp_gpio2_mic_hotkey()
4794 if (alc_register_micmute_input_device(codec) != 0) in alc280_fixup_hp_gpio2_mic_hotkey()
4797 spec->gpio_mask |= 0x06; in alc280_fixup_hp_gpio2_mic_hotkey()
4798 spec->gpio_dir |= 0x02; in alc280_fixup_hp_gpio2_mic_hotkey()
4799 spec->gpio_data |= 0x02; in alc280_fixup_hp_gpio2_mic_hotkey()
4800 snd_hda_codec_write_cache(codec, codec->core.afg, 0, in alc280_fixup_hp_gpio2_mic_hotkey()
4801 AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK, 0x04); in alc280_fixup_hp_gpio2_mic_hotkey()
4825 alc_fixup_hp_gpio_led(codec, action, 0, 0x04); in alc233_fixup_lenovo_line2_mic_hotkey()
4828 if (alc_register_micmute_input_device(codec) != 0) in alc233_fixup_lenovo_line2_mic_hotkey()
4831 snd_hda_jack_detect_enable_callback(codec, 0x1b, in alc233_fixup_lenovo_line2_mic_hotkey()
4855 alc269_fixup_hp_mute_led_micx(codec, fix, action, 0x1a); in alc269_fixup_hp_line1_mic1_led()
4857 spec->cap_mute_led_nid = 0x18; in alc269_fixup_hp_line1_mic1_led()
4863 UPDATE_COEF(0x4a, 1<<8, 0),
4864 UPDATE_COEFEX(0x57, 0x05, 1<<14, 0),
4865 UPDATE_COEF(0x63, 3<<14, 3<<14),
4866 UPDATE_COEF(0x4a, 3<<4, 2<<4),
4867 UPDATE_COEF(0x4a, 3<<10, 3<<10),
4868 UPDATE_COEF(0x45, 0x3f<<10, 0x34<<10),
4869 UPDATE_COEF(0x4a, 3<<10, 0),
4877 WRITE_COEF(0x1b, 0x0c0b), /* LDO and MISC control */ in alc_headset_mode_unplugged()
4878 WRITE_COEF(0x45, 0xd089), /* UAJ function set to menual mode */ in alc_headset_mode_unplugged()
4879 UPDATE_COEFEX(0x57, 0x05, 1<<14, 0), /* Direct Drive HP Amp control(Set to verb control)*/ in alc_headset_mode_unplugged()
4880 WRITE_COEF(0x06, 0x6104), /* Set MIC2 Vref gate with HP */ in alc_headset_mode_unplugged()
4881 WRITE_COEFEX(0x57, 0x03, 0x8aa6), /* Direct Drive HP Amp control */ in alc_headset_mode_unplugged()
4885 WRITE_COEF(0x1b, 0x0c4b), /* LDO and MISC control */ in alc_headset_mode_unplugged()
4886 WRITE_COEF(0x45, 0xd089), /* UAJ function set to menual mode */ in alc_headset_mode_unplugged()
4887 WRITE_COEF(0x06, 0x6104), /* Set MIC2 Vref gate with HP */ in alc_headset_mode_unplugged()
4888 WRITE_COEFEX(0x57, 0x03, 0x09a3), /* Direct Drive HP Amp control */ in alc_headset_mode_unplugged()
4889 UPDATE_COEFEX(0x57, 0x05, 1<<14, 0), /* Direct Drive HP Amp control(Set to verb control)*/ in alc_headset_mode_unplugged()
4893 WRITE_COEF(0x1b, 0x0c0b), in alc_headset_mode_unplugged()
4894 WRITE_COEF(0x45, 0xc429), in alc_headset_mode_unplugged()
4895 UPDATE_COEF(0x35, 0x4000, 0), in alc_headset_mode_unplugged()
4896 WRITE_COEF(0x06, 0x2104), in alc_headset_mode_unplugged()
4897 WRITE_COEF(0x1a, 0x0001), in alc_headset_mode_unplugged()
4898 WRITE_COEF(0x26, 0x0004), in alc_headset_mode_unplugged()
4899 WRITE_COEF(0x32, 0x42a3), in alc_headset_mode_unplugged()
4903 UPDATE_COEF(0x4f, 0xfcc0, 0xc400), in alc_headset_mode_unplugged()
4904 UPDATE_COEF(0x50, 0x2000, 0x2000), in alc_headset_mode_unplugged()
4905 UPDATE_COEF(0x56, 0x0006, 0x0006), in alc_headset_mode_unplugged()
4906 UPDATE_COEF(0x66, 0x0008, 0), in alc_headset_mode_unplugged()
4907 UPDATE_COEF(0x67, 0x2000, 0), in alc_headset_mode_unplugged()
4911 UPDATE_COEF(0x19, 0x1300, 0x0300), in alc_headset_mode_unplugged()
4915 WRITE_COEF(0x76, 0x000e), in alc_headset_mode_unplugged()
4916 WRITE_COEF(0x6c, 0x2400), in alc_headset_mode_unplugged()
4917 WRITE_COEF(0x18, 0x7308), in alc_headset_mode_unplugged()
4918 WRITE_COEF(0x6b, 0xc429), in alc_headset_mode_unplugged()
4922 UPDATE_COEF(0x10, 7<<8, 6<<8), /* SET Line1 JD to 0 */ in alc_headset_mode_unplugged()
4923 UPDATE_COEFEX(0x57, 0x05, 1<<15|1<<13, 0x0), /* SET charge pump by verb */ in alc_headset_mode_unplugged()
4924 UPDATE_COEFEX(0x57, 0x03, 1<<10, 1<<10), /* SET EN_OSW to 1 */ in alc_headset_mode_unplugged()
4925 UPDATE_COEF(0x1a, 1<<3, 1<<3), /* Combo JD gating with LINE1-VREFO */ in alc_headset_mode_unplugged()
4926 WRITE_COEF(0x45, 0xc429), /* Set to TRS type */ in alc_headset_mode_unplugged()
4927 UPDATE_COEF(0x4a, 0x000f, 0x000e), /* Combo Jack auto detect */ in alc_headset_mode_unplugged()
4931 WRITE_COEF(0x15, 0x0d40), in alc_headset_mode_unplugged()
4932 WRITE_COEF(0xb7, 0x802b), in alc_headset_mode_unplugged()
4936 UPDATE_COEF(0x63, 3<<14, 0), in alc_headset_mode_unplugged()
4940 UPDATE_COEF(0x4a, 0x0100, 0), in alc_headset_mode_unplugged()
4941 UPDATE_COEFEX(0x57, 0x05, 0x4000, 0), in alc_headset_mode_unplugged()
4942 UPDATE_COEF(0x6b, 0xf000, 0x5000), in alc_headset_mode_unplugged()
4943 UPDATE_COEF(0x4a, 0x0010, 0), in alc_headset_mode_unplugged()
4944 UPDATE_COEF(0x4a, 0x0c00, 0x0c00), in alc_headset_mode_unplugged()
4945 WRITE_COEF(0x45, 0x5289), in alc_headset_mode_unplugged()
4946 UPDATE_COEF(0x4a, 0x0c00, 0), in alc_headset_mode_unplugged()
4951 alc_update_coef_idx(codec, 0x45, 0xf<<12 | 1<<10, 5<<12); in alc_headset_mode_unplugged()
4956 case 0x10ec0255: in alc_headset_mode_unplugged()
4959 case 0x10ec0230: in alc_headset_mode_unplugged()
4960 case 0x10ec0236: in alc_headset_mode_unplugged()
4961 case 0x10ec0256: in alc_headset_mode_unplugged()
4962 case 0x19e58326: in alc_headset_mode_unplugged()
4965 case 0x10ec0234: in alc_headset_mode_unplugged()
4966 case 0x10ec0274: in alc_headset_mode_unplugged()
4967 case 0x10ec0294: in alc_headset_mode_unplugged()
4970 case 0x10ec0233: in alc_headset_mode_unplugged()
4971 case 0x10ec0283: in alc_headset_mode_unplugged()
4974 case 0x10ec0286: in alc_headset_mode_unplugged()
4975 case 0x10ec0288: in alc_headset_mode_unplugged()
4978 case 0x10ec0298: in alc_headset_mode_unplugged()
4982 case 0x10ec0292: in alc_headset_mode_unplugged()
4985 case 0x10ec0293: in alc_headset_mode_unplugged()
4988 case 0x10ec0668: in alc_headset_mode_unplugged()
4991 case 0x10ec0215: in alc_headset_mode_unplugged()
4992 case 0x10ec0225: in alc_headset_mode_unplugged()
4993 case 0x10ec0285: in alc_headset_mode_unplugged()
4994 case 0x10ec0295: in alc_headset_mode_unplugged()
4995 case 0x10ec0289: in alc_headset_mode_unplugged()
4996 case 0x10ec0299: in alc_headset_mode_unplugged()
5000 case 0x10ec0867: in alc_headset_mode_unplugged()
5001 alc_update_coefex_idx(codec, 0x57, 0x5, 1<<14, 0); in alc_headset_mode_unplugged()
5012 WRITE_COEFEX(0x57, 0x03, 0x8aa6), in alc_headset_mode_mic_in()
5013 WRITE_COEF(0x06, 0x6100), /* Set MIC2 Vref gate to normal */ in alc_headset_mode_mic_in()
5017 UPDATE_COEFEX(0x57, 0x05, 1<<14, 1<<14), /* Direct Drive HP Amp control(Set to verb control)*/ in alc_headset_mode_mic_in()
5018 WRITE_COEFEX(0x57, 0x03, 0x09a3), in alc_headset_mode_mic_in()
5019 WRITE_COEF(0x06, 0x6100), /* Set MIC2 Vref gate to normal */ in alc_headset_mode_mic_in()
5023 UPDATE_COEF(0x35, 0, 1<<14), in alc_headset_mode_mic_in()
5024 WRITE_COEF(0x06, 0x2100), in alc_headset_mode_mic_in()
5025 WRITE_COEF(0x1a, 0x0021), in alc_headset_mode_mic_in()
5026 WRITE_COEF(0x26, 0x008c), in alc_headset_mode_mic_in()
5030 UPDATE_COEF(0x4f, 0x00c0, 0), in alc_headset_mode_mic_in()
5031 UPDATE_COEF(0x50, 0x2000, 0), in alc_headset_mode_mic_in()
5032 UPDATE_COEF(0x56, 0x0006, 0), in alc_headset_mode_mic_in()
5033 UPDATE_COEF(0x4f, 0xfcc0, 0xc400), in alc_headset_mode_mic_in()
5034 UPDATE_COEF(0x66, 0x0008, 0x0008), in alc_headset_mode_mic_in()
5035 UPDATE_COEF(0x67, 0x2000, 0x2000), in alc_headset_mode_mic_in()
5039 WRITE_COEF(0x19, 0xa208), in alc_headset_mode_mic_in()
5040 WRITE_COEF(0x2e, 0xacf0), in alc_headset_mode_mic_in()
5044 UPDATE_COEFEX(0x57, 0x05, 0, 1<<15|1<<13), /* SET charge pump by verb */ in alc_headset_mode_mic_in()
5045 UPDATE_COEFEX(0x57, 0x03, 1<<10, 0), /* SET EN_OSW to 0 */ in alc_headset_mode_mic_in()
5046 UPDATE_COEF(0x1a, 1<<3, 0), /* Combo JD gating without LINE1-VREFO */ in alc_headset_mode_mic_in()
5050 WRITE_COEF(0xb7, 0x802b), in alc_headset_mode_mic_in()
5051 WRITE_COEF(0xb5, 0x1040), in alc_headset_mode_mic_in()
5052 UPDATE_COEF(0xc3, 0, 1<<12), in alc_headset_mode_mic_in()
5056 UPDATE_COEFEX(0x57, 0x05, 1<<14, 1<<14), in alc_headset_mode_mic_in()
5057 UPDATE_COEF(0x4a, 3<<4, 2<<4), in alc_headset_mode_mic_in()
5058 UPDATE_COEF(0x63, 3<<14, 0), in alc_headset_mode_mic_in()
5062 UPDATE_COEFEX(0x57, 0x05, 0x4000, 0x4000), in alc_headset_mode_mic_in()
5063 UPDATE_COEF(0x4a, 0x0010, 0), in alc_headset_mode_mic_in()
5064 UPDATE_COEF(0x6b, 0xf000, 0), in alc_headset_mode_mic_in()
5069 case 0x10ec0255: in alc_headset_mode_mic_in()
5070 alc_write_coef_idx(codec, 0x45, 0xc489); in alc_headset_mode_mic_in()
5071 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5075 case 0x10ec0230: in alc_headset_mode_mic_in()
5076 case 0x10ec0236: in alc_headset_mode_mic_in()
5077 case 0x10ec0256: in alc_headset_mode_mic_in()
5078 case 0x19e58326: in alc_headset_mode_mic_in()
5079 alc_write_coef_idx(codec, 0x45, 0xc489); in alc_headset_mode_mic_in()
5080 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5084 case 0x10ec0234: in alc_headset_mode_mic_in()
5085 case 0x10ec0274: in alc_headset_mode_mic_in()
5086 case 0x10ec0294: in alc_headset_mode_mic_in()
5087 alc_write_coef_idx(codec, 0x45, 0x4689); in alc_headset_mode_mic_in()
5088 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5092 case 0x10ec0233: in alc_headset_mode_mic_in()
5093 case 0x10ec0283: in alc_headset_mode_mic_in()
5094 alc_write_coef_idx(codec, 0x45, 0xc429); in alc_headset_mode_mic_in()
5095 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5099 case 0x10ec0286: in alc_headset_mode_mic_in()
5100 case 0x10ec0288: in alc_headset_mode_mic_in()
5101 case 0x10ec0298: in alc_headset_mode_mic_in()
5102 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5106 case 0x10ec0292: in alc_headset_mode_mic_in()
5107 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5110 case 0x10ec0293: in alc_headset_mode_mic_in()
5112 alc_write_coef_idx(codec, 0x45, 0xc429); in alc_headset_mode_mic_in()
5113 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5117 case 0x10ec0867: in alc_headset_mode_mic_in()
5118 alc_update_coefex_idx(codec, 0x57, 0x5, 0, 1<<14); in alc_headset_mode_mic_in()
5120 case 0x10ec0221: in alc_headset_mode_mic_in()
5121 case 0x10ec0662: in alc_headset_mode_mic_in()
5122 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5125 case 0x10ec0668: in alc_headset_mode_mic_in()
5126 alc_write_coef_idx(codec, 0x11, 0x0001); in alc_headset_mode_mic_in()
5127 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5131 case 0x10ec0215: in alc_headset_mode_mic_in()
5132 case 0x10ec0225: in alc_headset_mode_mic_in()
5133 case 0x10ec0285: in alc_headset_mode_mic_in()
5134 case 0x10ec0295: in alc_headset_mode_mic_in()
5135 case 0x10ec0289: in alc_headset_mode_mic_in()
5136 case 0x10ec0299: in alc_headset_mode_mic_in()
5138 alc_update_coef_idx(codec, 0x45, 0x3f<<10, 0x31<<10); in alc_headset_mode_mic_in()
5139 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5150 UPDATE_COEF(0x45, 0x3f<<10, 0x30<<10), in alc_headset_mode_default()
5151 UPDATE_COEF(0x45, 0x3f<<10, 0x31<<10), in alc_headset_mode_default()
5152 UPDATE_COEF(0x49, 3<<8, 0<<8), in alc_headset_mode_default()
5153 UPDATE_COEF(0x4a, 3<<4, 3<<4), in alc_headset_mode_default()
5154 UPDATE_COEF(0x63, 3<<14, 0), in alc_headset_mode_default()
5155 UPDATE_COEF(0x67, 0xf000, 0x3000), in alc_headset_mode_default()
5159 WRITE_COEF(0x45, 0xc089), in alc_headset_mode_default()
5160 WRITE_COEF(0x45, 0xc489), in alc_headset_mode_default()
5161 WRITE_COEFEX(0x57, 0x03, 0x8ea6), in alc_headset_mode_default()
5162 WRITE_COEF(0x49, 0x0049), in alc_headset_mode_default()
5166 WRITE_COEF(0x45, 0xc489), in alc_headset_mode_default()
5167 WRITE_COEFEX(0x57, 0x03, 0x0da3), in alc_headset_mode_default()
5168 WRITE_COEF(0x49, 0x0049), in alc_headset_mode_default()
5169 UPDATE_COEFEX(0x57, 0x05, 1<<14, 0), /* Direct Drive HP Amp control(Set to verb control)*/ in alc_headset_mode_default()
5170 WRITE_COEF(0x06, 0x6100), in alc_headset_mode_default()
5174 WRITE_COEF(0x06, 0x2100), in alc_headset_mode_default()
5175 WRITE_COEF(0x32, 0x4ea3), in alc_headset_mode_default()
5179 UPDATE_COEF(0x4f, 0xfcc0, 0xc400), /* Set to TRS type */ in alc_headset_mode_default()
5180 UPDATE_COEF(0x50, 0x2000, 0x2000), in alc_headset_mode_default()
5181 UPDATE_COEF(0x56, 0x0006, 0x0006), in alc_headset_mode_default()
5182 UPDATE_COEF(0x66, 0x0008, 0), in alc_headset_mode_default()
5183 UPDATE_COEF(0x67, 0x2000, 0), in alc_headset_mode_default()
5187 WRITE_COEF(0x76, 0x000e), in alc_headset_mode_default()
5188 WRITE_COEF(0x6c, 0x2400), in alc_headset_mode_default()
5189 WRITE_COEF(0x6b, 0xc429), in alc_headset_mode_default()
5190 WRITE_COEF(0x18, 0x7308), in alc_headset_mode_default()
5194 UPDATE_COEF(0x4a, 0x000f, 0x000e), /* Combo Jack auto detect */ in alc_headset_mode_default()
5195 WRITE_COEF(0x45, 0xC429), /* Set to TRS type */ in alc_headset_mode_default()
5196 UPDATE_COEF(0x1a, 1<<3, 0), /* Combo JD gating without LINE1-VREFO */ in alc_headset_mode_default()
5200 WRITE_COEF(0x11, 0x0041), in alc_headset_mode_default()
5201 WRITE_COEF(0x15, 0x0d40), in alc_headset_mode_default()
5202 WRITE_COEF(0xb7, 0x802b), in alc_headset_mode_default()
5206 WRITE_COEF(0x45, 0x4289), in alc_headset_mode_default()
5207 UPDATE_COEF(0x4a, 0x0010, 0x0010), in alc_headset_mode_default()
5208 UPDATE_COEF(0x6b, 0x0f00, 0), in alc_headset_mode_default()
5209 UPDATE_COEF(0x49, 0x0300, 0x0300), in alc_headset_mode_default()
5214 case 0x10ec0215: in alc_headset_mode_default()
5215 case 0x10ec0225: in alc_headset_mode_default()
5216 case 0x10ec0285: in alc_headset_mode_default()
5217 case 0x10ec0295: in alc_headset_mode_default()
5218 case 0x10ec0289: in alc_headset_mode_default()
5219 case 0x10ec0299: in alc_headset_mode_default()
5223 case 0x10ec0255: in alc_headset_mode_default()
5226 case 0x10ec0230: in alc_headset_mode_default()
5227 case 0x10ec0236: in alc_headset_mode_default()
5228 case 0x10ec0256: in alc_headset_mode_default()
5229 case 0x19e58326: in alc_headset_mode_default()
5230 alc_write_coef_idx(codec, 0x1b, 0x0e4b); in alc_headset_mode_default()
5231 alc_write_coef_idx(codec, 0x45, 0xc089); in alc_headset_mode_default()
5235 case 0x10ec0234: in alc_headset_mode_default()
5236 case 0x10ec0274: in alc_headset_mode_default()
5237 case 0x10ec0294: in alc_headset_mode_default()
5240 case 0x10ec0233: in alc_headset_mode_default()
5241 case 0x10ec0283: in alc_headset_mode_default()
5244 case 0x10ec0286: in alc_headset_mode_default()
5245 case 0x10ec0288: in alc_headset_mode_default()
5246 case 0x10ec0298: in alc_headset_mode_default()
5249 case 0x10ec0292: in alc_headset_mode_default()
5252 case 0x10ec0293: in alc_headset_mode_default()
5255 case 0x10ec0668: in alc_headset_mode_default()
5258 case 0x10ec0867: in alc_headset_mode_default()
5259 alc_update_coefex_idx(codec, 0x57, 0x5, 1<<14, 0); in alc_headset_mode_default()
5271 WRITE_COEF(0x45, 0xd489), /* Set to CTIA type */ in alc_headset_mode_ctia()
5272 WRITE_COEF(0x1b, 0x0c2b), in alc_headset_mode_ctia()
5273 WRITE_COEFEX(0x57, 0x03, 0x8ea6), in alc_headset_mode_ctia()
5277 WRITE_COEF(0x45, 0xd489), /* Set to CTIA type */ in alc_headset_mode_ctia()
5278 WRITE_COEF(0x1b, 0x0e6b), in alc_headset_mode_ctia()
5282 WRITE_COEF(0x45, 0xd429), in alc_headset_mode_ctia()
5283 WRITE_COEF(0x1b, 0x0c2b), in alc_headset_mode_ctia()
5284 WRITE_COEF(0x32, 0x4ea3), in alc_headset_mode_ctia()
5288 UPDATE_COEF(0x50, 0x2000, 0x2000), in alc_headset_mode_ctia()
5289 UPDATE_COEF(0x56, 0x0006, 0x0006), in alc_headset_mode_ctia()
5290 UPDATE_COEF(0x66, 0x0008, 0), in alc_headset_mode_ctia()
5291 UPDATE_COEF(0x67, 0x2000, 0), in alc_headset_mode_ctia()
5295 WRITE_COEF(0x6b, 0xd429), in alc_headset_mode_ctia()
5296 WRITE_COEF(0x76, 0x0008), in alc_headset_mode_ctia()
5297 WRITE_COEF(0x18, 0x7388), in alc_headset_mode_ctia()
5301 WRITE_COEF(0x45, 0xd429), /* Set to ctia type */ in alc_headset_mode_ctia()
5302 UPDATE_COEF(0x10, 7<<8, 7<<8), /* SET Line1 JD to 1 */ in alc_headset_mode_ctia()
5306 WRITE_COEF(0x11, 0x0001), in alc_headset_mode_ctia()
5307 WRITE_COEF(0x15, 0x0d60), in alc_headset_mode_ctia()
5308 WRITE_COEF(0xc3, 0x0000), in alc_headset_mode_ctia()
5312 UPDATE_COEF(0x45, 0x3f<<10, 0x35<<10), in alc_headset_mode_ctia()
5313 UPDATE_COEF(0x63, 3<<14, 2<<14), in alc_headset_mode_ctia()
5317 UPDATE_COEF(0x45, 0x3f<<10, 0x35<<10), in alc_headset_mode_ctia()
5318 UPDATE_COEF(0x63, 3<<14, 1<<14), in alc_headset_mode_ctia()
5323 case 0x10ec0255: in alc_headset_mode_ctia()
5326 case 0x10ec0230: in alc_headset_mode_ctia()
5327 case 0x10ec0236: in alc_headset_mode_ctia()
5328 case 0x10ec0256: in alc_headset_mode_ctia()
5329 case 0x19e58326: in alc_headset_mode_ctia()
5332 case 0x10ec0234: in alc_headset_mode_ctia()
5333 case 0x10ec0274: in alc_headset_mode_ctia()
5334 case 0x10ec0294: in alc_headset_mode_ctia()
5335 alc_write_coef_idx(codec, 0x45, 0xd689); in alc_headset_mode_ctia()
5337 case 0x10ec0233: in alc_headset_mode_ctia()
5338 case 0x10ec0283: in alc_headset_mode_ctia()
5341 case 0x10ec0298: in alc_headset_mode_ctia()
5342 val = alc_read_coef_idx(codec, 0x50); in alc_headset_mode_ctia()
5344 alc_update_coef_idx(codec, 0x8e, 0x0070, 0x0020); in alc_headset_mode_ctia()
5345 alc_update_coef_idx(codec, 0x4f, 0xfcc0, 0xd400); in alc_headset_mode_ctia()
5348 alc_update_coef_idx(codec, 0x8e, 0x0070, 0x0010); in alc_headset_mode_ctia()
5349 alc_update_coef_idx(codec, 0x4f, 0xfcc0, 0xd400); in alc_headset_mode_ctia()
5353 case 0x10ec0286: in alc_headset_mode_ctia()
5354 case 0x10ec0288: in alc_headset_mode_ctia()
5355 alc_update_coef_idx(codec, 0x4f, 0xfcc0, 0xd400); in alc_headset_mode_ctia()
5359 case 0x10ec0292: in alc_headset_mode_ctia()
5362 case 0x10ec0293: in alc_headset_mode_ctia()
5365 case 0x10ec0668: in alc_headset_mode_ctia()
5368 case 0x10ec0215: in alc_headset_mode_ctia()
5369 case 0x10ec0225: in alc_headset_mode_ctia()
5370 case 0x10ec0285: in alc_headset_mode_ctia()
5371 case 0x10ec0295: in alc_headset_mode_ctia()
5372 case 0x10ec0289: in alc_headset_mode_ctia()
5373 case 0x10ec0299: in alc_headset_mode_ctia()
5374 val = alc_read_coef_idx(codec, 0x45); in alc_headset_mode_ctia()
5380 case 0x10ec0867: in alc_headset_mode_ctia()
5381 alc_update_coefex_idx(codec, 0x57, 0x5, 1<<14, 0); in alc_headset_mode_ctia()
5391 WRITE_COEF(0x45, 0xe489), /* Set to OMTP Type */ in alc_headset_mode_omtp()
5392 WRITE_COEF(0x1b, 0x0c2b), in alc_headset_mode_omtp()
5393 WRITE_COEFEX(0x57, 0x03, 0x8ea6), in alc_headset_mode_omtp()
5397 WRITE_COEF(0x45, 0xe489), /* Set to OMTP Type */ in alc_headset_mode_omtp()
5398 WRITE_COEF(0x1b, 0x0e6b), in alc_headset_mode_omtp()
5402 WRITE_COEF(0x45, 0xe429), in alc_headset_mode_omtp()
5403 WRITE_COEF(0x1b, 0x0c2b), in alc_headset_mode_omtp()
5404 WRITE_COEF(0x32, 0x4ea3), in alc_headset_mode_omtp()
5408 UPDATE_COEF(0x50, 0x2000, 0x2000), in alc_headset_mode_omtp()
5409 UPDATE_COEF(0x56, 0x0006, 0x0006), in alc_headset_mode_omtp()
5410 UPDATE_COEF(0x66, 0x0008, 0), in alc_headset_mode_omtp()
5411 UPDATE_COEF(0x67, 0x2000, 0), in alc_headset_mode_omtp()
5415 WRITE_COEF(0x6b, 0xe429), in alc_headset_mode_omtp()
5416 WRITE_COEF(0x76, 0x0008), in alc_headset_mode_omtp()
5417 WRITE_COEF(0x18, 0x7388), in alc_headset_mode_omtp()
5421 WRITE_COEF(0x45, 0xe429), /* Set to omtp type */ in alc_headset_mode_omtp()
5422 UPDATE_COEF(0x10, 7<<8, 7<<8), /* SET Line1 JD to 1 */ in alc_headset_mode_omtp()
5426 WRITE_COEF(0x11, 0x0001), in alc_headset_mode_omtp()
5427 WRITE_COEF(0x15, 0x0d50), in alc_headset_mode_omtp()
5428 WRITE_COEF(0xc3, 0x0000), in alc_headset_mode_omtp()
5432 UPDATE_COEF(0x45, 0x3f<<10, 0x39<<10), in alc_headset_mode_omtp()
5433 UPDATE_COEF(0x63, 3<<14, 2<<14), in alc_headset_mode_omtp()
5438 case 0x10ec0255: in alc_headset_mode_omtp()
5441 case 0x10ec0230: in alc_headset_mode_omtp()
5442 case 0x10ec0236: in alc_headset_mode_omtp()
5443 case 0x10ec0256: in alc_headset_mode_omtp()
5444 case 0x19e58326: in alc_headset_mode_omtp()
5447 case 0x10ec0234: in alc_headset_mode_omtp()
5448 case 0x10ec0274: in alc_headset_mode_omtp()
5449 case 0x10ec0294: in alc_headset_mode_omtp()
5450 alc_write_coef_idx(codec, 0x45, 0xe689); in alc_headset_mode_omtp()
5452 case 0x10ec0233: in alc_headset_mode_omtp()
5453 case 0x10ec0283: in alc_headset_mode_omtp()
5456 case 0x10ec0298: in alc_headset_mode_omtp()
5457 alc_update_coef_idx(codec, 0x8e, 0x0070, 0x0010);/* Headset output enable */ in alc_headset_mode_omtp()
5458 alc_update_coef_idx(codec, 0x4f, 0xfcc0, 0xe400); in alc_headset_mode_omtp()
5461 case 0x10ec0286: in alc_headset_mode_omtp()
5462 case 0x10ec0288: in alc_headset_mode_omtp()
5463 alc_update_coef_idx(codec, 0x4f, 0xfcc0, 0xe400); in alc_headset_mode_omtp()
5467 case 0x10ec0292: in alc_headset_mode_omtp()
5470 case 0x10ec0293: in alc_headset_mode_omtp()
5473 case 0x10ec0668: in alc_headset_mode_omtp()
5476 case 0x10ec0215: in alc_headset_mode_omtp()
5477 case 0x10ec0225: in alc_headset_mode_omtp()
5478 case 0x10ec0285: in alc_headset_mode_omtp()
5479 case 0x10ec0295: in alc_headset_mode_omtp()
5480 case 0x10ec0289: in alc_headset_mode_omtp()
5481 case 0x10ec0299: in alc_headset_mode_omtp()
5494 WRITE_COEF(0x45, 0xd089), /* combo jack auto switch control(Check type)*/ in alc_determine_headset_type()
5495 WRITE_COEF(0x49, 0x0149), /* combo jack auto switch control(Vref in alc_determine_headset_type()
5500 UPDATE_COEF(0x4f, 0xfcc0, 0xd400), /* Check Type */ in alc_determine_headset_type()
5504 UPDATE_COEF(0x50, 0x2000, 0x2000), in alc_determine_headset_type()
5505 UPDATE_COEF(0x56, 0x0006, 0x0006), in alc_determine_headset_type()
5506 UPDATE_COEF(0x66, 0x0008, 0), in alc_determine_headset_type()
5507 UPDATE_COEF(0x67, 0x2000, 0), in alc_determine_headset_type()
5508 UPDATE_COEF(0x19, 0x1300, 0x1300), in alc_determine_headset_type()
5512 UPDATE_COEF(0x4a, 0x000f, 0x0008), /* Combo Jack auto detect */ in alc_determine_headset_type()
5513 WRITE_COEF(0x45, 0xD429), /* Set to ctia type */ in alc_determine_headset_type()
5517 WRITE_COEF(0x11, 0x0001), in alc_determine_headset_type()
5518 WRITE_COEF(0xb7, 0x802b), in alc_determine_headset_type()
5519 WRITE_COEF(0x15, 0x0d60), in alc_determine_headset_type()
5520 WRITE_COEF(0xc3, 0x0c00), in alc_determine_headset_type()
5524 UPDATE_COEF(0x4a, 0x0010, 0), in alc_determine_headset_type()
5525 UPDATE_COEF(0x4a, 0x8000, 0), in alc_determine_headset_type()
5526 WRITE_COEF(0x45, 0xd289), in alc_determine_headset_type()
5527 UPDATE_COEF(0x49, 0x0300, 0x0300), in alc_determine_headset_type()
5532 alc_update_coef_idx(codec, 0x45, 0xf<<12 | 1<<10, 5<<12); in alc_determine_headset_type()
5537 case 0x10ec0255: in alc_determine_headset_type()
5540 val = alc_read_coef_idx(codec, 0x46); in alc_determine_headset_type()
5541 is_ctia = (val & 0x0070) == 0x0070; in alc_determine_headset_type()
5543 case 0x10ec0230: in alc_determine_headset_type()
5544 case 0x10ec0236: in alc_determine_headset_type()
5545 case 0x10ec0256: in alc_determine_headset_type()
5546 case 0x19e58326: in alc_determine_headset_type()
5547 alc_write_coef_idx(codec, 0x1b, 0x0e4b); in alc_determine_headset_type()
5548 alc_write_coef_idx(codec, 0x06, 0x6104); in alc_determine_headset_type()
5549 alc_write_coefex_idx(codec, 0x57, 0x3, 0x09a3); in alc_determine_headset_type()
5551 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5554 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5555 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); in alc_determine_headset_type()
5559 val = alc_read_coef_idx(codec, 0x46); in alc_determine_headset_type()
5560 is_ctia = (val & 0x0070) == 0x0070; in alc_determine_headset_type()
5562 alc_write_coefex_idx(codec, 0x57, 0x3, 0x0da3); in alc_determine_headset_type()
5563 alc_update_coefex_idx(codec, 0x57, 0x5, 1<<14, 0); in alc_determine_headset_type()
5565 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5568 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5571 case 0x10ec0234: in alc_determine_headset_type()
5572 case 0x10ec0274: in alc_determine_headset_type()
5573 case 0x10ec0294: in alc_determine_headset_type()
5576 val = alc_read_coef_idx(codec, 0x46); in alc_determine_headset_type()
5577 is_ctia = (val & 0x00f0) == 0x00f0; in alc_determine_headset_type()
5579 case 0x10ec0233: in alc_determine_headset_type()
5580 case 0x10ec0283: in alc_determine_headset_type()
5581 alc_write_coef_idx(codec, 0x45, 0xd029); in alc_determine_headset_type()
5583 val = alc_read_coef_idx(codec, 0x46); in alc_determine_headset_type()
5584 is_ctia = (val & 0x0070) == 0x0070; in alc_determine_headset_type()
5586 case 0x10ec0298: in alc_determine_headset_type()
5587 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5590 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5591 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); in alc_determine_headset_type()
5594 val = alc_read_coef_idx(codec, 0x50); in alc_determine_headset_type()
5596 alc_update_coef_idx(codec, 0x8e, 0x0070, 0x0020); in alc_determine_headset_type()
5599 val = alc_read_coef_idx(codec, 0x50); in alc_determine_headset_type()
5600 is_ctia = (val & 0x0070) == 0x0070; in alc_determine_headset_type()
5602 alc_update_coef_idx(codec, 0x8e, 0x0070, 0x0010); in alc_determine_headset_type()
5605 val = alc_read_coef_idx(codec, 0x50); in alc_determine_headset_type()
5606 is_ctia = (val & 0x0070) == 0x0070; in alc_determine_headset_type()
5609 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5612 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5615 case 0x10ec0286: in alc_determine_headset_type()
5616 case 0x10ec0288: in alc_determine_headset_type()
5619 val = alc_read_coef_idx(codec, 0x50); in alc_determine_headset_type()
5620 is_ctia = (val & 0x0070) == 0x0070; in alc_determine_headset_type()
5622 case 0x10ec0292: in alc_determine_headset_type()
5623 alc_write_coef_idx(codec, 0x6b, 0xd429); in alc_determine_headset_type()
5625 val = alc_read_coef_idx(codec, 0x6c); in alc_determine_headset_type()
5626 is_ctia = (val & 0x001c) == 0x001c; in alc_determine_headset_type()
5628 case 0x10ec0293: in alc_determine_headset_type()
5631 val = alc_read_coef_idx(codec, 0x46); in alc_determine_headset_type()
5632 is_ctia = (val & 0x0070) == 0x0070; in alc_determine_headset_type()
5634 case 0x10ec0668: in alc_determine_headset_type()
5637 val = alc_read_coef_idx(codec, 0xbe); in alc_determine_headset_type()
5638 is_ctia = (val & 0x1c02) == 0x1c02; in alc_determine_headset_type()
5640 case 0x10ec0215: in alc_determine_headset_type()
5641 case 0x10ec0225: in alc_determine_headset_type()
5642 case 0x10ec0285: in alc_determine_headset_type()
5643 case 0x10ec0295: in alc_determine_headset_type()
5644 case 0x10ec0289: in alc_determine_headset_type()
5645 case 0x10ec0299: in alc_determine_headset_type()
5646 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5649 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5650 AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0); in alc_determine_headset_type()
5653 alc_update_coef_idx(codec, 0x67, 0xf000, 0x1000); in alc_determine_headset_type()
5654 val = alc_read_coef_idx(codec, 0x45); in alc_determine_headset_type()
5656 alc_update_coef_idx(codec, 0x45, 0x3f<<10, 0x34<<10); in alc_determine_headset_type()
5657 alc_update_coef_idx(codec, 0x49, 3<<8, 2<<8); in alc_determine_headset_type()
5659 val = alc_read_coef_idx(codec, 0x46); in alc_determine_headset_type()
5660 is_ctia = (val & 0x00f0) == 0x00f0; in alc_determine_headset_type()
5662 alc_update_coef_idx(codec, 0x45, 0x3f<<10, 0x34<<10); in alc_determine_headset_type()
5663 alc_update_coef_idx(codec, 0x49, 3<<8, 1<<8); in alc_determine_headset_type()
5665 val = alc_read_coef_idx(codec, 0x46); in alc_determine_headset_type()
5666 is_ctia = (val & 0x00f0) == 0x00f0; in alc_determine_headset_type()
5668 alc_update_coef_idx(codec, 0x4a, 7<<6, 7<<6); in alc_determine_headset_type()
5669 alc_update_coef_idx(codec, 0x4a, 3<<4, 3<<4); in alc_determine_headset_type()
5670 alc_update_coef_idx(codec, 0x67, 0xf000, 0x3000); in alc_determine_headset_type()
5672 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5675 snd_hda_codec_write(codec, 0x21, 0, in alc_determine_headset_type()
5678 case 0x10ec0867: in alc_determine_headset_type()
5692 hda_nid_t mux_pin = spec->gen.imux_pins[spec->gen.cur_mux[0]]; in alc_update_headset_mode()
5769 for (i = 0; i < cfg->num_inputs; i++) { in alc_probe_headset_mode()
5819 WRITE_COEF(0x1b, 0x880b), in alc255_set_default_jack_type()
5820 WRITE_COEF(0x45, 0xd089), in alc255_set_default_jack_type()
5821 WRITE_COEF(0x1b, 0x080b), in alc255_set_default_jack_type()
5822 WRITE_COEF(0x46, 0x0004), in alc255_set_default_jack_type()
5823 WRITE_COEF(0x1b, 0x0c0b), in alc255_set_default_jack_type()
5827 WRITE_COEF(0x1b, 0x884b), in alc255_set_default_jack_type()
5828 WRITE_COEF(0x45, 0xd089), in alc255_set_default_jack_type()
5829 WRITE_COEF(0x1b, 0x084b), in alc255_set_default_jack_type()
5830 WRITE_COEF(0x46, 0x0004), in alc255_set_default_jack_type()
5831 WRITE_COEF(0x1b, 0x0c4b), in alc255_set_default_jack_type()
5835 case 0x10ec0255: in alc255_set_default_jack_type()
5838 case 0x10ec0230: in alc255_set_default_jack_type()
5839 case 0x10ec0236: in alc255_set_default_jack_type()
5840 case 0x10ec0256: in alc255_set_default_jack_type()
5841 case 0x19e58326: in alc255_set_default_jack_type()
5876 alc_update_gpio_data(codec, 0x40, spec->gen.hp_jack_present); in alc288_update_headset_jack_cb()
5886 spec->gpio_mask |= 0x40; in alc_fixup_headset_mode_dell_alc288()
5887 spec->gpio_dir |= 0x40; in alc_fixup_headset_mode_dell_alc288()
5916 spec->gen.mixer_nid = 0; in alc_fixup_disable_aamix()
5925 { 0x16, 0x21211010 }, /* dock headphone */ in alc_fixup_tpt440_dock()
5926 { 0x19, 0x21a11010 }, /* dock mic */ in alc_fixup_tpt440_dock()
5933 codec->power_save_node = 0; /* avoid click noises */ in alc_fixup_tpt440_dock()
5942 { 0x17, 0x21211010 }, /* dock headphone */ in alc_fixup_tpt470_dock()
5943 { 0x19, 0x21a11010 }, /* dock mic */ in alc_fixup_tpt470_dock()
5953 snd_hda_codec_write(codec, 0x17, 0, in alc_fixup_tpt470_dock()
5954 AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, 0); in alc_fixup_tpt470_dock()
5956 snd_hda_codec_write(codec, 0x19, 0, in alc_fixup_tpt470_dock()
5957 AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, 0); in alc_fixup_tpt470_dock()
5964 /* Assure the speaker pin to be coupled with DAC NID 0x03; otherwise in alc_fixup_tpt470_dacs()
5969 0x14, 0x03, 0x17, 0x02, 0x21, 0x02, in alc_fixup_tpt470_dacs()
5970 0 in alc_fixup_tpt470_dacs()
5982 0x17, 0x02, 0x21, 0x03, 0 in alc295_fixup_asus_dacs()
5996 snd_hda_codec_write(codec, hp_pin, 0, in alc_shutup_dell_xps13()
6010 /* mic pin 0x19 must be initialized with Vref Hi-Z, otherwise in alc_fixup_dell_xps13()
6013 snd_hda_codec_set_pin_target(codec, 0x19, PIN_VREFHIZ); in alc_fixup_dell_xps13()
6018 for (i = 0; i < imux->num_items; i++) { in alc_fixup_dell_xps13()
6019 if (spec->gen.imux_pins[i] == 0x12) { in alc_fixup_dell_xps13()
6020 spec->gen.cur_mux[0] = i; in alc_fixup_dell_xps13()
6038 from quirks that guarantee that the headphone is at NID 0x1b.) */ in alc_fixup_headset_mode_alc662()
6039 snd_hda_codec_write(codec, 0x1b, 0, AC_VERB_SET_AMP_GAIN_MUTE, 0x7000); in alc_fixup_headset_mode_alc662()
6040 snd_hda_override_wcaps(codec, 0x1b, get_wcaps(codec, 0x1b) & ~AC_WCAP_IN_AMP); in alc_fixup_headset_mode_alc662()
6049 alc_write_coef_idx(codec, 0xc4, 0x8000); in alc_fixup_headset_mode_alc668()
6050 alc_update_coef_idx(codec, 0xc2, ~0xfe, 0); in alc_fixup_headset_mode_alc668()
6051 snd_hda_set_pin_ctl_cache(codec, 0x18, 0); in alc_fixup_headset_mode_alc668()
6056 /* Returns the nid of the external mic input pin, or 0 if it cannot be found. */
6065 for (i = 0; i < cfg->num_inputs; i++) { in find_ext_mic_pin()
6075 return 0; in find_ext_mic_pin()
6104 Therefore limit the boost to 0 or 1. */ in alc269_fixup_limit_int_mic_boost()
6109 for (i = 0; i < cfg->num_inputs; i++) { in alc269_fixup_limit_int_mic_boost()
6119 (0x00 << AC_AMPCAP_OFFSET_SHIFT) | in alc269_fixup_limit_int_mic_boost()
6120 (0x01 << AC_AMPCAP_NUM_STEPS_SHIFT) | in alc269_fixup_limit_int_mic_boost()
6121 (0x2f << AC_AMPCAP_STEP_SIZE_SHIFT) | in alc269_fixup_limit_int_mic_boost()
6122 (0 << AC_AMPCAP_MUTE_SHIFT)); in alc269_fixup_limit_int_mic_boost()
6135 vref = spec->gen.hp_jack_present ? PIN_VREF80 : 0; in alc283_hp_automute_hook()
6138 snd_hda_codec_write(codec, 0x19, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, in alc283_hp_automute_hook()
6149 snd_hda_override_wcaps(codec, 0x03, 0); in alc283_fixup_chromebook()
6151 spec->gen.mixer_nid = 0; in alc283_fixup_chromebook()
6156 alc_update_coef_idx(codec, 0x06, 0x000c, 0); in alc283_fixup_chromebook()
6158 alc_update_coef_idx(codec, 0x1a, 0, 1 << 4); in alc283_fixup_chromebook()
6175 alc_update_coef_idx(codec, 0x06, 0x000c, 0); in alc283_fixup_sense_combo_jack()
6180 /* mute tablet speaker pin (0x14) via dock plugging in addition */
6185 if (snd_hda_jack_detect(codec, 0x1b)) in asus_tx300_automute()
6186 spec->gen.mute_bits |= (1ULL << 0x14); in asus_tx300_automute()
6194 { 0x1b, 0x21114000 }, /* dock speaker pin */ in alc282_fixup_asus_tx300()
6202 alc_setup_gpio(codec, 0x04); in alc282_fixup_asus_tx300()
6206 snd_hda_jack_detect_enable_callback(codec, 0x1b, in alc282_fixup_asus_tx300()
6228 /* DAC node 0x03 is giving mono output. We therefore want to in alc290_fixup_mono_speakers()
6229 make sure 0x14 (front speaker) and 0x15 (headphones) use the in alc290_fixup_mono_speakers()
6230 stereo DAC, while leaving 0x17 (bass speaker) for node 0x03. */ in alc290_fixup_mono_speakers()
6231 static const hda_nid_t conn1[] = { 0x0c }; in alc290_fixup_mono_speakers()
6232 snd_hda_override_conn_list(codec, 0x14, ARRAY_SIZE(conn1), conn1); in alc290_fixup_mono_speakers()
6233 snd_hda_override_conn_list(codec, 0x15, ARRAY_SIZE(conn1), conn1); in alc290_fixup_mono_speakers()
6241 /* The speaker is routed to the Node 0x06 by a mistake, as a result in alc298_fixup_speaker_volume()
6244 Node 0x02 (Audio Output) -> Node 0x0c (Audio Mixer) -> Node 0x17 ( in alc298_fixup_speaker_volume()
6245 Pin Complex), since Node 0x02 has Amp-out caps, we can adjust in alc298_fixup_speaker_volume()
6248 static const hda_nid_t conn1[] = { 0x0c }; in alc298_fixup_speaker_volume()
6249 snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn1), conn1); in alc298_fixup_speaker_volume()
6253 /* disable DAC3 (0x06) selection on NID 0x17 as it has no volume amp control */
6258 static const hda_nid_t conn[] = { 0x02, 0x03 }; in alc295_fixup_disable_dac3()
6259 snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn), conn); in alc295_fixup_disable_dac3()
6263 /* force NID 0x17 (Bass Speaker) to DAC1 to share it with the main speaker */
6268 static const hda_nid_t conn[] = { 0x02 }; in alc285_fixup_speaker2_to_dac1()
6269 snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn), conn); in alc285_fixup_speaker2_to_dac1()
6280 /* mute_led_polarity is set to 0, so we pass inverted value here */ in alc280_hp_gpio4_automute_hook()
6281 alc_update_gpio_led(codec, 0x10, spec->mute_led_polarity, in alc280_hp_gpio4_automute_hook()
6297 alc_fixup_hp_gpio_led(codec, action, 0x08, 0); in alc280_fixup_hp_9480m()
6300 spec->gpio_mask |= 0x10; in alc280_fixup_hp_9480m()
6301 spec->gpio_dir |= 0x10; in alc280_fixup_hp_9480m()
6313 spec->gpio_mask |= 0x04; in alc275_fixup_gpio4_off()
6314 spec->gpio_dir |= 0x04; in alc275_fixup_gpio4_off()
6321 * DAC1 (NID 0x02) -> Speaker (NID 0x14); some eq applied secretly
6322 * DAC2 (NID 0x03) -> Bass (NID 0x17) & Headphone (NID 0x21); sharing a DAC
6323 * DAC3 (NID 0x06) -> Unused, due to the lack of volume amp
6328 static const hda_nid_t conn[] = { 0x02, 0x03 }; /* exclude 0x06 */ in alc285_fixup_thinkpad_x1_gen7()
6330 0x14, 0x02, 0x17, 0x03, 0x21, 0x03, 0 in alc285_fixup_thinkpad_x1_gen7()
6336 snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn), conn); in alc285_fixup_thinkpad_x1_gen7()
6365 codec->addr == 0 ? in alc233_alc662_fixup_lenovo_dual_codecs()
6369 codec->addr == 0 ? in alc233_alc662_fixup_lenovo_dual_codecs()
6385 /* Forcibly assign NID 0x03 to HP/LO while NID 0x02 to SPK for EQ */
6391 0x21, 0x03, 0x1b, 0x03, 0x16, 0x02, in alc274_fixup_bind_dacs()
6392 0 in alc274_fixup_bind_dacs()
6400 codec->power_save_node = 0; in alc274_fixup_bind_dacs()
6403 /* avoid DAC 0x06 for bass speaker 0x17; it has no volume control */
6408 0x14, 0x02, 0x17, 0x02, 0x21, 0x03, 0 in alc289_fixup_asus_ga401()
6418 /* The DAC of NID 0x3 will introduce click/pop noise on headphones, so invalidate it */
6425 snd_hda_override_wcaps(codec, 0x03, 0); in alc285_fixup_invalidate_dacs()
6431 case 0x10ec0274: in alc_combo_jack_hp_jd_restart()
6432 case 0x10ec0294: in alc_combo_jack_hp_jd_restart()
6433 case 0x10ec0225: in alc_combo_jack_hp_jd_restart()
6434 case 0x10ec0295: in alc_combo_jack_hp_jd_restart()
6435 case 0x10ec0299: in alc_combo_jack_hp_jd_restart()
6436 alc_update_coef_idx(codec, 0x4a, 0x8000, 1 << 15); /* Reset HP JD */ in alc_combo_jack_hp_jd_restart()
6437 alc_update_coef_idx(codec, 0x4a, 0x8000, 0 << 15); in alc_combo_jack_hp_jd_restart()
6439 case 0x10ec0230: in alc_combo_jack_hp_jd_restart()
6440 case 0x10ec0235: in alc_combo_jack_hp_jd_restart()
6441 case 0x10ec0236: in alc_combo_jack_hp_jd_restart()
6442 case 0x10ec0255: in alc_combo_jack_hp_jd_restart()
6443 case 0x10ec0256: in alc_combo_jack_hp_jd_restart()
6444 case 0x19e58326: in alc_combo_jack_hp_jd_restart()
6445 alc_update_coef_idx(codec, 0x1b, 0x8000, 1 << 15); /* Reset HP JD */ in alc_combo_jack_hp_jd_restart()
6446 alc_update_coef_idx(codec, 0x1b, 0x8000, 0 << 15); in alc_combo_jack_hp_jd_restart()
6470 snd_hda_codec_set_pin_target(codec, 0x19, PIN_VREFHIZ); in alc_fixup_disable_mic_vref()
6478 * it appears to leave 0x10 = 0x8a20 set. For Linux we need to toggle it in alc294_gx502_toggle_output()
6480 if (snd_hda_jack_detect_state(codec, 0x21) == HDA_JACK_PRESENT) in alc294_gx502_toggle_output()
6481 alc_write_coef_idx(codec, 0x10, 0x8a20); in alc294_gx502_toggle_output()
6483 alc_write_coef_idx(codec, 0x10, 0x0a20); in alc294_gx502_toggle_output()
6489 /* Pin 0x21: headphones/headset mic */ in alc294_fixup_gx502_hp()
6490 if (!is_jack_detectable(codec, 0x21)) in alc294_fixup_gx502_hp()
6495 snd_hda_jack_detect_enable_callback(codec, 0x21, in alc294_fixup_gx502_hp()
6510 /* Windows sets 0x10 to 0x8420 for Node 0x20 which is in alc294_gu502_toggle_output()
6513 if (snd_hda_jack_detect_state(codec, 0x21) == HDA_JACK_PRESENT) in alc294_gu502_toggle_output()
6514 alc_write_coef_idx(codec, 0x10, 0x8420); in alc294_gu502_toggle_output()
6516 alc_write_coef_idx(codec, 0x10, 0x0a20); in alc294_gu502_toggle_output()
6522 if (!is_jack_detectable(codec, 0x21)) in alc294_fixup_gu502_hp()
6527 snd_hda_jack_detect_enable_callback(codec, 0x21, in alc294_fixup_gu502_hp()
6543 alc_write_coef_idx(codec, 0x65, 0x0); in alc285_fixup_hp_gpio_amp_init()
6564 alc_update_coef_idx(codec, 0x45, 0xf<<12 | 1<<10, 5<<12); in alc_fixup_no_int_mic()
6579 static const hda_nid_t conn[] = { 0x02 }; in alc285_fixup_hp_spectre_x360_eb1()
6583 { 0x14, 0x90170110 }, /* front/high speakers */ in alc285_fixup_hp_spectre_x360_eb1()
6584 { 0x17, 0x90170130 }, /* back/bass speakers */ in alc285_fixup_hp_spectre_x360_eb1()
6589 alc_fixup_hp_gpio_led(codec, action, 0x00, 0x04); in alc285_fixup_hp_spectre_x360_eb1()
6595 spec->gpio_mask |= 0x01; in alc285_fixup_hp_spectre_x360_eb1()
6596 spec->gpio_dir |= 0x01; in alc285_fixup_hp_spectre_x360_eb1()
6599 snd_hda_override_conn_list(codec, 0x14, ARRAY_SIZE(conn), conn); in alc285_fixup_hp_spectre_x360_eb1()
6600 snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn), conn); in alc285_fixup_hp_spectre_x360_eb1()
6604 alc_update_gpio_data(codec, 0x01, true); in alc285_fixup_hp_spectre_x360_eb1()
6606 alc_update_gpio_data(codec, 0x01, false); in alc285_fixup_hp_spectre_x360_eb1()
6614 static const hda_nid_t conn[] = { 0x02 }; in alc285_fixup_hp_spectre_x360()
6616 { 0x14, 0x90170110 }, /* rear speaker */ in alc285_fixup_hp_spectre_x360()
6624 snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn), conn); in alc285_fixup_hp_spectre_x360()
6680 for (i = 0; i < HDA_MAX_COMPONENTS; i++) { in comp_generic_playback_hook()
6702 return 0; in comp_match_cs35l41_dev_name()
6721 for (i = 0; i < count; i++) { in cs35l41_generic_fixup()
6775 WRITE_COEF(0x10, 0x0020), WRITE_COEF(0x24, 0x0000),
6776 WRITE_COEF(0x26, 0x0000), WRITE_COEF(0x29, 0x3000),
6777 WRITE_COEF(0x37, 0xfe05), WRITE_COEF(0x45, 0x5089),
6797 WRITE_COEF(0x1a, 0x9003), WRITE_COEF(0x1b, 0x0e2b), WRITE_COEF(0x37, 0xfe06),
6798 WRITE_COEF(0x38, 0x4981), WRITE_COEF(0x45, 0xd489), WRITE_COEF(0x46, 0x0074),
6799 WRITE_COEF(0x49, 0x0149),
6823 * but uses the 0x8686 subproduct id in both cases. The ALC256 codec in alc256_fixup_mic_no_presence_and_resume()
6826 if (codec->core.vendor_id == 0x10ec0256) { in alc256_fixup_mic_no_presence_and_resume()
6827 alc_update_coef_idx(codec, 0x10, 1<<9, 0); in alc256_fixup_mic_no_presence_and_resume()
6828 snd_hda_codec_set_pincfg(codec, 0x19, 0x04a11120); in alc256_fixup_mic_no_presence_and_resume()
6830 snd_hda_codec_set_pincfg(codec, 0x1a, 0x04a1113c); in alc256_fixup_mic_no_presence_and_resume()
6847 * Set the vref of pin 0x19 (Headset Mic) and pin 0x1b (Headphone Mic) in alc_fixup_dell4_mic_no_presence_quiet()
6851 snd_hda_codec_set_pin_target(codec, 0x19, PIN_VREFHIZ); in alc_fixup_dell4_mic_no_presence_quiet()
6852 snd_hda_codec_set_pin_target(codec, 0x1b, PIN_VREFHIZ); in alc_fixup_dell4_mic_no_presence_quiet()
6856 * Make the internal mic (0x12) the default input source to in alc_fixup_dell4_mic_no_presence_quiet()
6859 for (i = 0; i < imux->num_items; i++) { in alc_fixup_dell4_mic_no_presence_quiet()
6860 if (spec->gen.imux_pins[i] == 0x12) { in alc_fixup_dell4_mic_no_presence_quiet()
6861 spec->gen.cur_mux[0] = i; in alc_fixup_dell4_mic_no_presence_quiet()
6873 * The Pin Complex 0x17 for the bass speakers is wrongly reported as in alc287_fixup_yoga9_14iap7_bass_spk_pin()
6877 { 0x17, 0x90170121 }, in alc287_fixup_yoga9_14iap7_bass_spk_pin()
6881 * Avoid DAC 0x06 and 0x08, as they have no volume controls. in alc287_fixup_yoga9_14iap7_bass_spk_pin()
6882 * DAC 0x02 and 0x03 would be fine. in alc287_fixup_yoga9_14iap7_bass_spk_pin()
6884 static const hda_nid_t conn[] = { 0x02, 0x03 }; in alc287_fixup_yoga9_14iap7_bass_spk_pin()
6886 * Prefer both speakerbar (0x14) and bass speakers (0x17) connected to DAC 0x02. in alc287_fixup_yoga9_14iap7_bass_spk_pin()
6887 * Headphones (0x21) are connected to DAC 0x03. in alc287_fixup_yoga9_14iap7_bass_spk_pin()
6890 0x14, 0x02, in alc287_fixup_yoga9_14iap7_bass_spk_pin()
6891 0x17, 0x02, in alc287_fixup_yoga9_14iap7_bass_spk_pin()
6892 0x21, 0x03, in alc287_fixup_yoga9_14iap7_bass_spk_pin()
6893 0 in alc287_fixup_yoga9_14iap7_bass_spk_pin()
6900 snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn), conn); in alc287_fixup_yoga9_14iap7_bass_spk_pin()
7161 if (codec->core.vendor_id == 0x10ec0298) in alc298_fixup_lenovo_c940_duet7()
7165 __snd_hda_apply_fixup(codec, id, action, 0); in alc298_fixup_lenovo_c940_duet7()
7176 {0x19, PIN_VREFGRD},
7190 {0x20, AC_VERB_SET_COEF_INDEX, 13},
7191 {0x20, AC_VERB_SET_PROC_COEF, 0x4040},
7202 { 0x17, 0x99130111 }, /* subwoofer */
7209 {0x14, AC_VERB_SET_EAPD_BTLENABLE, 0},
7250 { 0x1a, 0x2101103f }, /* dock line-out */
7251 { 0x1b, 0x23a11040 }, /* dock mic-in */
7260 { 0x19, 0x01a1903c }, /* headset mic, with jack detect */
7267 { 0x21, 0x0221102f }, /* HP out */
7282 { 0x14, 0x99130110 }, /* speaker */
7283 { 0x15, 0x0121401f }, /* HP out */
7284 { 0x18, 0x01a19c20 }, /* mic */
7285 { 0x19, 0x99a3092f }, /* int-mic */
7292 { 0x12, 0x99a3092f }, /* int-mic */
7293 { 0x14, 0x99130110 }, /* speaker */
7294 { 0x15, 0x0121401f }, /* HP out */
7295 { 0x18, 0x01a19c20 }, /* mic */
7302 { 0x14, 0x99130110 }, /* speaker */
7303 { 0x18, 0x01a19c20 }, /* mic */
7304 { 0x19, 0x99a3092f }, /* int-mic */
7305 { 0x21, 0x0121401f }, /* HP out */
7312 { 0x12, 0x99a3092f }, /* int-mic */
7313 { 0x14, 0x99130110 }, /* speaker */
7314 { 0x18, 0x01a19c20 }, /* mic */
7315 { 0x21, 0x0121401f }, /* HP out */
7360 { 0x19, 0x23a11040 }, /* dock mic */
7361 { 0x1b, 0x2121103f }, /* dock headphone */
7382 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7383 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7392 { 0x16, 0x21014020 }, /* dock line out */
7393 { 0x19, 0x21a19030 }, /* dock mic */
7394 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7403 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7412 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7413 { 0x1b, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7432 { 0x19, 0x01a1913c }, /* headset mic w/o jack detect */
7441 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7450 {0x12, 0x90a60130},
7451 {0x13, 0x40000000},
7452 {0x14, 0x90170110},
7453 {0x18, 0x411111f0},
7454 {0x19, 0x04a11040},
7455 {0x1a, 0x411111f0},
7456 {0x1b, 0x90170112},
7457 {0x1d, 0x40759a05},
7458 {0x1e, 0x411111f0},
7459 {0x21, 0x04211020},
7478 {0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, 0},
7479 {0x20, AC_VERB_SET_COEF_INDEX, 0x08},
7480 {0x20, AC_VERB_SET_PROC_COEF, 0x0310},
7489 { 0x18, 0x04a1182c }, /* Headset mic */
7498 { 0x14, 0x99130110 }, /* speaker */
7499 { 0x19, 0x01a19c20 }, /* mic */
7500 { 0x1b, 0x99a7012f }, /* int-mic */
7501 { 0x21, 0x0121401f }, /* HP out */
7520 { 0x12, 0x99a3092f }, /* int-mic */
7521 { 0x14, 0x99130110 }, /* speaker */
7522 { 0x18, 0x03a11c20 }, /* mic */
7523 { 0x1e, 0x0346101e }, /* SPDIF1 */
7524 { 0x21, 0x0321101f }, /* HP out */
7546 { 0x20, AC_VERB_SET_COEF_INDEX, 0x12 },
7547 { 0x20, AC_VERB_SET_PROC_COEF, 0x2800 },
7556 { 0x18, 0x01a110f0 }, /* use as headset mic */
7571 { 0x12, 0x99a3092f }, /* int-mic */
7572 { 0x18, 0x03a11d20 }, /* mic */
7573 { 0x19, 0x411111f0 }, /* Unused bogus pin */
7594 {0x20, AC_VERB_SET_COEF_INDEX, 0x1a},
7595 {0x20, AC_VERB_SET_PROC_COEF, 0x0011},
7604 { 0x17, 0x90170112 }, /* subwoofer */
7613 { 0x17, 0x90170112 }, /* subwoofer */
7644 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7653 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7662 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7663 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7672 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7691 { 0x18, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7692 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7713 { 0x19, 0x04a110f0 },
7724 { 0x12, 0x90a60130 },
7725 { 0x14, 0x90170110 },
7726 { 0x17, 0x40000008 },
7727 { 0x18, 0x411111f0 },
7728 { 0x19, 0x01a1913c },
7729 { 0x1a, 0x411111f0 },
7730 { 0x1b, 0x411111f0 },
7731 { 0x1d, 0x40f89b2d },
7732 { 0x1e, 0x411111f0 },
7733 { 0x21, 0x0321101f },
7756 { 0x1b, 0x21011020 }, /* line-out */
7757 { 0x1a, 0x01a1903c }, /* headset mic */
7758 { 0x18, 0x2181103f }, /* line-in */
7767 { 0x1b, 0x21011020 }, /* line-out */
7768 { 0x18, 0x2181103f }, /* line-in */
7793 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7794 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7840 { 0x18, 0x01a1913c }, /* headset mic w/o jack detect */
7849 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7850 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7859 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7869 {0x20, AC_VERB_SET_COEF_INDEX, 0x1f},
7870 {0x20, AC_VERB_SET_PROC_COEF, 0x00c0},
7871 {0x20, AC_VERB_SET_COEF_INDEX, 0x30},
7872 {0x20, AC_VERB_SET_PROC_COEF, 0x00b1},
7912 { 0x20, AC_VERB_SET_COEF_INDEX, 0x36 },
7913 { 0x20, AC_VERB_SET_PROC_COEF, 0x57d7 },
7928 { 0x19, 0x02a19020 }, /* Front Mic */
7961 { 0x1b, 0x90170151 },
7976 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7977 { 0x1a, 0x01813030 }, /* use as headphone mic, without its own jack detect */
7986 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7987 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
8000 { 0x13, 0x90a60160 }, /* use as internal mic */
8001 { 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */
8015 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8025 {0x20, AC_VERB_SET_COEF_INDEX, 0x40},
8026 {0x20, AC_VERB_SET_PROC_COEF, 0x8800},
8041 { 0x20, AC_VERB_SET_COEF_INDEX, 0x45 },
8042 { 0x20, AC_VERB_SET_PROC_COEF, 0x5089 },
8056 { 0x1a, 0x04a19040 },
8063 { 0x16, 0x0101102f }, /* Rear Headset HP */
8064 { 0x19, 0x02a1913c }, /* use as Front headset mic, without its own jack detect */
8065 { 0x1a, 0x01a19030 }, /* Rear Headset MIC */
8066 { 0x1b, 0x02011020 },
8082 {0x20, AC_VERB_SET_COEF_INDEX, 0x45},
8083 {0x20, AC_VERB_SET_PROC_COEF, 0x5289},
8084 {0x20, AC_VERB_SET_COEF_INDEX, 0x4A},
8085 {0x20, AC_VERB_SET_PROC_COEF, 0x001b},
8086 {0x58, AC_VERB_SET_COEF_INDEX, 0x00},
8087 {0x58, AC_VERB_SET_PROC_COEF, 0x3888},
8088 {0x20, AC_VERB_SET_COEF_INDEX, 0x6f},
8089 {0x20, AC_VERB_SET_PROC_COEF, 0x2c0b},
8102 { 0x1b, 0x0401102f },
8123 { 0x14, 0x0201101f },
8132 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8147 { 0x19, 0x0181313f},
8166 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8175 { 0x13, 0x90a60160 }, /* use as internal mic */
8176 { 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */
8185 { 0x19, 0x01a1103c }, /* use as headset mic */
8195 { 0x20, AC_VERB_SET_COEF_INDEX, 0x40 },
8196 { 0x20, AC_VERB_SET_PROC_COEF, 0x8800 },
8197 { 0x20, AC_VERB_SET_COEF_INDEX, 0x0f },
8198 { 0x20, AC_VERB_SET_PROC_COEF, 0x7774 },
8217 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8227 { 0x20, AC_VERB_SET_COEF_INDEX, 0x36 },
8228 { 0x20, AC_VERB_SET_PROC_COEF, 0x57d7 },
8237 { 0x19, 0x03a11130 },
8238 { 0x1a, 0x90a60140 }, /* use as internal mic */
8247 { 0x16, 0x01011020 }, /* Rear Line out */
8248 { 0x19, 0x01a1913c }, /* use as Front headset mic, without its own jack detect */
8269 { 0x20, AC_VERB_SET_COEF_INDEX, 0x4f },
8270 { 0x20, AC_VERB_SET_PROC_COEF, 0x5029 },
8279 { 0x19, 0x03a11020 }, /* headset mic with jack detect */
8288 { 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */
8297 { 0x21, 0x90170150 }, /* use as headset mic, without its own jack detect */
8304 { 0x19, 0x04a11040 },
8305 { 0x21, 0x04211020 },
8314 { 0x17, 0x90170130 }, /* bass spk */
8355 { 0x20, AC_VERB_SET_COEF_INDEX, 0x0f },
8356 { 0x20, AC_VERB_SET_PROC_COEF, 0x7774 },
8365 { 0x19, 0x03a11050 }, /* front HP mic */
8366 { 0x1a, 0x01a11830 }, /* rear external mic */
8367 { 0x21, 0x03211020 }, /* front HP out */
8376 /* set 0x15 to HP-OUT ctrl */
8377 { 0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 },
8378 /* unmute the 0x15 amp */
8379 { 0x15, AC_VERB_SET_AMP_GAIN_MUTE, 0xb000 },
8392 { 0x19, 0x01a11050 }, /* rear HP mic */
8393 { 0x1a, 0x01a11830 }, /* rear external mic */
8394 { 0x21, 0x012110f0 }, /* rear HP out */
8403 /* set 0x15 to HP-OUT ctrl */
8404 { 0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0 },
8405 /* unmute the 0x15 amp */
8406 { 0x15, AC_VERB_SET_AMP_GAIN_MUTE, 0xb000 },
8407 /* set 0x1b to HP-OUT */
8408 { 0x1b, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x24 },
8421 { 0x19, 0x03a11050 }, /* front HP mic */
8422 { 0x1a, 0x03a11c30 }, /* rear external mic */
8423 { 0x21, 0x03211420 }, /* front HP out */
8430 { 0x14, 0x90170152 }, /* Speaker Surround Playback Switch */
8431 { 0x19, 0x03a19020 }, /* Mic Boost Volume */
8432 { 0x1a, 0x03a11c30 }, /* Mic Boost Volume */
8433 { 0x1e, 0x90170151 }, /* Rear jack, IN OUT EAPD Detect */
8434 { 0x21, 0x03211420 },
8444 { 0x20, AC_VERB_SET_COEF_INDEX, 0x1b },
8445 { 0x20, AC_VERB_SET_PROC_COEF, 0x4e4b },
8480 { 0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc5 },
8487 { 0x20, AC_VERB_SET_COEF_INDEX, 0x08},
8488 { 0x20, AC_VERB_SET_PROC_COEF, 0x2fcf},
8495 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8504 { 0x14, 0x90100120 }, /* use as internal speaker */
8505 { 0x18, 0x02a111f0 }, /* use as headset mic, without its own jack detect */
8506 { 0x1a, 0x01011020 }, /* use as line out */
8515 { 0x18, 0x02a11030 }, /* use as headset mic */
8524 { 0x18, 0x01a11130 }, /* use as headset mic, without its own jack detect */
8539 { 0x19, 0x03a11020 }, /* headset mic with jack detect */
8546 { 0x19, 0x02a11120 }, /* use as headset mic, without its own jack detect */
8561 { 0x12, 0x411111f0 },
8562 { 0x14, 0x90170110 }, /* speaker */
8563 { 0x15, 0x032f1020 }, /* HP out */
8564 { 0x17, 0x411111f0 },
8565 { 0x18, 0x03ab1040 }, /* mic */
8566 { 0x19, 0xb7a7013f },
8567 { 0x1a, 0x0181305f },
8568 { 0x1b, 0x411111f0 },
8569 { 0x1d, 0x411111f0 },
8570 { 0x1e, 0x411111f0 },
8578 { 0x12, 0x4000c000 },
8579 { 0x14, 0x90170110 }, /* speaker */
8580 { 0x15, 0x0421401f }, /* HP out */
8581 { 0x17, 0x411111f0 },
8582 { 0x18, 0x04a19020 }, /* mic */
8583 { 0x19, 0x411111f0 },
8584 { 0x1a, 0x411111f0 },
8585 { 0x1b, 0x411111f0 },
8586 { 0x1d, 0x40448505 },
8587 { 0x1e, 0x411111f0 },
8588 { 0x20, 0x8000ffff },
8596 { 0x12, 0x40000000 },
8597 { 0x14, 0x01014010 }, /* speaker */
8598 { 0x15, 0x411111f0 }, /* HP out */
8599 { 0x16, 0x411111f0 },
8600 { 0x18, 0x01a19020 }, /* mic */
8601 { 0x19, 0x02a19021 },
8602 { 0x1a, 0x0181302f },
8603 { 0x1b, 0x0221401f },
8604 { 0x1c, 0x411111f0 },
8605 { 0x1d, 0x4044c601 },
8606 { 0x1e, 0x411111f0 },
8614 { 0x12, 0x40000000 },
8615 { 0x14, 0x90170110 }, /* speaker */
8616 { 0x17, 0x411111f0 },
8617 { 0x18, 0x03a19040 }, /* mic1 */
8618 { 0x19, 0x90a70130 }, /* mic2 */
8619 { 0x1a, 0x411111f0 },
8620 { 0x1b, 0x411111f0 },
8621 { 0x1d, 0x40489d2d },
8622 { 0x1e, 0x411111f0 },
8623 { 0x20, 0x0003ffff },
8624 { 0x21, 0x03214020 },
8632 { 0x14, 0x99130110 }, /* speaker */
8633 { 0x15, 0x0121401f }, /* HP out */
8634 { 0x18, 0x01a19c20 }, /* rear mic */
8635 { 0x19, 0x99a3092f }, /* front mic */
8636 { 0x1b, 0x0201401f }, /* front lineout */
8644 { 0x1b, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8653 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8662 { 0x20, AC_VERB_SET_COEF_INDEX, 0x45 },
8663 { 0x20, AC_VERB_SET_PROC_COEF, 0x5089 },
8672 { 0x20, AC_VERB_SET_COEF_INDEX, 0x45 },
8673 { 0x20, AC_VERB_SET_PROC_COEF, 0x5089 },
8691 { 0x20, AC_VERB_SET_COEF_INDEX, 0x0f },
8692 { 0x20, AC_VERB_SET_PROC_COEF, 0x7778 },
8721 { 0x1b, 0x411111f0 },
8722 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8737 { 0x19, 0x02a1113c }, /* use as headset mic, without its own jack detect */
8738 { 0x1a, 0x90a1092f }, /* use as internal mic */
8763 { 0x12, 0xb7a60130 },
8764 { 0x13, 0x40000000 },
8765 { 0x14, 0x411111f0 },
8766 { 0x16, 0x411111f0 },
8767 { 0x17, 0x90170110 },
8768 { 0x18, 0x411111f0 },
8769 { 0x19, 0x02a11030 },
8770 { 0x1a, 0x411111f0 },
8771 { 0x1b, 0x04a19030 },
8772 { 0x1d, 0x40600001 },
8773 { 0x1e, 0x411111f0 },
8774 { 0x21, 0x03211020 },
8803 { 0x21, 0x03211030 }, /* Change the Headphone location to Left */
8832 { 0x20, AC_VERB_SET_COEF_INDEX, 0x24 },
8833 { 0x20, AC_VERB_SET_PROC_COEF, 0x41 },
8835 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
8836 { 0x20, AC_VERB_SET_PROC_COEF, 0xc },
8837 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8838 { 0x20, AC_VERB_SET_PROC_COEF, 0x1a },
8839 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
8841 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
8842 { 0x20, AC_VERB_SET_PROC_COEF, 0x2 },
8843 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8844 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8845 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
8848 { 0x20, AC_VERB_SET_COEF_INDEX, 0x24 },
8849 { 0x20, AC_VERB_SET_PROC_COEF, 0x42 },
8851 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
8852 { 0x20, AC_VERB_SET_PROC_COEF, 0xc },
8853 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8854 { 0x20, AC_VERB_SET_PROC_COEF, 0x2a },
8855 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
8857 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
8858 { 0x20, AC_VERB_SET_PROC_COEF, 0x2 },
8859 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8860 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8861 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
8877 { 0x20, AC_VERB_SET_COEF_INDEX, 0x24 },
8878 { 0x20, AC_VERB_SET_PROC_COEF, 0x41 },
8880 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
8881 { 0x20, AC_VERB_SET_PROC_COEF, 0xc },
8882 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8883 { 0x20, AC_VERB_SET_PROC_COEF, 0x1a },
8884 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
8886 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
8887 { 0x20, AC_VERB_SET_PROC_COEF, 0x2 },
8888 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8889 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8890 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
8893 { 0x20, AC_VERB_SET_COEF_INDEX, 0x24 },
8894 { 0x20, AC_VERB_SET_PROC_COEF, 0x46 },
8896 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
8897 { 0x20, AC_VERB_SET_PROC_COEF, 0xc },
8898 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8899 { 0x20, AC_VERB_SET_PROC_COEF, 0x2a },
8900 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
8902 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
8903 { 0x20, AC_VERB_SET_PROC_COEF, 0x2 },
8904 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8905 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8906 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
8919 { 0x20, AC_VERB_SET_COEF_INDEX, 0x24 },
8920 { 0x20, AC_VERB_SET_PROC_COEF, 0x41 },
8921 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
8922 { 0x20, AC_VERB_SET_PROC_COEF, 0x2 },
8923 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8924 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8925 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
8926 { 0x20, AC_VERB_SET_COEF_INDEX, 0x24 },
8927 { 0x20, AC_VERB_SET_PROC_COEF, 0x42 },
8928 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
8929 { 0x20, AC_VERB_SET_PROC_COEF, 0x2 },
8930 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8931 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
8932 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
8949 { 0x19, 0x03a11120 }, /* use as headset mic, without its own jack detect */
9004 { 0x20, AC_VERB_SET_COEF_INDEX, 0x19 },
9005 { 0x20, AC_VERB_SET_PROC_COEF, 0x8e11 },
9020 { 0x19, 0x02a1112c }, /* use as headset mic, without its own jack detect */
9034 { 0x20, AC_VERB_SET_COEF_INDEX, 0x24 },
9035 { 0x20, AC_VERB_SET_PROC_COEF, 0x41 },
9037 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
9038 { 0x20, AC_VERB_SET_PROC_COEF, 0xc },
9039 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
9040 { 0x20, AC_VERB_SET_PROC_COEF, 0x1a },
9041 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
9043 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
9044 { 0x20, AC_VERB_SET_PROC_COEF, 0xf },
9045 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
9046 { 0x20, AC_VERB_SET_PROC_COEF, 0x42 },
9047 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
9049 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
9050 { 0x20, AC_VERB_SET_PROC_COEF, 0x10 },
9051 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
9052 { 0x20, AC_VERB_SET_PROC_COEF, 0x40 },
9053 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
9055 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
9056 { 0x20, AC_VERB_SET_PROC_COEF, 0x2 },
9057 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
9058 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
9059 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
9062 { 0x20, AC_VERB_SET_COEF_INDEX, 0x24 },
9063 { 0x20, AC_VERB_SET_PROC_COEF, 0x46 },
9065 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
9066 { 0x20, AC_VERB_SET_PROC_COEF, 0xc },
9067 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
9068 { 0x20, AC_VERB_SET_PROC_COEF, 0x2a },
9069 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
9071 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
9072 { 0x20, AC_VERB_SET_PROC_COEF, 0xf },
9073 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
9074 { 0x20, AC_VERB_SET_PROC_COEF, 0x46 },
9075 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
9077 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
9078 { 0x20, AC_VERB_SET_PROC_COEF, 0x10 },
9079 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
9080 { 0x20, AC_VERB_SET_PROC_COEF, 0x44 },
9081 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
9083 { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
9084 { 0x20, AC_VERB_SET_PROC_COEF, 0x2 },
9085 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
9086 { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
9087 { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
9101 SND_PCI_QUIRK(0x1025, 0x0283, "Acer TravelMate 8371", ALC269_FIXUP_INV_DMIC),
9102 SND_PCI_QUIRK(0x1025, 0x029b, "Acer 1810TZ", ALC269_FIXUP_INV_DMIC),
9103 SND_PCI_QUIRK(0x1025, 0x0349, "Acer AOD260", ALC269_FIXUP_INV_DMIC),
9104 SND_PCI_QUIRK(0x1025, 0x047c, "Acer AC700", ALC269_FIXUP_ACER_AC700),
9105 SND_PCI_QUIRK(0x1025, 0x072d, "Acer Aspire V5-571G", ALC269_FIXUP_ASPIRE_HEADSET_MIC),
9106 SND_PCI_QUIRK(0x1025, 0x0740, "Acer AO725", ALC271_FIXUP_HP_GATE_MIC_JACK),
9107 SND_PCI_QUIRK(0x1025, 0x0742, "Acer AO756", ALC271_FIXUP_HP_GATE_MIC_JACK),
9108 SND_PCI_QUIRK(0x1025, 0x0762, "Acer Aspire E1-472", ALC271_FIXUP_HP_GATE_MIC_JACK_E1_572),
9109 SND_PCI_QUIRK(0x1025, 0x0775, "Acer Aspire E1-572", ALC271_FIXUP_HP_GATE_MIC_JACK_E1_572),
9110 SND_PCI_QUIRK(0x1025, 0x079b, "Acer Aspire V5-573G", ALC282_FIXUP_ASPIRE_V5_PINS),
9111 SND_PCI_QUIRK(0x1025, 0x080d, "Acer Aspire V5-122P", ALC269_FIXUP_ASPIRE_HEADSET_MIC),
9112 SND_PCI_QUIRK(0x1025, 0x0840, "Acer Aspire E1", ALC269VB_FIXUP_ASPIRE_E1_COEF),
9113 SND_PCI_QUIRK(0x1025, 0x101c, "Acer Veriton N2510G", ALC269_FIXUP_LIFEBOOK),
9114 SND_PCI_QUIRK(0x1025, 0x102b, "Acer Aspire C24-860", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE),
9115 SND_PCI_QUIRK(0x1025, 0x1065, "Acer Aspire C20-820", ALC269VC_FIXUP_ACER_HEADSET_MIC),
9116 SND_PCI_QUIRK(0x1025, 0x106d, "Acer Cloudbook 14", ALC283_FIXUP_CHROME_BOOK),
9117 SND_PCI_QUIRK(0x1025, 0x1094, "Acer Aspire E5-575T", ALC255_FIXUP_ACER_LIMIT_INT_MIC_BOOST),
9118 SND_PCI_QUIRK(0x1025, 0x1099, "Acer Aspire E5-523G", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
9119 SND_PCI_QUIRK(0x1025, 0x110e, "Acer Aspire ES1-432", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
9120 SND_PCI_QUIRK(0x1025, 0x1166, "Acer Veriton N4640G", ALC269_FIXUP_LIFEBOOK),
9121 SND_PCI_QUIRK(0x1025, 0x1167, "Acer Veriton N6640G", ALC269_FIXUP_LIFEBOOK),
9122 SND_PCI_QUIRK(0x1025, 0x1246, "Acer Predator Helios 500", ALC299_FIXUP_PREDATOR_SPK),
9123 SND_PCI_QUIRK(0x1025, 0x1247, "Acer vCopperbox", ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS),
9124 SND_PCI_QUIRK(0x1025, 0x1248, "Acer Veriton N4660G", ALC269VC_FIXUP_ACER_MIC_NO_PRESENCE),
9125 SND_PCI_QUIRK(0x1025, 0x1269, "Acer SWIFT SF314-54", ALC256_FIXUP_ACER_HEADSET_MIC),
9126 SND_PCI_QUIRK(0x1025, 0x128f, "Acer Veriton Z6860G", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
9127 SND_PCI_QUIRK(0x1025, 0x1290, "Acer Veriton Z4860G", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
9128 SND_PCI_QUIRK(0x1025, 0x1291, "Acer Veriton Z4660G", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
9129 SND_PCI_QUIRK(0x1025, 0x129c, "Acer SWIFT SF314-55", ALC256_FIXUP_ACER_HEADSET_MIC),
9130 SND_PCI_QUIRK(0x1025, 0x129d, "Acer SWIFT SF313-51", ALC256_FIXUP_ACER_MIC_NO_PRESENCE),
9131 SND_PCI_QUIRK(0x1025, 0x1300, "Acer SWIFT SF314-56", ALC256_FIXUP_ACER_MIC_NO_PRESENCE),
9132 SND_PCI_QUIRK(0x1025, 0x1308, "Acer Aspire Z24-890", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
9133 SND_PCI_QUIRK(0x1025, 0x132a, "Acer TravelMate B114-21", ALC233_FIXUP_ACER_HEADSET_MIC),
9134 SND_PCI_QUIRK(0x1025, 0x1330, "Acer TravelMate X514-51T", ALC255_FIXUP_ACER_HEADSET_MIC),
9135 SND_PCI_QUIRK(0x1025, 0x141f, "Acer Spin SP513-54N", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
9136 SND_PCI_QUIRK(0x1025, 0x142b, "Acer Swift SF314-42", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
9137 SND_PCI_QUIRK(0x1025, 0x1430, "Acer TravelMate B311R-31", ALC256_FIXUP_ACER_MIC_NO_PRESENCE),
9138 SND_PCI_QUIRK(0x1025, 0x1466, "Acer Aspire A515-56", ALC255_FIXUP_ACER_HEADPHONE_AND_MIC),
9139 SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
9140 SND_PCI_QUIRK(0x1028, 0x053c, "Dell Latitude E5430", ALC292_FIXUP_DELL_E7X),
9141 SND_PCI_QUIRK(0x1028, 0x054b, "Dell XPS one 2710", ALC275_FIXUP_DELL_XPS),
9142 SND_PCI_QUIRK(0x1028, 0x05bd, "Dell Latitude E6440", ALC292_FIXUP_DELL_E7X),
9143 SND_PCI_QUIRK(0x1028, 0x05be, "Dell Latitude E6540", ALC292_FIXUP_DELL_E7X),
9144 SND_PCI_QUIRK(0x1028, 0x05ca, "Dell Latitude E7240", ALC292_FIXUP_DELL_E7X),
9145 SND_PCI_QUIRK(0x1028, 0x05cb, "Dell Latitude E7440", ALC292_FIXUP_DELL_E7X),
9146 SND_PCI_QUIRK(0x1028, 0x05da, "Dell Vostro 5460", ALC290_FIXUP_SUBWOOFER),
9147 SND_PCI_QUIRK(0x1028, 0x05f4, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE),
9148 SND_PCI_QUIRK(0x1028, 0x05f5, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE),
9149 SND_PCI_QUIRK(0x1028, 0x05f6, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE),
9150 SND_PCI_QUIRK(0x1028, 0x0615, "Dell Vostro 5470", ALC290_FIXUP_SUBWOOFER_HSJACK),
9151 SND_PCI_QUIRK(0x1028, 0x0616, "Dell Vostro 5470", ALC290_FIXUP_SUBWOOFER_HSJACK),
9152 SND_PCI_QUIRK(0x1028, 0x062c, "Dell Latitude E5550", ALC292_FIXUP_DELL_E7X),
9153 SND_PCI_QUIRK(0x1028, 0x062e, "Dell Latitude E7450", ALC292_FIXUP_DELL_E7X),
9154 SND_PCI_QUIRK(0x1028, 0x0638, "Dell Inspiron 5439", ALC290_FIXUP_MONO_SPEAKERS_HSJACK),
9155 SND_PCI_QUIRK(0x1028, 0x064a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
9156 SND_PCI_QUIRK(0x1028, 0x064b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
9157 SND_PCI_QUIRK(0x1028, 0x0665, "Dell XPS 13", ALC288_FIXUP_DELL_XPS_13),
9158 SND_PCI_QUIRK(0x1028, 0x0669, "Dell Optiplex 9020m", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE),
9159 SND_PCI_QUIRK(0x1028, 0x069a, "Dell Vostro 5480", ALC290_FIXUP_SUBWOOFER_HSJACK),
9160 SND_PCI_QUIRK(0x1028, 0x06c7, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE),
9161 SND_PCI_QUIRK(0x1028, 0x06d9, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
9162 SND_PCI_QUIRK(0x1028, 0x06da, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
9163 SND_PCI_QUIRK(0x1028, 0x06db, "Dell", ALC293_FIXUP_DISABLE_AAMIX_MULTIJACK),
9164 SND_PCI_QUIRK(0x1028, 0x06dd, "Dell", ALC293_FIXUP_DISABLE_AAMIX_MULTIJACK),
9165 SND_PCI_QUIRK(0x1028, 0x06de, "Dell", ALC293_FIXUP_DISABLE_AAMIX_MULTIJACK),
9166 SND_PCI_QUIRK(0x1028, 0x06df, "Dell", ALC293_FIXUP_DISABLE_AAMIX_MULTIJACK),
9167 SND_PCI_QUIRK(0x1028, 0x06e0, "Dell", ALC293_FIXUP_DISABLE_AAMIX_MULTIJACK),
9168 SND_PCI_QUIRK(0x1028, 0x0706, "Dell Inspiron 7559", ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER),
9169 SND_PCI_QUIRK(0x1028, 0x0725, "Dell Inspiron 3162", ALC255_FIXUP_DELL_SPK_NOISE),
9170 SND_PCI_QUIRK(0x1028, 0x0738, "Dell Precision 5820", ALC269_FIXUP_NO_SHUTUP),
9171 SND_PCI_QUIRK(0x1028, 0x075c, "Dell XPS 27 7760", ALC298_FIXUP_SPK_VOLUME),
9172 SND_PCI_QUIRK(0x1028, 0x075d, "Dell AIO", ALC298_FIXUP_SPK_VOLUME),
9173 …SND_PCI_QUIRK(0x1028, 0x0798, "Dell Inspiron 17 7000 Gaming", ALC256_FIXUP_DELL_INSPIRON_7559_SUBW…
9174 SND_PCI_QUIRK(0x1028, 0x07b0, "Dell Precision 7520", ALC295_FIXUP_DISABLE_DAC3),
9175 SND_PCI_QUIRK(0x1028, 0x080c, "Dell WYSE", ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE),
9176 SND_PCI_QUIRK(0x1028, 0x084b, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB),
9177 SND_PCI_QUIRK(0x1028, 0x084e, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB),
9178 SND_PCI_QUIRK(0x1028, 0x0871, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC),
9179 SND_PCI_QUIRK(0x1028, 0x0872, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC),
9180 SND_PCI_QUIRK(0x1028, 0x0873, "Dell Precision 3930", ALC255_FIXUP_DUMMY_LINEOUT_VERB),
9181 SND_PCI_QUIRK(0x1028, 0x08ad, "Dell WYSE AIO", ALC225_FIXUP_DELL_WYSE_AIO_MIC_NO_PRESENCE),
9182 SND_PCI_QUIRK(0x1028, 0x08ae, "Dell WYSE NB", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE),
9183 SND_PCI_QUIRK(0x1028, 0x0935, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB),
9184 SND_PCI_QUIRK(0x1028, 0x097d, "Dell Precision", ALC289_FIXUP_DUAL_SPK),
9185 SND_PCI_QUIRK(0x1028, 0x097e, "Dell Precision", ALC289_FIXUP_DUAL_SPK),
9186 SND_PCI_QUIRK(0x1028, 0x098d, "Dell Precision", ALC233_FIXUP_ASUS_MIC_NO_PRESENCE),
9187 SND_PCI_QUIRK(0x1028, 0x09bf, "Dell Precision", ALC233_FIXUP_ASUS_MIC_NO_PRESENCE),
9188 SND_PCI_QUIRK(0x1028, 0x0a2e, "Dell", ALC236_FIXUP_DELL_AIO_HEADSET_MIC),
9189 SND_PCI_QUIRK(0x1028, 0x0a30, "Dell", ALC236_FIXUP_DELL_AIO_HEADSET_MIC),
9190 SND_PCI_QUIRK(0x1028, 0x0a38, "Dell Latitude 7520", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE_QUIET),
9191 SND_PCI_QUIRK(0x1028, 0x0a58, "Dell", ALC255_FIXUP_DELL_HEADSET_MIC),
9192 SND_PCI_QUIRK(0x1028, 0x0a61, "Dell XPS 15 9510", ALC289_FIXUP_DUAL_SPK),
9193 SND_PCI_QUIRK(0x1028, 0x0a62, "Dell Precision 5560", ALC289_FIXUP_DUAL_SPK),
9194 SND_PCI_QUIRK(0x1028, 0x0a9d, "Dell Latitude 5430", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE),
9195 SND_PCI_QUIRK(0x1028, 0x0a9e, "Dell Latitude 5430", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE),
9196 SND_PCI_QUIRK(0x1028, 0x0b19, "Dell XPS 15 9520", ALC289_FIXUP_DUAL_SPK),
9197 SND_PCI_QUIRK(0x1028, 0x0b1a, "Dell Precision 5570", ALC289_FIXUP_DUAL_SPK),
9198 SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
9199 SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
9200 SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),
9201 SND_PCI_QUIRK(0x103c, 0x18e6, "HP", ALC269_FIXUP_HP_GPIO_LED),
9202 SND_PCI_QUIRK(0x103c, 0x218b, "HP", ALC269_FIXUP_LIMIT_INT_MIC_BOOST_MUTE_LED),
9203 SND_PCI_QUIRK(0x103c, 0x21f9, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9204 SND_PCI_QUIRK(0x103c, 0x2210, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9205 SND_PCI_QUIRK(0x103c, 0x2214, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9206 SND_PCI_QUIRK(0x103c, 0x221b, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9207 SND_PCI_QUIRK(0x103c, 0x221c, "HP EliteBook 755 G2", ALC280_FIXUP_HP_HEADSET_MIC),
9208 SND_PCI_QUIRK(0x103c, 0x2221, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9209 SND_PCI_QUIRK(0x103c, 0x2225, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9210 SND_PCI_QUIRK(0x103c, 0x2236, "HP", ALC269_FIXUP_HP_LINE1_MIC1_LED),
9211 SND_PCI_QUIRK(0x103c, 0x2237, "HP", ALC269_FIXUP_HP_LINE1_MIC1_LED),
9212 SND_PCI_QUIRK(0x103c, 0x2238, "HP", ALC269_FIXUP_HP_LINE1_MIC1_LED),
9213 SND_PCI_QUIRK(0x103c, 0x2239, "HP", ALC269_FIXUP_HP_LINE1_MIC1_LED),
9214 SND_PCI_QUIRK(0x103c, 0x224b, "HP", ALC269_FIXUP_HP_LINE1_MIC1_LED),
9215 SND_PCI_QUIRK(0x103c, 0x2253, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9216 SND_PCI_QUIRK(0x103c, 0x2254, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9217 SND_PCI_QUIRK(0x103c, 0x2255, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9218 SND_PCI_QUIRK(0x103c, 0x2256, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9219 SND_PCI_QUIRK(0x103c, 0x2257, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9220 SND_PCI_QUIRK(0x103c, 0x2259, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9221 SND_PCI_QUIRK(0x103c, 0x225a, "HP", ALC269_FIXUP_HP_DOCK_GPIO_MIC1_LED),
9222 SND_PCI_QUIRK(0x103c, 0x225f, "HP", ALC280_FIXUP_HP_GPIO2_MIC_HOTKEY),
9223 SND_PCI_QUIRK(0x103c, 0x2260, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9224 SND_PCI_QUIRK(0x103c, 0x2263, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9225 SND_PCI_QUIRK(0x103c, 0x2264, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9226 SND_PCI_QUIRK(0x103c, 0x2265, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9227 SND_PCI_QUIRK(0x103c, 0x2268, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9228 SND_PCI_QUIRK(0x103c, 0x226a, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9229 SND_PCI_QUIRK(0x103c, 0x226b, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9230 SND_PCI_QUIRK(0x103c, 0x226e, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9231 SND_PCI_QUIRK(0x103c, 0x2271, "HP", ALC286_FIXUP_HP_GPIO_LED),
9232 SND_PCI_QUIRK(0x103c, 0x2272, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9233 SND_PCI_QUIRK(0x103c, 0x2272, "HP", ALC280_FIXUP_HP_DOCK_PINS),
9234 SND_PCI_QUIRK(0x103c, 0x2273, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9235 SND_PCI_QUIRK(0x103c, 0x2273, "HP", ALC280_FIXUP_HP_DOCK_PINS),
9236 SND_PCI_QUIRK(0x103c, 0x2278, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9237 SND_PCI_QUIRK(0x103c, 0x227f, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9238 SND_PCI_QUIRK(0x103c, 0x2282, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9239 SND_PCI_QUIRK(0x103c, 0x228b, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9240 SND_PCI_QUIRK(0x103c, 0x228e, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9241 SND_PCI_QUIRK(0x103c, 0x229e, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9242 SND_PCI_QUIRK(0x103c, 0x22b2, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9243 SND_PCI_QUIRK(0x103c, 0x22b7, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9244 SND_PCI_QUIRK(0x103c, 0x22bf, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9245 SND_PCI_QUIRK(0x103c, 0x22c4, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9246 SND_PCI_QUIRK(0x103c, 0x22c5, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9247 SND_PCI_QUIRK(0x103c, 0x22c7, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9248 SND_PCI_QUIRK(0x103c, 0x22c8, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9249 SND_PCI_QUIRK(0x103c, 0x22cf, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9250 SND_PCI_QUIRK(0x103c, 0x22db, "HP", ALC280_FIXUP_HP_9480M),
9251 SND_PCI_QUIRK(0x103c, 0x22dc, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9252 SND_PCI_QUIRK(0x103c, 0x22fb, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED),
9253 SND_PCI_QUIRK(0x103c, 0x2334, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9254 SND_PCI_QUIRK(0x103c, 0x2335, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9255 SND_PCI_QUIRK(0x103c, 0x2336, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9256 SND_PCI_QUIRK(0x103c, 0x2337, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
9257 SND_PCI_QUIRK(0x103c, 0x2b5e, "HP 288 Pro G2 MT", ALC221_FIXUP_HP_288PRO_MIC_NO_PRESENCE),
9258 SND_PCI_QUIRK(0x103c, 0x802e, "HP Z240 SFF", ALC221_FIXUP_HP_MIC_NO_PRESENCE),
9259 SND_PCI_QUIRK(0x103c, 0x802f, "HP Z240", ALC221_FIXUP_HP_MIC_NO_PRESENCE),
9260 SND_PCI_QUIRK(0x103c, 0x8077, "HP", ALC256_FIXUP_HP_HEADSET_MIC),
9261 SND_PCI_QUIRK(0x103c, 0x8158, "HP", ALC256_FIXUP_HP_HEADSET_MIC),
9262 SND_PCI_QUIRK(0x103c, 0x820d, "HP Pavilion 15", ALC269_FIXUP_HP_MUTE_LED_MIC3),
9263 SND_PCI_QUIRK(0x103c, 0x8256, "HP", ALC221_FIXUP_HP_FRONT_MIC),
9264 SND_PCI_QUIRK(0x103c, 0x827e, "HP x360", ALC295_FIXUP_HP_X360),
9265 SND_PCI_QUIRK(0x103c, 0x827f, "HP x360", ALC269_FIXUP_HP_MUTE_LED_MIC3),
9266 SND_PCI_QUIRK(0x103c, 0x82bf, "HP G3 mini", ALC221_FIXUP_HP_MIC_NO_PRESENCE),
9267 SND_PCI_QUIRK(0x103c, 0x82c0, "HP G3 mini premium", ALC221_FIXUP_HP_MIC_NO_PRESENCE),
9268 SND_PCI_QUIRK(0x103c, 0x83b9, "HP Spectre x360", ALC269_FIXUP_HP_MUTE_LED_MIC3),
9269 SND_PCI_QUIRK(0x103c, 0x841c, "HP Pavilion 15-CK0xx", ALC269_FIXUP_HP_MUTE_LED_MIC3),
9270 SND_PCI_QUIRK(0x103c, 0x8497, "HP Envy x360", ALC269_FIXUP_HP_MUTE_LED_MIC3),
9271 SND_PCI_QUIRK(0x103c, 0x84da, "HP OMEN dc0019-ur", ALC295_FIXUP_HP_OMEN),
9272 SND_PCI_QUIRK(0x103c, 0x84e7, "HP Pavilion 15", ALC269_FIXUP_HP_MUTE_LED_MIC3),
9273 SND_PCI_QUIRK(0x103c, 0x8519, "HP Spectre x360 15-df0xxx", ALC285_FIXUP_HP_SPECTRE_X360),
9274 SND_PCI_QUIRK(0x103c, 0x860f, "HP ZBook 15 G6", ALC285_FIXUP_HP_GPIO_AMP_INIT),
9275 SND_PCI_QUIRK(0x103c, 0x861f, "HP Elite Dragonfly G1", ALC285_FIXUP_HP_GPIO_AMP_INIT),
9276 SND_PCI_QUIRK(0x103c, 0x869d, "HP", ALC236_FIXUP_HP_MUTE_LED),
9277 SND_PCI_QUIRK(0x103c, 0x86c7, "HP Envy AiO 32", ALC274_FIXUP_HP_ENVY_GPIO),
9278 SND_PCI_QUIRK(0x103c, 0x86e7, "HP Spectre x360 15-eb0xxx", ALC285_FIXUP_HP_SPECTRE_X360_EB1),
9279 SND_PCI_QUIRK(0x103c, 0x86e8, "HP Spectre x360 15-eb0xxx", ALC285_FIXUP_HP_SPECTRE_X360_EB1),
9280 SND_PCI_QUIRK(0x103c, 0x8716, "HP Elite Dragonfly G2 Notebook PC", ALC285_FIXUP_HP_GPIO_AMP_INIT),
9281 …SND_PCI_QUIRK(0x103c, 0x8720, "HP EliteBook x360 1040 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_AMP_IN…
9282 SND_PCI_QUIRK(0x103c, 0x8724, "HP EliteBook 850 G7", ALC285_FIXUP_HP_GPIO_LED),
9283 SND_PCI_QUIRK(0x103c, 0x8728, "HP EliteBook 840 G7", ALC285_FIXUP_HP_GPIO_LED),
9284 SND_PCI_QUIRK(0x103c, 0x8729, "HP", ALC285_FIXUP_HP_GPIO_LED),
9285 SND_PCI_QUIRK(0x103c, 0x8730, "HP ProBook 445 G7", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF),
9286 SND_PCI_QUIRK(0x103c, 0x8735, "HP ProBook 435 G7", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF),
9287 SND_PCI_QUIRK(0x103c, 0x8736, "HP", ALC285_FIXUP_HP_GPIO_AMP_INIT),
9288 SND_PCI_QUIRK(0x103c, 0x8760, "HP", ALC285_FIXUP_HP_MUTE_LED),
9289 SND_PCI_QUIRK(0x103c, 0x877a, "HP", ALC285_FIXUP_HP_MUTE_LED),
9290 SND_PCI_QUIRK(0x103c, 0x877d, "HP", ALC236_FIXUP_HP_MUTE_LED),
9291 SND_PCI_QUIRK(0x103c, 0x8780, "HP ZBook Fury 17 G7 Mobile Workstation",
9293 SND_PCI_QUIRK(0x103c, 0x8783, "HP ZBook Fury 15 G7 Mobile Workstation",
9295 SND_PCI_QUIRK(0x103c, 0x8786, "HP OMEN 15", ALC285_FIXUP_HP_MUTE_LED),
9296 SND_PCI_QUIRK(0x103c, 0x8787, "HP OMEN 15", ALC285_FIXUP_HP_MUTE_LED),
9297 SND_PCI_QUIRK(0x103c, 0x8788, "HP OMEN 15", ALC285_FIXUP_HP_MUTE_LED),
9298 SND_PCI_QUIRK(0x103c, 0x87c8, "HP", ALC287_FIXUP_HP_GPIO_LED),
9299 SND_PCI_QUIRK(0x103c, 0x87e5, "HP ProBook 440 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED),
9300 SND_PCI_QUIRK(0x103c, 0x87e7, "HP ProBook 450 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED),
9301 SND_PCI_QUIRK(0x103c, 0x87f1, "HP ProBook 630 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED),
9302 SND_PCI_QUIRK(0x103c, 0x87f2, "HP ProBook 640 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED),
9303 SND_PCI_QUIRK(0x103c, 0x87f4, "HP", ALC287_FIXUP_HP_GPIO_LED),
9304 SND_PCI_QUIRK(0x103c, 0x87f5, "HP", ALC287_FIXUP_HP_GPIO_LED),
9305 SND_PCI_QUIRK(0x103c, 0x87f6, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP),
9306 SND_PCI_QUIRK(0x103c, 0x87f7, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP),
9307 SND_PCI_QUIRK(0x103c, 0x8805, "HP ProBook 650 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED),
9308 SND_PCI_QUIRK(0x103c, 0x880d, "HP EliteBook 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED),
9309 SND_PCI_QUIRK(0x103c, 0x8811, "HP Spectre x360 15-eb1xxx", ALC285_FIXUP_HP_SPECTRE_X360_EB1),
9310 SND_PCI_QUIRK(0x103c, 0x8812, "HP Spectre x360 15-eb1xxx", ALC285_FIXUP_HP_SPECTRE_X360_EB1),
9311 SND_PCI_QUIRK(0x103c, 0x8846, "HP EliteBook 850 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED),
9312 SND_PCI_QUIRK(0x103c, 0x8847, "HP EliteBook x360 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED),
9313 SND_PCI_QUIRK(0x103c, 0x884b, "HP EliteBook 840 Aero G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED),
9314 SND_PCI_QUIRK(0x103c, 0x884c, "HP EliteBook 840 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED),
9315 …SND_PCI_QUIRK(0x103c, 0x8862, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_LIMIT_INT_MIC_BOOST…
9316 …SND_PCI_QUIRK(0x103c, 0x8863, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_LIMIT_INT_MIC_BOOST…
9317 …SND_PCI_QUIRK(0x103c, 0x886d, "HP ZBook Fury 17.3 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_…
9318 …SND_PCI_QUIRK(0x103c, 0x8870, "HP ZBook Fury 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_…
9319 …SND_PCI_QUIRK(0x103c, 0x8873, "HP ZBook Studio 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_H…
9320 …SND_PCI_QUIRK(0x103c, 0x888d, "HP ZBook Power 15.6 inch G8 Mobile Workstation PC", ALC236_FIXUP_HP…
9321 …SND_PCI_QUIRK(0x103c, 0x8895, "HP EliteBook 855 G8 Notebook PC", ALC285_FIXUP_HP_SPEAKERS_MICMUTE_…
9322 SND_PCI_QUIRK(0x103c, 0x8896, "HP EliteBook 855 G8 Notebook PC", ALC285_FIXUP_HP_MUTE_LED),
9323 …SND_PCI_QUIRK(0x103c, 0x8898, "HP EliteBook 845 G8 Notebook PC", ALC285_FIXUP_HP_LIMIT_INT_MIC_BOO…
9324 SND_PCI_QUIRK(0x103c, 0x88d0, "HP Pavilion 15-eh1xxx (mainboard 88D0)", ALC287_FIXUP_HP_GPIO_LED),
9325 SND_PCI_QUIRK(0x103c, 0x8902, "HP OMEN 16", ALC285_FIXUP_HP_MUTE_LED),
9326 SND_PCI_QUIRK(0x103c, 0x896d, "HP ZBook Firefly 16 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
9327 SND_PCI_QUIRK(0x103c, 0x896e, "HP EliteBook x360 830 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
9328 SND_PCI_QUIRK(0x103c, 0x8971, "HP EliteBook 830 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
9329 SND_PCI_QUIRK(0x103c, 0x8972, "HP EliteBook 840 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
9330 SND_PCI_QUIRK(0x103c, 0x8973, "HP EliteBook 860 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
9331 SND_PCI_QUIRK(0x103c, 0x8974, "HP EliteBook 840 Aero G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
9332 …SND_PCI_QUIRK(0x103c, 0x8975, "HP EliteBook x360 840 Aero G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_…
9333 SND_PCI_QUIRK(0x103c, 0x8981, "HP Elite Dragonfly G3", ALC245_FIXUP_CS35L41_SPI_4),
9334 SND_PCI_QUIRK(0x103c, 0x898e, "HP EliteBook 835 G9", ALC287_FIXUP_CS35L41_I2C_2),
9335 SND_PCI_QUIRK(0x103c, 0x898f, "HP EliteBook 835 G9", ALC287_FIXUP_CS35L41_I2C_2),
9336 SND_PCI_QUIRK(0x103c, 0x8991, "HP EliteBook 845 G9", ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED),
9337 SND_PCI_QUIRK(0x103c, 0x8992, "HP EliteBook 845 G9", ALC287_FIXUP_CS35L41_I2C_2),
9338 SND_PCI_QUIRK(0x103c, 0x8994, "HP EliteBook 855 G9", ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED),
9339 SND_PCI_QUIRK(0x103c, 0x8995, "HP EliteBook 855 G9", ALC287_FIXUP_CS35L41_I2C_2),
9340 SND_PCI_QUIRK(0x103c, 0x89a4, "HP ProBook 440 G9", ALC236_FIXUP_HP_GPIO_LED),
9341 SND_PCI_QUIRK(0x103c, 0x89a6, "HP ProBook 450 G9", ALC236_FIXUP_HP_GPIO_LED),
9342 SND_PCI_QUIRK(0x103c, 0x89aa, "HP EliteBook 630 G9", ALC236_FIXUP_HP_GPIO_LED),
9343 SND_PCI_QUIRK(0x103c, 0x89ac, "HP EliteBook 640 G9", ALC236_FIXUP_HP_GPIO_LED),
9344 SND_PCI_QUIRK(0x103c, 0x89ae, "HP EliteBook 650 G9", ALC236_FIXUP_HP_GPIO_LED),
9345 SND_PCI_QUIRK(0x103c, 0x89c0, "HP ZBook Power 15.6 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
9346 SND_PCI_QUIRK(0x103c, 0x89c3, "Zbook Studio G9", ALC245_FIXUP_CS35L41_SPI_4_HP_GPIO_LED),
9347 SND_PCI_QUIRK(0x103c, 0x89c6, "Zbook Fury 17 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
9348 SND_PCI_QUIRK(0x103c, 0x89ca, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF),
9349 SND_PCI_QUIRK(0x103c, 0x8a78, "HP Dev One", ALC285_FIXUP_HP_LIMIT_INT_MIC_BOOST),
9350 SND_PCI_QUIRK(0x103c, 0x8aa0, "HP ProBook 440 G9 (MB 8A9E)", ALC236_FIXUP_HP_GPIO_LED),
9351 SND_PCI_QUIRK(0x103c, 0x8aa3, "HP ProBook 450 G9 (MB 8AA1)", ALC236_FIXUP_HP_GPIO_LED),
9352 SND_PCI_QUIRK(0x103c, 0x8aa8, "HP EliteBook 640 G9 (MB 8AA6)", ALC236_FIXUP_HP_GPIO_LED),
9353 SND_PCI_QUIRK(0x103c, 0x8aab, "HP EliteBook 650 G9 (MB 8AA9)", ALC236_FIXUP_HP_GPIO_LED),
9354 SND_PCI_QUIRK(0x103c, 0x8abb, "HP ZBook Firefly 14 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
9355 …SND_PCI_QUIRK(0x103c, 0x8ad1, "HP EliteBook 840 14 inch G9 Notebook PC", ALC245_FIXUP_CS35L41_SPI_…
9356 …SND_PCI_QUIRK(0x103c, 0x8ad2, "HP EliteBook 860 16 inch G9 Notebook PC", ALC245_FIXUP_CS35L41_SPI_…
9357 SND_PCI_QUIRK(0x1043, 0x103e, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC),
9358 SND_PCI_QUIRK(0x1043, 0x103f, "ASUS TX300", ALC282_FIXUP_ASUS_TX300),
9359 SND_PCI_QUIRK(0x1043, 0x106d, "Asus K53BE", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
9360 SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK),
9361 SND_PCI_QUIRK(0x1043, 0x10c0, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC),
9362 SND_PCI_QUIRK(0x1043, 0x10d0, "ASUS X540LA/X540LJ", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
9363 SND_PCI_QUIRK(0x1043, 0x115d, "Asus 1015E", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
9364 SND_PCI_QUIRK(0x1043, 0x11c0, "ASUS X556UR", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
9365 SND_PCI_QUIRK(0x1043, 0x125e, "ASUS Q524UQK", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
9366 SND_PCI_QUIRK(0x1043, 0x1271, "ASUS X430UN", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE),
9367 SND_PCI_QUIRK(0x1043, 0x1290, "ASUS X441SA", ALC233_FIXUP_EAPD_COEF_AND_MIC_NO_PRESENCE),
9368 SND_PCI_QUIRK(0x1043, 0x12a0, "ASUS X441UV", ALC233_FIXUP_EAPD_COEF_AND_MIC_NO_PRESENCE),
9369 SND_PCI_QUIRK(0x1043, 0x12af, "ASUS UX582ZS", ALC245_FIXUP_CS35L41_SPI_2),
9370 SND_PCI_QUIRK(0x1043, 0x12e0, "ASUS X541SA", ALC256_FIXUP_ASUS_MIC),
9371 SND_PCI_QUIRK(0x1043, 0x12f0, "ASUS X541UV", ALC256_FIXUP_ASUS_MIC),
9372 SND_PCI_QUIRK(0x1043, 0x1313, "Asus K42JZ", ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE),
9373 SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC),
9374 SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_ZENBOOK),
9375 SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A),
9376 SND_PCI_QUIRK(0x1043, 0x1662, "ASUS GV301QH", ALC294_FIXUP_ASUS_DUAL_SPK),
9377 SND_PCI_QUIRK(0x1043, 0x16b2, "ASUS GU603", ALC289_FIXUP_ASUS_GA401),
9378 SND_PCI_QUIRK(0x1043, 0x16e3, "ASUS UX50", ALC269_FIXUP_STEREO_DMIC),
9379 SND_PCI_QUIRK(0x1043, 0x1740, "ASUS UX430UA", ALC295_FIXUP_ASUS_DACS),
9380 SND_PCI_QUIRK(0x1043, 0x17d1, "ASUS UX431FL", ALC294_FIXUP_ASUS_DUAL_SPK),
9381 SND_PCI_QUIRK(0x1043, 0x1881, "ASUS Zephyrus S/M", ALC294_FIXUP_ASUS_GX502_PINS),
9382 SND_PCI_QUIRK(0x1043, 0x18b1, "Asus MJ401TA", ALC256_FIXUP_ASUS_HEADSET_MIC),
9383 SND_PCI_QUIRK(0x1043, 0x18f1, "Asus FX505DT", ALC256_FIXUP_ASUS_HEADSET_MIC),
9384 SND_PCI_QUIRK(0x1043, 0x194e, "ASUS UX563FD", ALC294_FIXUP_ASUS_HPE),
9385 SND_PCI_QUIRK(0x1043, 0x1970, "ASUS UX550VE", ALC289_FIXUP_ASUS_GA401),
9386 SND_PCI_QUIRK(0x1043, 0x1982, "ASUS B1400CEPE", ALC256_FIXUP_ASUS_HPE),
9387 SND_PCI_QUIRK(0x1043, 0x19ce, "ASUS B9450FA", ALC294_FIXUP_ASUS_HPE),
9388 SND_PCI_QUIRK(0x1043, 0x19e1, "ASUS UX581LV", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE),
9389 SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW),
9390 SND_PCI_QUIRK(0x1043, 0x1a30, "ASUS X705UD", ALC256_FIXUP_ASUS_MIC),
9391 SND_PCI_QUIRK(0x1043, 0x1a8f, "ASUS UX582ZS", ALC245_FIXUP_CS35L41_SPI_2),
9392 SND_PCI_QUIRK(0x1043, 0x1b11, "ASUS UX431DA", ALC294_FIXUP_ASUS_COEF_1B),
9393 SND_PCI_QUIRK(0x1043, 0x1b13, "Asus U41SV", ALC269_FIXUP_INV_DMIC),
9394 SND_PCI_QUIRK(0x1043, 0x1bbd, "ASUS Z550MA", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
9395 SND_PCI_QUIRK(0x1043, 0x1c23, "Asus X55U", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
9396 SND_PCI_QUIRK(0x1043, 0x1c92, "ASUS ROG Strix G15", ALC285_FIXUP_ASUS_G533Z_PINS),
9397 SND_PCI_QUIRK(0x1043, 0x1ccd, "ASUS X555UB", ALC256_FIXUP_ASUS_MIC),
9398 SND_PCI_QUIRK(0x1043, 0x1d42, "ASUS Zephyrus G14 2022", ALC289_FIXUP_ASUS_GA401),
9399 SND_PCI_QUIRK(0x1043, 0x1d4e, "ASUS TM420", ALC256_FIXUP_ASUS_HPE),
9400 SND_PCI_QUIRK(0x1043, 0x1e02, "ASUS UX3402", ALC245_FIXUP_CS35L41_SPI_2),
9401 SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502),
9402 SND_PCI_QUIRK(0x1043, 0x1e51, "ASUS Zephyrus M15", ALC294_FIXUP_ASUS_GU502_PINS),
9403 SND_PCI_QUIRK(0x1043, 0x1e5e, "ASUS ROG Strix G513", ALC294_FIXUP_ASUS_G513_PINS),
9404 SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA401),
9405 SND_PCI_QUIRK(0x1043, 0x1c52, "ASUS Zephyrus G15 2022", ALC289_FIXUP_ASUS_GA401),
9406 SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_GA401),
9407 SND_PCI_QUIRK(0x1043, 0x1f12, "ASUS UM5302", ALC287_FIXUP_CS35L41_I2C_2),
9408 SND_PCI_QUIRK(0x1043, 0x1f92, "ASUS ROG Flow X16", ALC289_FIXUP_ASUS_GA401),
9409 SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", ALC256_FIXUP_ASUS_AIO_GPIO2),
9410 SND_PCI_QUIRK(0x1043, 0x831a, "ASUS P901", ALC269_FIXUP_STEREO_DMIC),
9411 SND_PCI_QUIRK(0x1043, 0x834a, "ASUS S101", ALC269_FIXUP_STEREO_DMIC),
9412 SND_PCI_QUIRK(0x1043, 0x8398, "ASUS P1005", ALC269_FIXUP_STEREO_DMIC),
9413 SND_PCI_QUIRK(0x1043, 0x83ce, "ASUS P1005", ALC269_FIXUP_STEREO_DMIC),
9414 SND_PCI_QUIRK(0x1043, 0x8516, "ASUS X101CH", ALC269_FIXUP_ASUS_X101),
9415 SND_PCI_QUIRK(0x104d, 0x9073, "Sony VAIO", ALC275_FIXUP_SONY_VAIO_GPIO2),
9416 SND_PCI_QUIRK(0x104d, 0x907b, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),
9417 SND_PCI_QUIRK(0x104d, 0x9084, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),
9418 SND_PCI_QUIRK(0x104d, 0x9099, "Sony VAIO S13", ALC275_FIXUP_SONY_DISABLE_AAMIX),
9419 SND_PCI_QUIRK(0x104d, 0x90b5, "Sony VAIO Pro 11", ALC286_FIXUP_SONY_MIC_NO_PRESENCE),
9420 SND_PCI_QUIRK(0x104d, 0x90b6, "Sony VAIO Pro 13", ALC286_FIXUP_SONY_MIC_NO_PRESENCE),
9421 SND_PCI_QUIRK(0x10cf, 0x1475, "Lifebook", ALC269_FIXUP_LIFEBOOK),
9422 SND_PCI_QUIRK(0x10cf, 0x159f, "Lifebook E780", ALC269_FIXUP_LIFEBOOK_NO_HP_TO_LINEOUT),
9423 SND_PCI_QUIRK(0x10cf, 0x15dc, "Lifebook T731", ALC269_FIXUP_LIFEBOOK_HP_PIN),
9424 SND_PCI_QUIRK(0x10cf, 0x1629, "Lifebook U7x7", ALC255_FIXUP_LIFEBOOK_U7x7_HEADSET_MIC),
9425 SND_PCI_QUIRK(0x10cf, 0x1757, "Lifebook E752", ALC269_FIXUP_LIFEBOOK_HP_PIN),
9426 SND_PCI_QUIRK(0x10cf, 0x1845, "Lifebook U904", ALC269_FIXUP_LIFEBOOK_EXTMIC),
9427 SND_PCI_QUIRK(0x10ec, 0x10f2, "Intel Reference board", ALC700_FIXUP_INTEL_REFERENCE),
9428 SND_PCI_QUIRK(0x10ec, 0x118c, "Medion EE4254 MD62100", ALC256_FIXUP_MEDION_HEADSET_NO_PRESENCE),
9429 SND_PCI_QUIRK(0x10ec, 0x1230, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
9430 SND_PCI_QUIRK(0x10ec, 0x124c, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
9431 SND_PCI_QUIRK(0x10ec, 0x1252, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
9432 SND_PCI_QUIRK(0x10ec, 0x1254, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
9433 SND_PCI_QUIRK(0x10f7, 0x8338, "Panasonic CF-SZ6", ALC269_FIXUP_HEADSET_MODE),
9434 SND_PCI_QUIRK(0x144d, 0xc109, "Samsung Ativ book 9 (NP900X3G)", ALC269_FIXUP_INV_DMIC),
9435 SND_PCI_QUIRK(0x144d, 0xc169, "Samsung Notebook 9 Pen (NP930SBE-K01US)", ALC298_FIXUP_SAMSUNG_AMP),
9436 SND_PCI_QUIRK(0x144d, 0xc176, "Samsung Notebook 9 Pro (NP930MBE-K04US)", ALC298_FIXUP_SAMSUNG_AMP),
9437 …SND_PCI_QUIRK(0x144d, 0xc189, "Samsung Galaxy Flex Book (NT950QCG-X716)", ALC298_FIXUP_SAMSUNG_AMP…
9438 …SND_PCI_QUIRK(0x144d, 0xc18a, "Samsung Galaxy Book Ion (NP930XCJ-K01US)", ALC298_FIXUP_SAMSUNG_AMP…
9439 …SND_PCI_QUIRK(0x144d, 0xc1a3, "Samsung Galaxy Book Pro (NP935XDB-KC1SE)", ALC298_FIXUP_SAMSUNG_AMP…
9440 SND_PCI_QUIRK(0x144d, 0xc1a6, "Samsung Galaxy Book Pro 360 (NP930QBD)", ALC298_FIXUP_SAMSUNG_AMP),
9441 SND_PCI_QUIRK(0x144d, 0xc740, "Samsung Ativ book 8 (NP870Z5G)", ALC269_FIXUP_ATIV_BOOK_8),
9442 SND_PCI_QUIRK(0x144d, 0xc812, "Samsung Notebook Pen S (NT950SBE-X58)", ALC298_FIXUP_SAMSUNG_AMP),
9443 …SND_PCI_QUIRK(0x144d, 0xc830, "Samsung Galaxy Book Ion (NT950XCJ-X716A)", ALC298_FIXUP_SAMSUNG_AMP…
9444 …SND_PCI_QUIRK(0x144d, 0xc832, "Samsung Galaxy Book Flex Alpha (NP730QCJ)", ALC256_FIXUP_SAMSUNG_HE…
9445 SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC),
9446 SND_PCI_QUIRK(0x1462, 0xb120, "MSI Cubi MS-B120", ALC283_FIXUP_HEADSET_MIC),
9447 SND_PCI_QUIRK(0x1462, 0xb171, "Cubi N 8GL (MS-B171)", ALC283_FIXUP_HEADSET_MIC),
9448 SND_PCI_QUIRK(0x152d, 0x1082, "Quanta NL3", ALC269_FIXUP_LIFEBOOK),
9449 SND_PCI_QUIRK(0x1558, 0x1323, "Clevo N130ZU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9450 SND_PCI_QUIRK(0x1558, 0x1325, "Clevo N15[01][CW]U", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9451 SND_PCI_QUIRK(0x1558, 0x1401, "Clevo L140[CZ]U", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9452 SND_PCI_QUIRK(0x1558, 0x1403, "Clevo N140CU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9453 SND_PCI_QUIRK(0x1558, 0x1404, "Clevo N150CU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9454 SND_PCI_QUIRK(0x1558, 0x14a1, "Clevo L141MU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9455 SND_PCI_QUIRK(0x1558, 0x4018, "Clevo NV40M[BE]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9456 SND_PCI_QUIRK(0x1558, 0x4019, "Clevo NV40MZ", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9457 SND_PCI_QUIRK(0x1558, 0x4020, "Clevo NV40MB", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9458 SND_PCI_QUIRK(0x1558, 0x4041, "Clevo NV4[15]PZ", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9459 SND_PCI_QUIRK(0x1558, 0x40a1, "Clevo NL40GU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9460 SND_PCI_QUIRK(0x1558, 0x40c1, "Clevo NL40[CZ]U", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9461 SND_PCI_QUIRK(0x1558, 0x40d1, "Clevo NL41DU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9462 SND_PCI_QUIRK(0x1558, 0x5015, "Clevo NH5[58]H[HJK]Q", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9463 SND_PCI_QUIRK(0x1558, 0x5017, "Clevo NH7[79]H[HJK]Q", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9464 SND_PCI_QUIRK(0x1558, 0x50a3, "Clevo NJ51GU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9465 SND_PCI_QUIRK(0x1558, 0x50b3, "Clevo NK50S[BEZ]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9466 SND_PCI_QUIRK(0x1558, 0x50b6, "Clevo NK50S5", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9467 SND_PCI_QUIRK(0x1558, 0x50b8, "Clevo NK50SZ", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9468 SND_PCI_QUIRK(0x1558, 0x50d5, "Clevo NP50D5", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9469 SND_PCI_QUIRK(0x1558, 0x50e1, "Clevo NH5[58]HPQ", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9470 SND_PCI_QUIRK(0x1558, 0x50e2, "Clevo NH7[79]HPQ", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9471 SND_PCI_QUIRK(0x1558, 0x50f0, "Clevo NH50A[CDF]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9472 SND_PCI_QUIRK(0x1558, 0x50f2, "Clevo NH50E[PR]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9473 SND_PCI_QUIRK(0x1558, 0x50f3, "Clevo NH58DPQ", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9474 SND_PCI_QUIRK(0x1558, 0x50f5, "Clevo NH55EPY", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9475 SND_PCI_QUIRK(0x1558, 0x50f6, "Clevo NH55DPQ", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9476 SND_PCI_QUIRK(0x1558, 0x5101, "Clevo S510WU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9477 SND_PCI_QUIRK(0x1558, 0x5157, "Clevo W517GU1", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9478 SND_PCI_QUIRK(0x1558, 0x51a1, "Clevo NS50MU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9479 SND_PCI_QUIRK(0x1558, 0x70a1, "Clevo NB70T[HJK]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9480 SND_PCI_QUIRK(0x1558, 0x70b3, "Clevo NK70SB", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9481 SND_PCI_QUIRK(0x1558, 0x70f2, "Clevo NH79EPY", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9482 SND_PCI_QUIRK(0x1558, 0x70f3, "Clevo NH77DPQ", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9483 SND_PCI_QUIRK(0x1558, 0x70f4, "Clevo NH77EPY", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9484 SND_PCI_QUIRK(0x1558, 0x70f6, "Clevo NH77DPQ-Y", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9485 SND_PCI_QUIRK(0x1558, 0x7716, "Clevo NS50PU", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9486 SND_PCI_QUIRK(0x1558, 0x7717, "Clevo NS70PU", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9487 SND_PCI_QUIRK(0x1558, 0x7718, "Clevo L140PU", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9488 SND_PCI_QUIRK(0x1558, 0x8228, "Clevo NR40BU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9489 SND_PCI_QUIRK(0x1558, 0x8520, "Clevo NH50D[CD]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9490 SND_PCI_QUIRK(0x1558, 0x8521, "Clevo NH77D[CD]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9491 SND_PCI_QUIRK(0x1558, 0x8535, "Clevo NH50D[BE]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9492 SND_PCI_QUIRK(0x1558, 0x8536, "Clevo NH79D[BE]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9493 …SND_PCI_QUIRK(0x1558, 0x8550, "Clevo NH[57][0-9][ER][ACDH]Q", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENC…
9494 …SND_PCI_QUIRK(0x1558, 0x8551, "Clevo NH[57][0-9][ER][ACDH]Q", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENC…
9495 SND_PCI_QUIRK(0x1558, 0x8560, "Clevo NH[57][0-9][ER][ACDH]Q", ALC269_FIXUP_HEADSET_MIC),
9496 SND_PCI_QUIRK(0x1558, 0x8561, "Clevo NH[57][0-9][ER][ACDH]Q", ALC269_FIXUP_HEADSET_MIC),
9497 SND_PCI_QUIRK(0x1558, 0x8562, "Clevo NH[57][0-9]RZ[Q]", ALC269_FIXUP_DMIC),
9498 SND_PCI_QUIRK(0x1558, 0x8668, "Clevo NP50B[BE]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9499 SND_PCI_QUIRK(0x1558, 0x866d, "Clevo NP5[05]PN[HJK]", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9500 SND_PCI_QUIRK(0x1558, 0x867c, "Clevo NP7[01]PNP", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9501 SND_PCI_QUIRK(0x1558, 0x867d, "Clevo NP7[01]PN[HJK]", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9502 SND_PCI_QUIRK(0x1558, 0x8680, "Clevo NJ50LU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9503 SND_PCI_QUIRK(0x1558, 0x8686, "Clevo NH50[CZ]U", ALC256_FIXUP_MIC_NO_PRESENCE_AND_RESUME),
9504 SND_PCI_QUIRK(0x1558, 0x8a20, "Clevo NH55DCQ-Y", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9505 SND_PCI_QUIRK(0x1558, 0x8a51, "Clevo NH70RCQ-Y", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9506 SND_PCI_QUIRK(0x1558, 0x8d50, "Clevo NH55RCQ-M", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9507 SND_PCI_QUIRK(0x1558, 0x951d, "Clevo N950T[CDF]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9508 SND_PCI_QUIRK(0x1558, 0x9600, "Clevo N960K[PR]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9509 SND_PCI_QUIRK(0x1558, 0x961d, "Clevo N960S[CDF]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9510 SND_PCI_QUIRK(0x1558, 0x971d, "Clevo N970T[CDF]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9511 SND_PCI_QUIRK(0x1558, 0xa500, "Clevo NL5[03]RU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9512 SND_PCI_QUIRK(0x1558, 0xa600, "Clevo NL50NU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9513 SND_PCI_QUIRK(0x1558, 0xb018, "Clevo NP50D[BE]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9514 SND_PCI_QUIRK(0x1558, 0xb019, "Clevo NH77D[BE]Q", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9515 SND_PCI_QUIRK(0x1558, 0xb022, "Clevo NH77D[DC][QW]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9516 SND_PCI_QUIRK(0x1558, 0xc018, "Clevo NP50D[BE]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9517 SND_PCI_QUIRK(0x1558, 0xc019, "Clevo NH77D[BE]Q", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9518 SND_PCI_QUIRK(0x1558, 0xc022, "Clevo NH77[DC][QW]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
9519 SND_PCI_QUIRK(0x17aa, 0x1036, "Lenovo P520", ALC233_FIXUP_LENOVO_MULTI_CODECS),
9520 SND_PCI_QUIRK(0x17aa, 0x1048, "ThinkCentre Station", ALC623_FIXUP_LENOVO_THINKSTATION_P340),
9521 SND_PCI_QUIRK(0x17aa, 0x20f2, "Thinkpad SL410/510", ALC269_FIXUP_SKU_IGNORE),
9522 SND_PCI_QUIRK(0x17aa, 0x215e, "Thinkpad L512", ALC269_FIXUP_SKU_IGNORE),
9523 SND_PCI_QUIRK(0x17aa, 0x21b8, "Thinkpad Edge 14", ALC269_FIXUP_SKU_IGNORE),
9524 SND_PCI_QUIRK(0x17aa, 0x21ca, "Thinkpad L412", ALC269_FIXUP_SKU_IGNORE),
9525 SND_PCI_QUIRK(0x17aa, 0x21e9, "Thinkpad Edge 15", ALC269_FIXUP_SKU_IGNORE),
9526 SND_PCI_QUIRK(0x17aa, 0x21f3, "Thinkpad T430", ALC269_FIXUP_LENOVO_DOCK),
9527 SND_PCI_QUIRK(0x17aa, 0x21f6, "Thinkpad T530", ALC269_FIXUP_LENOVO_DOCK_LIMIT_BOOST),
9528 SND_PCI_QUIRK(0x17aa, 0x21fa, "Thinkpad X230", ALC269_FIXUP_LENOVO_DOCK),
9529 SND_PCI_QUIRK(0x17aa, 0x21fb, "Thinkpad T430s", ALC269_FIXUP_LENOVO_DOCK),
9530 SND_PCI_QUIRK(0x17aa, 0x2203, "Thinkpad X230 Tablet", ALC269_FIXUP_LENOVO_DOCK),
9531 SND_PCI_QUIRK(0x17aa, 0x2208, "Thinkpad T431s", ALC269_FIXUP_LENOVO_DOCK),
9532 SND_PCI_QUIRK(0x17aa, 0x220c, "Thinkpad T440s", ALC292_FIXUP_TPT440),
9533 SND_PCI_QUIRK(0x17aa, 0x220e, "Thinkpad T440p", ALC292_FIXUP_TPT440_DOCK),
9534 SND_PCI_QUIRK(0x17aa, 0x2210, "Thinkpad T540p", ALC292_FIXUP_TPT440_DOCK),
9535 SND_PCI_QUIRK(0x17aa, 0x2211, "Thinkpad W541", ALC292_FIXUP_TPT440_DOCK),
9536 SND_PCI_QUIRK(0x17aa, 0x2212, "Thinkpad T440", ALC292_FIXUP_TPT440_DOCK),
9537 SND_PCI_QUIRK(0x17aa, 0x2214, "Thinkpad X240", ALC292_FIXUP_TPT440_DOCK),
9538 SND_PCI_QUIRK(0x17aa, 0x2215, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
9539 SND_PCI_QUIRK(0x17aa, 0x2218, "Thinkpad X1 Carbon 2nd", ALC292_FIXUP_TPT440_DOCK),
9540 SND_PCI_QUIRK(0x17aa, 0x2223, "ThinkPad T550", ALC292_FIXUP_TPT440_DOCK),
9541 SND_PCI_QUIRK(0x17aa, 0x2226, "ThinkPad X250", ALC292_FIXUP_TPT440_DOCK),
9542 SND_PCI_QUIRK(0x17aa, 0x222d, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9543 SND_PCI_QUIRK(0x17aa, 0x222e, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9544 SND_PCI_QUIRK(0x17aa, 0x2231, "Thinkpad T560", ALC292_FIXUP_TPT460),
9545 SND_PCI_QUIRK(0x17aa, 0x2233, "Thinkpad", ALC292_FIXUP_TPT460),
9546 SND_PCI_QUIRK(0x17aa, 0x2245, "Thinkpad T470", ALC298_FIXUP_TPT470_DOCK),
9547 SND_PCI_QUIRK(0x17aa, 0x2246, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9548 SND_PCI_QUIRK(0x17aa, 0x2247, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9549 SND_PCI_QUIRK(0x17aa, 0x2249, "Thinkpad", ALC292_FIXUP_TPT460),
9550 SND_PCI_QUIRK(0x17aa, 0x224b, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9551 SND_PCI_QUIRK(0x17aa, 0x224c, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9552 SND_PCI_QUIRK(0x17aa, 0x224d, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9553 SND_PCI_QUIRK(0x17aa, 0x225d, "Thinkpad T480", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
9554 SND_PCI_QUIRK(0x17aa, 0x2292, "Thinkpad X1 Carbon 7th", ALC285_FIXUP_THINKPAD_HEADSET_JACK),
9555 SND_PCI_QUIRK(0x17aa, 0x22be, "Thinkpad X1 Carbon 8th", ALC285_FIXUP_THINKPAD_HEADSET_JACK),
9556 SND_PCI_QUIRK(0x17aa, 0x22c1, "Thinkpad P1 Gen 3", ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK),
9557 …SND_PCI_QUIRK(0x17aa, 0x22c2, "Thinkpad X1 Extreme Gen 3", ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADS…
9558 SND_PCI_QUIRK(0x17aa, 0x22f1, "Thinkpad", ALC287_FIXUP_CS35L41_I2C_2),
9559 SND_PCI_QUIRK(0x17aa, 0x22f2, "Thinkpad", ALC287_FIXUP_CS35L41_I2C_2),
9560 SND_PCI_QUIRK(0x17aa, 0x22f3, "Thinkpad", ALC287_FIXUP_CS35L41_I2C_2),
9561 SND_PCI_QUIRK(0x17aa, 0x30bb, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
9562 SND_PCI_QUIRK(0x17aa, 0x30e2, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
9563 SND_PCI_QUIRK(0x17aa, 0x310c, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION),
9564 SND_PCI_QUIRK(0x17aa, 0x3111, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION),
9565 SND_PCI_QUIRK(0x17aa, 0x312a, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION),
9566 SND_PCI_QUIRK(0x17aa, 0x312f, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION),
9567 SND_PCI_QUIRK(0x17aa, 0x313c, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION),
9568 SND_PCI_QUIRK(0x17aa, 0x3151, "ThinkCentre Station", ALC283_FIXUP_HEADSET_MIC),
9569 SND_PCI_QUIRK(0x17aa, 0x3176, "ThinkCentre Station", ALC283_FIXUP_HEADSET_MIC),
9570 SND_PCI_QUIRK(0x17aa, 0x3178, "ThinkCentre Station", ALC283_FIXUP_HEADSET_MIC),
9571 SND_PCI_QUIRK(0x17aa, 0x31af, "ThinkCentre Station", ALC623_FIXUP_LENOVO_THINKSTATION_P340),
9572 SND_PCI_QUIRK(0x17aa, 0x3801, "Lenovo Yoga9 14IAP7", ALC287_FIXUP_YOGA9_14IAP7_BASS_SPK_PIN),
9573 SND_PCI_QUIRK(0x17aa, 0x3802, "Lenovo Yoga DuetITL 2021", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
9574 SND_PCI_QUIRK(0x17aa, 0x3813, "Legion 7i 15IMHG05", ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS),
9575 SND_PCI_QUIRK(0x17aa, 0x3818, "Lenovo C940 / Yoga Duet 7", ALC298_FIXUP_LENOVO_C940_DUET7),
9576 SND_PCI_QUIRK(0x17aa, 0x3819, "Lenovo 13s Gen2 ITL", ALC287_FIXUP_13S_GEN2_SPEAKERS),
9577 SND_PCI_QUIRK(0x17aa, 0x3820, "Yoga Duet 7 13ITL6", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
9578 SND_PCI_QUIRK(0x17aa, 0x3824, "Legion Y9000X 2020", ALC285_FIXUP_LEGION_Y9000X_SPEAKERS),
9579 SND_PCI_QUIRK(0x17aa, 0x3827, "Ideapad S740", ALC285_FIXUP_IDEAPAD_S740_COEF),
9580 SND_PCI_QUIRK(0x17aa, 0x3834, "Lenovo IdeaPad Slim 9i 14ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
9581 SND_PCI_QUIRK(0x17aa, 0x383d, "Legion Y9000X 2019", ALC285_FIXUP_LEGION_Y9000X_SPEAKERS),
9582 SND_PCI_QUIRK(0x17aa, 0x3843, "Yoga 9i", ALC287_FIXUP_IDEAPAD_BASS_SPK_AMP),
9583 SND_PCI_QUIRK(0x17aa, 0x3847, "Legion 7 16ACHG6", ALC287_FIXUP_LEGION_16ACHG6),
9584 SND_PCI_QUIRK(0x17aa, 0x384a, "Lenovo Yoga 7 15ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
9585 SND_PCI_QUIRK(0x17aa, 0x3852, "Lenovo Yoga 7 14ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
9586 SND_PCI_QUIRK(0x17aa, 0x3853, "Lenovo Yoga 7 15ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
9587 SND_PCI_QUIRK(0x17aa, 0x3855, "Legion 7 16ITHG6", ALC287_FIXUP_LEGION_16ITHG6),
9588 SND_PCI_QUIRK(0x17aa, 0x3869, "Lenovo Yoga7 14IAL7", ALC287_FIXUP_YOGA9_14IAP7_BASS_SPK_PIN),
9589 SND_PCI_QUIRK(0x17aa, 0x3902, "Lenovo E50-80", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
9590 SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC),
9591 SND_PCI_QUIRK(0x17aa, 0x3978, "Lenovo B50-70", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
9592 SND_PCI_QUIRK(0x17aa, 0x3bf8, "Quanta FL1", ALC269_FIXUP_PCM_44K),
9593 SND_PCI_QUIRK(0x17aa, 0x5013, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
9594 SND_PCI_QUIRK(0x17aa, 0x501a, "Thinkpad", ALC283_FIXUP_INT_MIC),
9595 SND_PCI_QUIRK(0x17aa, 0x501e, "Thinkpad L440", ALC292_FIXUP_TPT440_DOCK),
9596 SND_PCI_QUIRK(0x17aa, 0x5026, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
9597 SND_PCI_QUIRK(0x17aa, 0x5034, "Thinkpad T450", ALC292_FIXUP_TPT440_DOCK),
9598 SND_PCI_QUIRK(0x17aa, 0x5036, "Thinkpad T450s", ALC292_FIXUP_TPT440_DOCK),
9599 SND_PCI_QUIRK(0x17aa, 0x503c, "Thinkpad L450", ALC292_FIXUP_TPT440_DOCK),
9600 SND_PCI_QUIRK(0x17aa, 0x504a, "ThinkPad X260", ALC292_FIXUP_TPT440_DOCK),
9601 SND_PCI_QUIRK(0x17aa, 0x504b, "Thinkpad", ALC293_FIXUP_LENOVO_SPK_NOISE),
9602 SND_PCI_QUIRK(0x17aa, 0x5050, "Thinkpad T560p", ALC292_FIXUP_TPT460),
9603 SND_PCI_QUIRK(0x17aa, 0x5051, "Thinkpad L460", ALC292_FIXUP_TPT460),
9604 SND_PCI_QUIRK(0x17aa, 0x5053, "Thinkpad T460", ALC292_FIXUP_TPT460),
9605 SND_PCI_QUIRK(0x17aa, 0x505d, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9606 SND_PCI_QUIRK(0x17aa, 0x505f, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9607 SND_PCI_QUIRK(0x17aa, 0x5062, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9608 SND_PCI_QUIRK(0x17aa, 0x508b, "Thinkpad X12 Gen 1", ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS),
9609 SND_PCI_QUIRK(0x17aa, 0x5109, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
9610 SND_PCI_QUIRK(0x17aa, 0x511e, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9611 SND_PCI_QUIRK(0x17aa, 0x511f, "Thinkpad", ALC298_FIXUP_TPT470_DOCK),
9612 SND_PCI_QUIRK(0x17aa, 0x9e54, "LENOVO NB", ALC269_FIXUP_LENOVO_EAPD),
9613 SND_PCI_QUIRK(0x1849, 0x1233, "ASRock NUC Box 1100", ALC233_FIXUP_NO_AUDIO_JACK),
9614 SND_PCI_QUIRK(0x1849, 0xa233, "Positivo Master C6300", ALC269_FIXUP_HEADSET_MIC),
9615 SND_PCI_QUIRK(0x19e5, 0x3204, "Huawei MACH-WX9", ALC256_FIXUP_HUAWEI_MACH_WX9_PINS),
9616 SND_PCI_QUIRK(0x19e5, 0x320f, "Huawei WRT-WX9 ", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE),
9617 SND_PCI_QUIRK(0x1b35, 0x1235, "CZC B20", ALC269_FIXUP_CZC_B20),
9618 SND_PCI_QUIRK(0x1b35, 0x1236, "CZC TMI", ALC269_FIXUP_CZC_TMI),
9619 SND_PCI_QUIRK(0x1b35, 0x1237, "CZC L101", ALC269_FIXUP_CZC_L101),
9620 …SND_PCI_QUIRK(0x1b7d, 0xa831, "Ordissimo EVE2 ", ALC269VB_FIXUP_ORDISSIMO_EVE2), /* Also known as …
9621 SND_PCI_QUIRK(0x1c06, 0x2013, "Lemote A1802", ALC269_FIXUP_LEMOTE_A1802),
9622 SND_PCI_QUIRK(0x1c06, 0x2015, "Lemote A190X", ALC269_FIXUP_LEMOTE_A190X),
9623 SND_PCI_QUIRK(0x1d05, 0x1132, "TongFang PHxTxX1", ALC256_FIXUP_SET_COEF_DEFAULTS),
9624 SND_PCI_QUIRK(0x1d05, 0x1096, "TongFang GMxMRxx", ALC269_FIXUP_NO_SHUTUP),
9625 SND_PCI_QUIRK(0x1d05, 0x1100, "TongFang GKxNRxx", ALC269_FIXUP_NO_SHUTUP),
9626 SND_PCI_QUIRK(0x1d05, 0x1111, "TongFang GMxZGxx", ALC269_FIXUP_NO_SHUTUP),
9627 SND_PCI_QUIRK(0x1d05, 0x1119, "TongFang GMxZGxx", ALC269_FIXUP_NO_SHUTUP),
9628 SND_PCI_QUIRK(0x1d05, 0x1129, "TongFang GMxZGxx", ALC269_FIXUP_NO_SHUTUP),
9629 SND_PCI_QUIRK(0x1d05, 0x1147, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP),
9630 SND_PCI_QUIRK(0x1d05, 0x115c, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP),
9631 SND_PCI_QUIRK(0x1d05, 0x121b, "TongFang GMxAGxx", ALC269_FIXUP_NO_SHUTUP),
9632 SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
9633 SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE),
9634 SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
9635 SND_PCI_QUIRK(0x1d72, 0x1945, "Redmi G", ALC256_FIXUP_ASUS_HEADSET_MIC),
9636 SND_PCI_QUIRK(0x1d72, 0x1947, "RedmiBook Air", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
9637 SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),
9638 SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),
9639 SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", ALC256_FIXUP_INTEL_NUC10),
9640 SND_PCI_QUIRK(0xf111, 0x0001, "Framework Laptop", ALC295_FIXUP_FRAMEWORK_LAPTOP_MIC_NO_PRESENCE),
9642 #if 0
9648 SND_PCI_QUIRK(0x1043, 0x8330, "ASUS Eeepc P703 P900A",
9650 SND_PCI_QUIRK(0x1043, 0x1013, "ASUS N61Da", ALC269_FIXUP_AMIC),
9651 SND_PCI_QUIRK(0x1043, 0x1143, "ASUS B53f", ALC269_FIXUP_AMIC),
9652 SND_PCI_QUIRK(0x1043, 0x1133, "ASUS UJ20ft", ALC269_FIXUP_AMIC),
9653 SND_PCI_QUIRK(0x1043, 0x1183, "ASUS K72DR", ALC269_FIXUP_AMIC),
9654 SND_PCI_QUIRK(0x1043, 0x11b3, "ASUS K52DR", ALC269_FIXUP_AMIC),
9655 SND_PCI_QUIRK(0x1043, 0x11e3, "ASUS U33Jc", ALC269_FIXUP_AMIC),
9656 SND_PCI_QUIRK(0x1043, 0x1273, "ASUS UL80Jt", ALC269_FIXUP_AMIC),
9657 SND_PCI_QUIRK(0x1043, 0x1283, "ASUS U53Jc", ALC269_FIXUP_AMIC),
9658 SND_PCI_QUIRK(0x1043, 0x12b3, "ASUS N82JV", ALC269_FIXUP_AMIC),
9659 SND_PCI_QUIRK(0x1043, 0x12d3, "ASUS N61Jv", ALC269_FIXUP_AMIC),
9660 SND_PCI_QUIRK(0x1043, 0x13a3, "ASUS UL30Vt", ALC269_FIXUP_AMIC),
9661 SND_PCI_QUIRK(0x1043, 0x1373, "ASUS G73JX", ALC269_FIXUP_AMIC),
9662 SND_PCI_QUIRK(0x1043, 0x1383, "ASUS UJ30Jc", ALC269_FIXUP_AMIC),
9663 SND_PCI_QUIRK(0x1043, 0x13d3, "ASUS N61JA", ALC269_FIXUP_AMIC),
9664 SND_PCI_QUIRK(0x1043, 0x1413, "ASUS UL50", ALC269_FIXUP_AMIC),
9665 SND_PCI_QUIRK(0x1043, 0x1443, "ASUS UL30", ALC269_FIXUP_AMIC),
9666 SND_PCI_QUIRK(0x1043, 0x1453, "ASUS M60Jv", ALC269_FIXUP_AMIC),
9667 SND_PCI_QUIRK(0x1043, 0x1483, "ASUS UL80", ALC269_FIXUP_AMIC),
9668 SND_PCI_QUIRK(0x1043, 0x14f3, "ASUS F83Vf", ALC269_FIXUP_AMIC),
9669 SND_PCI_QUIRK(0x1043, 0x14e3, "ASUS UL20", ALC269_FIXUP_AMIC),
9670 SND_PCI_QUIRK(0x1043, 0x1513, "ASUS UX30", ALC269_FIXUP_AMIC),
9671 SND_PCI_QUIRK(0x1043, 0x1593, "ASUS N51Vn", ALC269_FIXUP_AMIC),
9672 SND_PCI_QUIRK(0x1043, 0x15a3, "ASUS N60Jv", ALC269_FIXUP_AMIC),
9673 SND_PCI_QUIRK(0x1043, 0x15b3, "ASUS N60Dp", ALC269_FIXUP_AMIC),
9674 SND_PCI_QUIRK(0x1043, 0x15c3, "ASUS N70De", ALC269_FIXUP_AMIC),
9675 SND_PCI_QUIRK(0x1043, 0x15e3, "ASUS F83T", ALC269_FIXUP_AMIC),
9676 SND_PCI_QUIRK(0x1043, 0x1643, "ASUS M60J", ALC269_FIXUP_AMIC),
9677 SND_PCI_QUIRK(0x1043, 0x1653, "ASUS U50", ALC269_FIXUP_AMIC),
9678 SND_PCI_QUIRK(0x1043, 0x1693, "ASUS F50N", ALC269_FIXUP_AMIC),
9679 SND_PCI_QUIRK(0x1043, 0x16a3, "ASUS F5Q", ALC269_FIXUP_AMIC),
9680 SND_PCI_QUIRK(0x1043, 0x1723, "ASUS P80", ALC269_FIXUP_AMIC),
9681 SND_PCI_QUIRK(0x1043, 0x1743, "ASUS U80", ALC269_FIXUP_AMIC),
9682 SND_PCI_QUIRK(0x1043, 0x1773, "ASUS U20A", ALC269_FIXUP_AMIC),
9683 SND_PCI_QUIRK(0x1043, 0x1883, "ASUS F81Se", ALC269_FIXUP_AMIC),
9684 SND_PCI_QUIRK(0x152d, 0x1778, "Quanta ON1", ALC269_FIXUP_DMIC),
9685 SND_PCI_QUIRK(0x17aa, 0x3be9, "Quanta Wistron", ALC269_FIXUP_AMIC),
9686 SND_PCI_QUIRK(0x17aa, 0x3bf8, "Quanta FL1", ALC269_FIXUP_AMIC),
9687 SND_PCI_QUIRK(0x17ff, 0x059a, "Quanta EL3", ALC269_FIXUP_DMIC),
9688 SND_PCI_QUIRK(0x17ff, 0x059b, "Quanta JR1", ALC269_FIXUP_DMIC),
9694 SND_PCI_QUIRK_VENDOR(0x1025, "Acer Aspire", ALC271_FIXUP_DMIC),
9695 SND_PCI_QUIRK_VENDOR(0x103c, "HP", ALC269_FIXUP_HP_MUTE_LED),
9696 SND_PCI_QUIRK_VENDOR(0x104d, "Sony VAIO", ALC269_FIXUP_SONY_VAIO),
9697 SND_PCI_QUIRK_VENDOR(0x17aa, "Thinkpad", ALC269_FIXUP_THINKPAD_ACPI),
9698 SND_PCI_QUIRK_VENDOR(0x19e5, "Huawei Matebook", ALC255_FIXUP_MIC_MUTE_LED),
9829 {0x21, 0x04211020}
9832 {0x12, 0x90a60140}, \
9833 {0x14, 0x90170110}, \
9834 {0x21, 0x02211020}
9837 {0x14, 0x90170110}
9840 {0x12, 0x99a30130}
9843 {0x14, 0x90170110}, \
9844 {0x15, 0x0221401f}
9847 {0x12, 0xb7a60130}, \
9848 {0x14, 0x90170110}, \
9849 {0x21, 0x04211020}
9852 {0x12, 0x90a60130}, \
9853 {0x21, 0x03211020}
9856 SND_HDA_PIN_QUIRK(0x10ec0221, 0x103c, "HP Workstation", ALC221_FIXUP_HP_HEADSET_MIC,
9857 {0x14, 0x01014020},
9858 {0x17, 0x90170110},
9859 {0x18, 0x02a11030},
9860 {0x19, 0x0181303F},
9861 {0x21, 0x0221102f}),
9862 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1025, "Acer", ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
9863 {0x12, 0x90a601c0},
9864 {0x14, 0x90171120},
9865 {0x21, 0x02211030}),
9866 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1043, "ASUS", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE,
9867 {0x14, 0x90170110},
9868 {0x1b, 0x90a70130},
9869 {0x21, 0x03211020}),
9870 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1043, "ASUS", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE,
9871 {0x1a, 0x90a70130},
9872 {0x1b, 0x90170110},
9873 {0x21, 0x03211020}),
9874 SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
9876 {0x12, 0xb7a60130},
9877 {0x14, 0x901701a0}),
9878 SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
9880 {0x12, 0xb7a60130},
9881 {0x14, 0x901701b0}),
9882 SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
9884 {0x12, 0xb7a60150},
9885 {0x14, 0x901701a0}),
9886 SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
9888 {0x12, 0xb7a60150},
9889 {0x14, 0x901701b0}),
9890 SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
9892 {0x12, 0xb7a60130},
9893 {0x1b, 0x90170110}),
9894 SND_HDA_PIN_QUIRK(0x10ec0233, 0x8086, "Intel NUC Skull Canyon", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
9895 {0x1b, 0x01111010},
9896 {0x1e, 0x01451130},
9897 {0x21, 0x02211020}),
9898 SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY,
9899 {0x12, 0x90a60140},
9900 {0x14, 0x90170110},
9901 {0x19, 0x02a11030},
9902 {0x21, 0x02211020}),
9903 SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC294_FIXUP_LENOVO_MIC_LOCATION,
9904 {0x14, 0x90170110},
9905 {0x19, 0x02a11030},
9906 {0x1a, 0x02a11040},
9907 {0x1b, 0x01014020},
9908 {0x21, 0x0221101f}),
9909 SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC294_FIXUP_LENOVO_MIC_LOCATION,
9910 {0x14, 0x90170110},
9911 {0x19, 0x02a11030},
9912 {0x1a, 0x02a11040},
9913 {0x1b, 0x01011020},
9914 {0x21, 0x0221101f}),
9915 SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC294_FIXUP_LENOVO_MIC_LOCATION,
9916 {0x14, 0x90170110},
9917 {0x19, 0x02a11020},
9918 {0x1a, 0x02a11030},
9919 {0x21, 0x0221101f}),
9920 SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC236_FIXUP_DELL_AIO_HEADSET_MIC,
9921 {0x21, 0x02211010}),
9922 SND_HDA_PIN_QUIRK(0x10ec0236, 0x103c, "HP", ALC256_FIXUP_HP_HEADSET_MIC,
9923 {0x14, 0x90170110},
9924 {0x19, 0x02a11020},
9925 {0x21, 0x02211030}),
9926 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE,
9927 {0x14, 0x90170110},
9928 {0x21, 0x02211020}),
9929 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9930 {0x14, 0x90170130},
9931 {0x21, 0x02211040}),
9932 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9933 {0x12, 0x90a60140},
9934 {0x14, 0x90170110},
9935 {0x21, 0x02211020}),
9936 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9937 {0x12, 0x90a60160},
9938 {0x14, 0x90170120},
9939 {0x21, 0x02211030}),
9940 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9941 {0x14, 0x90170110},
9942 {0x1b, 0x02011020},
9943 {0x21, 0x0221101f}),
9944 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9945 {0x14, 0x90170110},
9946 {0x1b, 0x01011020},
9947 {0x21, 0x0221101f}),
9948 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9949 {0x14, 0x90170130},
9950 {0x1b, 0x01014020},
9951 {0x21, 0x0221103f}),
9952 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9953 {0x14, 0x90170130},
9954 {0x1b, 0x01011020},
9955 {0x21, 0x0221103f}),
9956 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9957 {0x14, 0x90170130},
9958 {0x1b, 0x02011020},
9959 {0x21, 0x0221103f}),
9960 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9961 {0x14, 0x90170150},
9962 {0x1b, 0x02011020},
9963 {0x21, 0x0221105f}),
9964 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9965 {0x14, 0x90170110},
9966 {0x1b, 0x01014020},
9967 {0x21, 0x0221101f}),
9968 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9969 {0x12, 0x90a60160},
9970 {0x14, 0x90170120},
9971 {0x17, 0x90170140},
9972 {0x21, 0x0321102f}),
9973 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9974 {0x12, 0x90a60160},
9975 {0x14, 0x90170130},
9976 {0x21, 0x02211040}),
9977 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9978 {0x12, 0x90a60160},
9979 {0x14, 0x90170140},
9980 {0x21, 0x02211050}),
9981 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9982 {0x12, 0x90a60170},
9983 {0x14, 0x90170120},
9984 {0x21, 0x02211030}),
9985 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9986 {0x12, 0x90a60170},
9987 {0x14, 0x90170130},
9988 {0x21, 0x02211040}),
9989 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9990 {0x12, 0x90a60170},
9991 {0x14, 0x90171130},
9992 {0x21, 0x02211040}),
9993 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9994 {0x12, 0x90a60170},
9995 {0x14, 0x90170140},
9996 {0x21, 0x02211050}),
9997 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell Inspiron 5548", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
9998 {0x12, 0x90a60180},
9999 {0x14, 0x90170130},
10000 {0x21, 0x02211040}),
10001 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell Inspiron 5565", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
10002 {0x12, 0x90a60180},
10003 {0x14, 0x90170120},
10004 {0x21, 0x02211030}),
10005 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
10006 {0x1b, 0x01011020},
10007 {0x21, 0x02211010}),
10008 SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC,
10009 {0x14, 0x90170110},
10010 {0x1b, 0x90a70130},
10011 {0x21, 0x04211020}),
10012 SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC,
10013 {0x14, 0x90170110},
10014 {0x1b, 0x90a70130},
10015 {0x21, 0x03211020}),
10016 SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
10017 {0x12, 0x90a60130},
10018 {0x14, 0x90170110},
10019 {0x21, 0x03211020}),
10020 SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
10021 {0x12, 0x90a60130},
10022 {0x14, 0x90170110},
10023 {0x21, 0x04211020}),
10024 SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
10025 {0x1a, 0x90a70130},
10026 {0x1b, 0x90170110},
10027 {0x21, 0x03211020}),
10028 SND_HDA_PIN_QUIRK(0x10ec0256, 0x103c, "HP", ALC256_FIXUP_HP_HEADSET_MIC,
10029 {0x14, 0x90170110},
10030 {0x19, 0x02a11020},
10031 {0x21, 0x0221101f}),
10032 SND_HDA_PIN_QUIRK(0x10ec0274, 0x103c, "HP", ALC274_FIXUP_HP_HEADSET_MIC,
10033 {0x17, 0x90170110},
10034 {0x19, 0x03a11030},
10035 {0x21, 0x03211020}),
10036 SND_HDA_PIN_QUIRK(0x10ec0280, 0x103c, "HP", ALC280_FIXUP_HP_GPIO4,
10037 {0x12, 0x90a60130},
10038 {0x14, 0x90170110},
10039 {0x15, 0x0421101f},
10040 {0x1a, 0x04a11020}),
10041 SND_HDA_PIN_QUIRK(0x10ec0280, 0x103c, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED,
10042 {0x12, 0x90a60140},
10043 {0x14, 0x90170110},
10044 {0x15, 0x0421101f},
10045 {0x18, 0x02811030},
10046 {0x1a, 0x04a1103f},
10047 {0x1b, 0x02011020}),
10048 SND_HDA_PIN_QUIRK(0x10ec0282, 0x103c, "HP 15 Touchsmart", ALC269_FIXUP_HP_MUTE_LED_MIC1,
10050 {0x12, 0x99a30130},
10051 {0x19, 0x03a11020},
10052 {0x21, 0x0321101f}),
10053 SND_HDA_PIN_QUIRK(0x10ec0282, 0x103c, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1,
10055 {0x12, 0x99a30130},
10056 {0x19, 0x03a11020},
10057 {0x21, 0x03211040}),
10058 SND_HDA_PIN_QUIRK(0x10ec0282, 0x103c, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1,
10060 {0x12, 0x99a30130},
10061 {0x19, 0x03a11030},
10062 {0x21, 0x03211020}),
10063 SND_HDA_PIN_QUIRK(0x10ec0282, 0x103c, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1,
10065 {0x12, 0x99a30130},
10066 {0x19, 0x04a11020},
10067 {0x21, 0x0421101f}),
10068 SND_HDA_PIN_QUIRK(0x10ec0282, 0x103c, "HP", ALC269_FIXUP_HP_LINE1_MIC1_LED,
10070 {0x12, 0x90a60140},
10071 {0x19, 0x04a11030},
10072 {0x21, 0x04211020}),
10073 SND_HDA_PIN_QUIRK(0x10ec0282, 0x1025, "Acer", ALC282_FIXUP_ACER_DISABLE_LINEOUT,
10075 {0x12, 0x90a609c0},
10076 {0x18, 0x03a11830},
10077 {0x19, 0x04a19831},
10078 {0x1a, 0x0481303f},
10079 {0x1b, 0x04211020},
10080 {0x21, 0x0321101f}),
10081 SND_HDA_PIN_QUIRK(0x10ec0282, 0x1025, "Acer", ALC282_FIXUP_ACER_DISABLE_LINEOUT,
10083 {0x12, 0x90a60940},
10084 {0x18, 0x03a11830},
10085 {0x19, 0x04a19831},
10086 {0x1a, 0x0481303f},
10087 {0x1b, 0x04211020},
10088 {0x21, 0x0321101f}),
10089 SND_HDA_PIN_QUIRK(0x10ec0283, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
10091 {0x12, 0x90a60130},
10092 {0x21, 0x0321101f}),
10093 SND_HDA_PIN_QUIRK(0x10ec0283, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
10094 {0x12, 0x90a60160},
10095 {0x14, 0x90170120},
10096 {0x21, 0x02211030}),
10097 SND_HDA_PIN_QUIRK(0x10ec0283, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
10099 {0x12, 0x90a60130},
10100 {0x19, 0x03a11020},
10101 {0x21, 0x0321101f}),
10102 SND_HDA_PIN_QUIRK(0x10ec0285, 0x17aa, "Lenovo", ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE,
10103 {0x12, 0x90a60130},
10104 {0x14, 0x90170110},
10105 {0x19, 0x04a11040},
10106 {0x21, 0x04211020}),
10107 SND_HDA_PIN_QUIRK(0x10ec0285, 0x17aa, "Lenovo", ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE,
10108 {0x14, 0x90170110},
10109 {0x19, 0x04a11040},
10110 {0x1d, 0x40600001},
10111 {0x21, 0x04211020}),
10112 SND_HDA_PIN_QUIRK(0x10ec0285, 0x17aa, "Lenovo", ALC285_FIXUP_THINKPAD_NO_BASS_SPK_HEADSET_JACK,
10113 {0x14, 0x90170110},
10114 {0x19, 0x04a11040},
10115 {0x21, 0x04211020}),
10116 SND_HDA_PIN_QUIRK(0x10ec0287, 0x17aa, "Lenovo", ALC285_FIXUP_THINKPAD_HEADSET_JACK,
10117 {0x14, 0x90170110},
10118 {0x17, 0x90170111},
10119 {0x19, 0x03a11030},
10120 {0x21, 0x03211020}),
10121 SND_HDA_PIN_QUIRK(0x10ec0286, 0x1025, "Acer", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE,
10122 {0x12, 0x90a60130},
10123 {0x17, 0x90170110},
10124 {0x21, 0x02211020}),
10125 SND_HDA_PIN_QUIRK(0x10ec0288, 0x1028, "Dell", ALC288_FIXUP_DELL1_MIC_NO_PRESENCE,
10126 {0x12, 0x90a60120},
10127 {0x14, 0x90170110},
10128 {0x21, 0x0321101f}),
10129 SND_HDA_PIN_QUIRK(0x10ec0290, 0x103c, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1,
10131 {0x15, 0x04211040},
10132 {0x18, 0x90170112},
10133 {0x1a, 0x04a11020}),
10134 SND_HDA_PIN_QUIRK(0x10ec0290, 0x103c, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1,
10136 {0x15, 0x04211040},
10137 {0x18, 0x90170110},
10138 {0x1a, 0x04a11020}),
10139 SND_HDA_PIN_QUIRK(0x10ec0290, 0x103c, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1,
10141 {0x15, 0x0421101f},
10142 {0x1a, 0x04a11020}),
10143 SND_HDA_PIN_QUIRK(0x10ec0290, 0x103c, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1,
10145 {0x15, 0x04211020},
10146 {0x1a, 0x04a11040}),
10147 SND_HDA_PIN_QUIRK(0x10ec0290, 0x103c, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1,
10149 {0x14, 0x90170110},
10150 {0x15, 0x04211020},
10151 {0x1a, 0x04a11040}),
10152 SND_HDA_PIN_QUIRK(0x10ec0290, 0x103c, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1,
10154 {0x14, 0x90170110},
10155 {0x15, 0x04211020},
10156 {0x1a, 0x04a11020}),
10157 SND_HDA_PIN_QUIRK(0x10ec0290, 0x103c, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1,
10159 {0x14, 0x90170110},
10160 {0x15, 0x0421101f},
10161 {0x1a, 0x04a11020}),
10162 SND_HDA_PIN_QUIRK(0x10ec0292, 0x1028, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE,
10164 {0x12, 0x90a60140},
10165 {0x16, 0x01014020},
10166 {0x19, 0x01a19030}),
10167 SND_HDA_PIN_QUIRK(0x10ec0292, 0x1028, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE,
10169 {0x12, 0x90a60140},
10170 {0x16, 0x01014020},
10171 {0x18, 0x02a19031},
10172 {0x19, 0x01a1903e}),
10173 SND_HDA_PIN_QUIRK(0x10ec0292, 0x1028, "Dell", ALC269_FIXUP_DELL3_MIC_NO_PRESENCE,
10175 {0x12, 0x90a60140}),
10176 SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
10178 {0x13, 0x90a60140},
10179 {0x16, 0x21014020},
10180 {0x19, 0x21a19030}),
10181 SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
10183 {0x13, 0x90a60140}),
10184 SND_HDA_PIN_QUIRK(0x10ec0294, 0x1043, "ASUS", ALC294_FIXUP_ASUS_HPE,
10185 {0x17, 0x90170110},
10186 {0x21, 0x04211020}),
10187 SND_HDA_PIN_QUIRK(0x10ec0294, 0x1043, "ASUS", ALC294_FIXUP_ASUS_MIC,
10188 {0x14, 0x90170110},
10189 {0x1b, 0x90a70130},
10190 {0x21, 0x04211020}),
10191 SND_HDA_PIN_QUIRK(0x10ec0294, 0x1043, "ASUS", ALC294_FIXUP_ASUS_SPK,
10192 {0x12, 0x90a60130},
10193 {0x17, 0x90170110},
10194 {0x21, 0x03211020}),
10195 SND_HDA_PIN_QUIRK(0x10ec0294, 0x1043, "ASUS", ALC294_FIXUP_ASUS_SPK,
10196 {0x12, 0x90a60130},
10197 {0x17, 0x90170110},
10198 {0x21, 0x04211020}),
10199 SND_HDA_PIN_QUIRK(0x10ec0295, 0x1043, "ASUS", ALC294_FIXUP_ASUS_SPK,
10200 {0x12, 0x90a60130},
10201 {0x17, 0x90170110},
10202 {0x21, 0x03211020}),
10203 SND_HDA_PIN_QUIRK(0x10ec0295, 0x1043, "ASUS", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE,
10204 {0x12, 0x90a60120},
10205 {0x17, 0x90170110},
10206 {0x21, 0x04211030}),
10207 SND_HDA_PIN_QUIRK(0x10ec0295, 0x1043, "ASUS", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE,
10208 {0x12, 0x90a60130},
10209 {0x17, 0x90170110},
10210 {0x21, 0x03211020}),
10211 SND_HDA_PIN_QUIRK(0x10ec0295, 0x1043, "ASUS", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE,
10212 {0x12, 0x90a60130},
10213 {0x17, 0x90170110},
10214 {0x21, 0x03211020}),
10215 SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE,
10216 {0x14, 0x90170110},
10217 {0x21, 0x04211020}),
10218 SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE,
10219 {0x14, 0x90170110},
10220 {0x21, 0x04211030}),
10221 SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
10223 {0x17, 0x21014020},
10224 {0x18, 0x21a19030}),
10225 SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
10227 {0x17, 0x21014040},
10228 {0x18, 0x21a19050}),
10229 SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
10231 SND_HDA_PIN_QUIRK(0x10ec0298, 0x1028, "Dell", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE,
10233 {0x17, 0x90170110}),
10234 SND_HDA_PIN_QUIRK(0x10ec0298, 0x1028, "Dell", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE,
10236 {0x17, 0x90170140}),
10237 SND_HDA_PIN_QUIRK(0x10ec0298, 0x1028, "Dell", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE,
10239 {0x17, 0x90170150}),
10240 SND_HDA_PIN_QUIRK(0x10ec0298, 0x1028, "Dell", ALC298_FIXUP_SPK_VOLUME,
10241 {0x12, 0xb7a60140},
10242 {0x13, 0xb7a60150},
10243 {0x17, 0x90170110},
10244 {0x1a, 0x03011020},
10245 {0x21, 0x03211030}),
10246 SND_HDA_PIN_QUIRK(0x10ec0298, 0x1028, "Dell", ALC298_FIXUP_ALIENWARE_MIC_NO_PRESENCE,
10247 {0x12, 0xb7a60140},
10248 {0x17, 0x90170110},
10249 {0x1a, 0x03a11030},
10250 {0x21, 0x03211020}),
10251 SND_HDA_PIN_QUIRK(0x10ec0299, 0x1028, "Dell", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE,
10253 {0x12, 0xb7a60130},
10254 {0x17, 0x90170110}),
10255 SND_HDA_PIN_QUIRK(0x10ec0623, 0x17aa, "Lenovo", ALC283_FIXUP_HEADSET_MIC,
10256 {0x14, 0x01014010},
10257 {0x17, 0x90170120},
10258 {0x18, 0x02a11030},
10259 {0x19, 0x02a1103f},
10260 {0x21, 0x0221101f}),
10271 SND_HDA_PIN_QUIRK(0x10ec0289, 0x1028, "Dell", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE,
10272 {0x19, 0x40000000},
10273 {0x1b, 0x40000000}),
10274 SND_HDA_PIN_QUIRK(0x10ec0256, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
10275 {0x19, 0x40000000},
10276 {0x1a, 0x40000000}),
10277 SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
10278 {0x19, 0x40000000},
10279 {0x1a, 0x40000000}),
10280 SND_HDA_PIN_QUIRK(0x10ec0274, 0x1028, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB,
10281 {0x19, 0x40000000},
10282 {0x1a, 0x40000000}),
10294 if ((alc_get_coef0(codec) & 0x00ff) < 0x015) { in alc269_fill_coef()
10295 alc_write_coef_idx(codec, 0xf, 0x960b); in alc269_fill_coef()
10296 alc_write_coef_idx(codec, 0xe, 0x8817); in alc269_fill_coef()
10299 if ((alc_get_coef0(codec) & 0x00ff) == 0x016) { in alc269_fill_coef()
10300 alc_write_coef_idx(codec, 0xf, 0x960b); in alc269_fill_coef()
10301 alc_write_coef_idx(codec, 0xe, 0x8814); in alc269_fill_coef()
10304 if ((alc_get_coef0(codec) & 0x00ff) == 0x017) { in alc269_fill_coef()
10306 alc_update_coef_idx(codec, 0x04, 0, 1<<11); in alc269_fill_coef()
10309 if ((alc_get_coef0(codec) & 0x00ff) == 0x018) { in alc269_fill_coef()
10310 val = alc_read_coef_idx(codec, 0xd); in alc269_fill_coef()
10311 if (val != -1 && (val & 0x0c00) >> 10 != 0x1) { in alc269_fill_coef()
10313 alc_write_coef_idx(codec, 0xd, val | (1<<10)); in alc269_fill_coef()
10315 val = alc_read_coef_idx(codec, 0x17); in alc269_fill_coef()
10316 if (val != -1 && (val & 0x01c0) >> 6 != 0x4) { in alc269_fill_coef()
10318 alc_write_coef_idx(codec, 0x17, val | (1<<7)); in alc269_fill_coef()
10323 alc_update_coef_idx(codec, 0x4, 0, 1<<11); in alc269_fill_coef()
10333 err = alc_alloc_spec(codec, 0x0b); in patch_alc269()
10334 if (err < 0) in patch_alc269()
10338 spec->gen.shared_mic_vref_pin = 0x18; in patch_alc269()
10339 codec->power_save_node = 0; in patch_alc269()
10349 case 0x10ec0269: in patch_alc269()
10351 switch (alc_get_coef0(codec) & 0x00f0) { in patch_alc269()
10352 case 0x0010: in patch_alc269()
10354 codec->bus->pci->subsystem_vendor == 0x1025 && in patch_alc269()
10359 case 0x0020: in patch_alc269()
10361 codec->bus->pci->subsystem_vendor == 0x17aa && in patch_alc269()
10362 codec->bus->pci->subsystem_device == 0x21f3) in patch_alc269()
10366 case 0x0030: in patch_alc269()
10370 alc_fix_pll_init(codec, 0x20, 0x04, 15); in patch_alc269()
10372 if (err < 0) in patch_alc269()
10379 case 0x10ec0280: in patch_alc269()
10380 case 0x10ec0290: in patch_alc269()
10383 case 0x10ec0282: in patch_alc269()
10388 case 0x10ec0233: in patch_alc269()
10389 case 0x10ec0283: in patch_alc269()
10394 case 0x10ec0284: in patch_alc269()
10395 case 0x10ec0292: in patch_alc269()
10398 case 0x10ec0293: in patch_alc269()
10401 case 0x10ec0286: in patch_alc269()
10402 case 0x10ec0288: in patch_alc269()
10405 case 0x10ec0298: in patch_alc269()
10408 case 0x10ec0235: in patch_alc269()
10409 case 0x10ec0255: in patch_alc269()
10414 case 0x10ec0230: in patch_alc269()
10415 case 0x10ec0236: in patch_alc269()
10416 case 0x10ec0256: in patch_alc269()
10417 case 0x19e58326: in patch_alc269()
10421 spec->gen.mixer_nid = 0; /* ALC256 does not have any loopback mixer path */ in patch_alc269()
10423 case 0x10ec0257: in patch_alc269()
10427 spec->gen.mixer_nid = 0; in patch_alc269()
10429 case 0x10ec0215: in patch_alc269()
10430 case 0x10ec0245: in patch_alc269()
10431 case 0x10ec0285: in patch_alc269()
10432 case 0x10ec0289: in patch_alc269()
10433 if (alc_get_coef0(codec) & 0x0010) in patch_alc269()
10439 spec->gen.mixer_nid = 0; in patch_alc269()
10441 case 0x10ec0225: in patch_alc269()
10442 case 0x10ec0295: in patch_alc269()
10443 case 0x10ec0299: in patch_alc269()
10447 spec->gen.mixer_nid = 0; /* no loopback on ALC225, ALC295 and ALC299 */ in patch_alc269()
10449 case 0x10ec0287: in patch_alc269()
10453 spec->gen.mixer_nid = 0; /* no loopback on ALC287 */ in patch_alc269()
10455 case 0x10ec0234: in patch_alc269()
10456 case 0x10ec0274: in patch_alc269()
10457 case 0x10ec0294: in patch_alc269()
10459 spec->gen.mixer_nid = 0; /* ALC2x4 does not have any loopback mixer path */ in patch_alc269()
10460 alc_update_coef_idx(codec, 0x6b, 0x0018, (1<<4) | (1<<3)); /* UAJ MIC Vref control by verb */ in patch_alc269()
10463 case 0x10ec0300: in patch_alc269()
10465 spec->gen.mixer_nid = 0; /* no loopback on ALC300 */ in patch_alc269()
10467 case 0x10ec0623: in patch_alc269()
10470 case 0x10ec0700: in patch_alc269()
10471 case 0x10ec0701: in patch_alc269()
10472 case 0x10ec0703: in patch_alc269()
10473 case 0x10ec0711: in patch_alc269()
10475 spec->gen.mixer_nid = 0; /* ALC700 does not have any loopback mixer path */ in patch_alc269()
10476 alc_update_coef_idx(codec, 0x4a, 1 << 15, 0); /* Combo jack auto trigger control */ in patch_alc269()
10482 if (snd_hda_codec_read(codec, 0x51, 0, AC_VERB_PARAMETERS, 0) == 0x10ec5505) { in patch_alc269()
10496 codec->core.vendor_id == 0x10ec0294) { in patch_alc269()
10510 spec->gen.beep_nid = 0x01; in patch_alc269()
10514 if (err < 0) in patch_alc269()
10518 err = set_beep_amp(spec, spec->gen.mixer_nid, 0x04, HDA_INPUT); in patch_alc269()
10519 if (err < 0) in patch_alc269()
10525 return 0; in patch_alc269()
10538 static const hda_nid_t alc861_ignore[] = { 0x1d, 0 }; in alc861_parse_auto_config()
10539 static const hda_nid_t alc861_ssids[] = { 0x0e, 0x0f, 0x0b, 0 }; in alc861_parse_auto_config()
10552 /* On some laptops, VREF of pin 0x0f is abused for controlling the main amp */
10561 val = snd_hda_codec_get_pin_target(codec, 0x0f); in alc861_fixup_asus_amp_vref_0f()
10565 snd_hda_set_pin_ctl(codec, 0x0f, val); in alc861_fixup_asus_amp_vref_0f()
10581 { 0x0b, 0x0221101f }, /* HP */
10582 { 0x0f, 0x90170310 }, /* speaker */
10603 /* ASUS W7J needs a magic pin setup on unused NID 0x10
10606 {0x10, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x24},
10613 SND_PCI_QUIRK(0x1043, 0x1253, "ASUS W7J", ALC660_FIXUP_ASUS_W7J),
10614 SND_PCI_QUIRK(0x1043, 0x1263, "ASUS Z35HL", ALC660_FIXUP_ASUS_W7J),
10615 SND_PCI_QUIRK(0x1043, 0x1393, "ASUS A6Rp", ALC861_FIXUP_ASUS_A6RP),
10616 SND_PCI_QUIRK_VENDOR(0x1043, "ASUS laptop", ALC861_FIXUP_AMP_VREF_0F),
10617 SND_PCI_QUIRK(0x1462, 0x7254, "HP DX2200", ALC861_FIXUP_NO_JACK_DETECT),
10618 SND_PCI_QUIRK_VENDOR(0x1584, "Haier/Uniwill", ALC861_FIXUP_AMP_VREF_0F),
10619 SND_PCI_QUIRK(0x1734, 0x10c7, "FSC Amilo Pi1505", ALC861_FIXUP_FSC_AMILO_PI1505),
10630 err = alc_alloc_spec(codec, 0x15); in patch_alc861()
10631 if (err < 0) in patch_alc861()
10636 spec->gen.beep_nid = 0x23; in patch_alc861()
10649 if (err < 0) in patch_alc861()
10653 err = set_beep_amp(spec, 0x23, 0, HDA_OUTPUT); in patch_alc861()
10654 if (err < 0) in patch_alc861()
10660 return 0; in patch_alc861()
10676 static const hda_nid_t alc861vd_ignore[] = { 0x1d, 0 }; in alc861vd_parse_auto_config()
10677 static const hda_nid_t alc861vd_ssids[] = { 0x15, 0x1b, 0x14, 0 }; in alc861vd_parse_auto_config()
10691 snd_hda_override_pin_caps(codec, 0x18, 0x00000734); in alc861vd_fixup_dallas()
10692 snd_hda_override_pin_caps(codec, 0x19, 0x0000073c); in alc861vd_fixup_dallas()
10703 spec->gpio_mask |= 0x02; in alc660vd_fixup_asus_gpio1()
10704 alc_fixup_gpio(codec, action, 0x01); in alc660vd_fixup_asus_gpio1()
10719 SND_PCI_QUIRK(0x103c, 0x30bf, "HP TX1000", ALC861VD_FIX_DALLAS),
10720 SND_PCI_QUIRK(0x1043, 0x1339, "ASUS A7-K", ALC660VD_FIX_ASUS_GPIO1),
10721 SND_PCI_QUIRK(0x1179, 0xff31, "Toshiba L30-149", ALC861VD_FIX_DALLAS),
10732 err = alc_alloc_spec(codec, 0x0b); in patch_alc861vd()
10733 if (err < 0) in patch_alc861vd()
10738 spec->gen.beep_nid = 0x23; in patch_alc861vd()
10749 if (err < 0) in patch_alc861vd()
10753 err = set_beep_amp(spec, 0x0b, 0x05, HDA_INPUT); in patch_alc861vd()
10754 if (err < 0) in patch_alc861vd()
10760 return 0; in patch_alc861vd()
10785 static const hda_nid_t alc662_ignore[] = { 0x1d, 0 }; in alc662_parse_auto_config()
10786 static const hda_nid_t alc663_ssids[] = { 0x15, 0x1b, 0x14, 0x21 }; in alc662_parse_auto_config()
10787 static const hda_nid_t alc662_ssids[] = { 0x15, 0x1b, 0x14, 0 }; in alc662_parse_auto_config()
10790 if (codec->core.vendor_id == 0x10ec0272 || codec->core.vendor_id == 0x10ec0663 || in alc662_parse_auto_config()
10791 codec->core.vendor_id == 0x10ec0665 || codec->core.vendor_id == 0x10ec0670 || in alc662_parse_auto_config()
10792 codec->core.vendor_id == 0x10ec0671) in alc662_parse_auto_config()
10804 if (snd_hda_override_amp_caps(codec, 0x2, HDA_OUTPUT, in alc272_fixup_mario()
10805 (0x3b << AC_AMPCAP_OFFSET_SHIFT) | in alc272_fixup_mario()
10806 (0x3b << AC_AMPCAP_NUM_STEPS_SHIFT) | in alc272_fixup_mario()
10807 (0x03 << AC_AMPCAP_STEP_SIZE_SHIFT) | in alc272_fixup_mario()
10808 (0 << AC_AMPCAP_MUTE_SHIFT))) in alc272_fixup_mario()
10809 codec_warn(codec, "failed to override amp caps for NID 0x2\n"); in alc272_fixup_mario()
10827 spec->gen.pcm_rec[0]->stream[0].chmap = asus_pcm_2_1_chmaps; in alc_fixup_bass_chmap()
10847 alc_fixup_hp_gpio_led(codec, action, 0x01, 0); in alc662_fixup_led_gpio1()
10862 vref = spec->gen.hp_jack_present ? PIN_VREF80 : 0; in alc662_usi_automute_hook()
10864 snd_hda_codec_write(codec, 0x19, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, in alc662_usi_automute_hook()
10881 /* surround speakers at 0x1b already get muted automatically when in alc662_aspire_ethos_mute_speakers()
10884 * 0x15 - front left/front right in alc662_aspire_ethos_mute_speakers()
10885 * 0x18 - front center/ LFE in alc662_aspire_ethos_mute_speakers()
10887 if (snd_hda_jack_detect_state(codec, 0x1b) == HDA_JACK_PRESENT) { in alc662_aspire_ethos_mute_speakers()
10888 snd_hda_set_pin_ctl_cache(codec, 0x15, 0); in alc662_aspire_ethos_mute_speakers()
10889 snd_hda_set_pin_ctl_cache(codec, 0x18, 0); in alc662_aspire_ethos_mute_speakers()
10891 snd_hda_set_pin_ctl_cache(codec, 0x15, PIN_OUT); in alc662_aspire_ethos_mute_speakers()
10892 snd_hda_set_pin_ctl_cache(codec, 0x18, PIN_OUT); in alc662_aspire_ethos_mute_speakers()
10899 /* Pin 0x1b: shared headphones jack and surround speakers */ in alc662_fixup_aspire_ethos_hp()
10900 if (!is_jack_detectable(codec, 0x1b)) in alc662_fixup_aspire_ethos_hp()
10905 snd_hda_jack_detect_enable_callback(codec, 0x1b, in alc662_fixup_aspire_ethos_hp()
10908 alc_setup_gpio(codec, 0x02); in alc662_fixup_aspire_ethos_hp()
10925 { 0x19, 0x02a11040 }, /* use as headset mic, with its own jack detect */ in alc671_fixup_hp_headset_mic2()
10926 { 0x1b, 0x0181304f }, in alc671_fixup_hp_headset_mic2()
10932 spec->gen.mixer_nid = 0; in alc671_fixup_hp_headset_mic2()
10937 alc_write_coef_idx(codec, 0x19, 0xa054); in alc671_fixup_hp_headset_mic2()
10950 snd_hda_codec_write(codec, 0x1b, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, in alc897_hp_automute_hook()
10964 WRITE_COEF(0x01, 0xbebe), WRITE_COEF(0x02, 0xaaaa), WRITE_COEF(0x03, 0x0),
10965 WRITE_COEF(0x04, 0x0180), WRITE_COEF(0x06, 0x0), WRITE_COEF(0x07, 0x0f80),
10966 WRITE_COEF(0x08, 0x0031), WRITE_COEF(0x0a, 0x0060), WRITE_COEF(0x0b, 0x0),
10967 WRITE_COEF(0x0c, 0x7cf7), WRITE_COEF(0x0d, 0x1080), WRITE_COEF(0x0e, 0x7f7f),
10968 WRITE_COEF(0x0f, 0xcccc), WRITE_COEF(0x10, 0xddcc), WRITE_COEF(0x11, 0x0001),
10969 WRITE_COEF(0x13, 0x0), WRITE_COEF(0x14, 0x2aa0), WRITE_COEF(0x17, 0xa940),
10970 WRITE_COEF(0x19, 0x0), WRITE_COEF(0x1a, 0x0), WRITE_COEF(0x1b, 0x0),
10971 WRITE_COEF(0x1c, 0x0), WRITE_COEF(0x1d, 0x0), WRITE_COEF(0x1e, 0x7418),
10972 WRITE_COEF(0x1f, 0x0804), WRITE_COEF(0x20, 0x4200), WRITE_COEF(0x21, 0x0468),
10973 WRITE_COEF(0x22, 0x8ccc), WRITE_COEF(0x23, 0x0250), WRITE_COEF(0x24, 0x7418),
10974 WRITE_COEF(0x27, 0x0), WRITE_COEF(0x28, 0x8ccc), WRITE_COEF(0x2a, 0xff00),
10975 WRITE_COEF(0x2b, 0x8000), WRITE_COEF(0xa7, 0xff00), WRITE_COEF(0xa8, 0x8000),
10976 WRITE_COEF(0xaa, 0x2e17), WRITE_COEF(0xab, 0xa0c0), WRITE_COEF(0xac, 0x0),
10977 WRITE_COEF(0xad, 0x0), WRITE_COEF(0xae, 0x2ac6), WRITE_COEF(0xaf, 0xa480),
10978 WRITE_COEF(0xb0, 0x0), WRITE_COEF(0xb1, 0x0), WRITE_COEF(0xb2, 0x0),
10979 WRITE_COEF(0xb3, 0x0), WRITE_COEF(0xb4, 0x0), WRITE_COEF(0xb5, 0x1040),
10980 WRITE_COEF(0xb6, 0xd697), WRITE_COEF(0xb7, 0x902b), WRITE_COEF(0xb8, 0xd697),
10981 WRITE_COEF(0xb9, 0x902b), WRITE_COEF(0xba, 0xb8ba), WRITE_COEF(0xbb, 0xaaab),
10982 WRITE_COEF(0xbc, 0xaaaf), WRITE_COEF(0xbd, 0x6aaa), WRITE_COEF(0xbe, 0x1c02),
10983 WRITE_COEF(0xc0, 0x00ff), WRITE_COEF(0xc1, 0x0fa6),
11052 { 0x15, 0x99130112 }, /* subwoofer */
11063 { 0x17, 0x99130112 }, /* subwoofer */
11076 {0x12, 0x403cc000},
11077 {0x14, 0x90170110}, /* speaker */
11078 {0x15, 0x411111f0},
11079 {0x16, 0x411111f0},
11080 {0x18, 0x01a19030}, /* mic */
11081 {0x19, 0x90a7013f}, /* int-mic */
11082 {0x1a, 0x01014020},
11083 {0x1b, 0x0121401f},
11084 {0x1c, 0x411111f0},
11085 {0x1d, 0x411111f0},
11086 {0x1e, 0x40478e35},
11095 {0x14, AC_VERB_SET_EAPD_BTLENABLE, 0},
11106 { 0x14, 0x0221201f }, /* HP out */
11115 { 0x14, 0x99130110 }, /* speaker */
11116 { 0x18, 0x01a19c20 }, /* mic */
11117 { 0x19, 0x99a3092f }, /* int-mic */
11118 { 0x21, 0x0121401f }, /* HP out */
11127 { 0x14, 0x99130110 }, /* speaker */
11128 { 0x18, 0x01a19820 }, /* mic */
11129 { 0x19, 0x99a3092f }, /* int-mic */
11130 { 0x1b, 0x0121401f }, /* HP out */
11139 { 0x14, 0x99130110 }, /* speaker */
11140 { 0x15, 0x0121441f }, /* HP */
11141 { 0x18, 0x01a19840 }, /* mic */
11142 { 0x19, 0x99a3094f }, /* int-mic */
11143 { 0x21, 0x01211420 }, /* HP2 */
11152 { 0x14, 0x99130110 }, /* speaker */
11153 { 0x16, 0x99130111 }, /* speaker */
11154 { 0x18, 0x01a19840 }, /* mic */
11155 { 0x19, 0x99a3094f }, /* int-mic */
11156 { 0x21, 0x0121441f }, /* HP */
11165 { 0x14, 0x99130110 }, /* speaker */
11166 { 0x15, 0x0121441f }, /* HP */
11167 { 0x16, 0x99130111 }, /* speaker */
11168 { 0x18, 0x01a19840 }, /* mic */
11169 { 0x19, 0x99a3094f }, /* int-mic */
11178 { 0x14, 0x99130110 }, /* speaker */
11179 { 0x15, 0x01211420 }, /* HP2 */
11180 { 0x18, 0x01a19840 }, /* mic */
11181 { 0x19, 0x99a3094f }, /* int-mic */
11182 { 0x1b, 0x0121441f }, /* HP */
11191 { 0x14, 0x99130110 }, /* speaker */
11192 { 0x17, 0x99130111 }, /* speaker */
11193 { 0x18, 0x01a19840 }, /* mic */
11194 { 0x19, 0x99a3094f }, /* int-mic */
11195 { 0x1b, 0x01214020 }, /* HP */
11196 { 0x21, 0x0121401f }, /* HP */
11205 { 0x14, 0x99130110 }, /* speaker */
11206 { 0x12, 0x99a30970 }, /* int-mic */
11207 { 0x15, 0x01214020 }, /* HP */
11208 { 0x17, 0x99130111 }, /* speaker */
11209 { 0x18, 0x01a19840 }, /* mic */
11210 { 0x21, 0x0121401f }, /* HP */
11223 { 0x1b, 0x02214020 }, /* Front HP */
11252 { 0x19, 0x03a1113c }, /* use as headset mic, without its own jack detect */
11253 /* headphone mic by setting pin control of 0x1b (headphone out) to in + vref_50 */
11266 { 0x19, 0x03a1913d }, /* use as headphone mic, without its own jack detect */
11267 { 0x1b, 0x03a1113c }, /* use as headset mic, without its own jack detect */
11286 {0x16, 0x80106111}, /* bass speaker */
11295 {0x1a, 0x80106111}, /* bass speaker */
11319 { 0x19, 0x03a1913d }, /* use as headphone mic, without its own jack detect */
11320 { 0x1a, 0x90170151 }, /* bass speaker */
11321 { 0x1b, 0x03a1113c }, /* use as headset mic, without its own jack detect */
11330 { 0x20, AC_VERB_SET_COEF_INDEX, 0xc3 },
11331 { 0x20, AC_VERB_SET_PROC_COEF, 0x4000 },
11338 { 0x16, 0x0421101f }, /* HP */
11351 { 0x19, 0x03a1913d }, /* use as headphone mic, without its own jack detect */
11352 { 0x1b, 0x03a1113c }, /* use as headset mic, without its own jack detect */
11361 { 0x15, 0x50170120 }, /* no internal speaker */
11368 { 0x15, 0x40f000f0 }, /* disabled */
11369 { 0x16, 0x40f000f0 }, /* disabled */
11380 { 0x19, 0x02a1913c }, /* use as headset mic, without its own jack detect */
11381 { 0x18, 0x01a1903d },
11398 { 0x15, 0x92130110 }, /* front speakers */
11399 { 0x18, 0x99130111 }, /* center/subwoofer */
11400 { 0x1b, 0x11130012 }, /* surround plus jack for HP */
11413 { 0x1a, 0x02a1113c }, /* use as headset mic, without its own jack detect */
11422 { 0x1a, 0x01a11140 }, /* use as headset mic, without its own jack detect */
11423 { 0x1b, 0x0221144f },
11432 { 0x1b, 0x04a1112c },
11447 { 0x20, AC_VERB_SET_COEF_INDEX, 0x15 },
11448 { 0x20, AC_VERB_SET_PROC_COEF, 0x0d60 },
11459 { 0x1a, 0x03a11050 },
11468 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
11475 SND_PCI_QUIRK(0x1019, 0x9087, "ECS", ALC662_FIXUP_ASUS_MODE2),
11476 SND_PCI_QUIRK(0x1025, 0x022f, "Acer Aspire One", ALC662_FIXUP_INV_DMIC),
11477 SND_PCI_QUIRK(0x1025, 0x0241, "Packard Bell DOTS", ALC662_FIXUP_INV_DMIC),
11478 SND_PCI_QUIRK(0x1025, 0x0308, "Acer Aspire 8942G", ALC662_FIXUP_ASPIRE),
11479 SND_PCI_QUIRK(0x1025, 0x031c, "Gateway NV79", ALC662_FIXUP_SKU_IGNORE),
11480 SND_PCI_QUIRK(0x1025, 0x0349, "eMachines eM250", ALC662_FIXUP_INV_DMIC),
11481 SND_PCI_QUIRK(0x1025, 0x034a, "Gateway LT27", ALC662_FIXUP_INV_DMIC),
11482 SND_PCI_QUIRK(0x1025, 0x038b, "Acer Aspire 8943G", ALC662_FIXUP_ASPIRE),
11483 SND_PCI_QUIRK(0x1025, 0x0566, "Acer Aspire Ethos 8951G", ALC669_FIXUP_ACER_ASPIRE_ETHOS),
11484 SND_PCI_QUIRK(0x1025, 0x123c, "Acer Nitro N50-600", ALC662_FIXUP_ACER_NITRO_HEADSET_MODE),
11485 SND_PCI_QUIRK(0x1025, 0x124e, "Acer 2660G", ALC662_FIXUP_ACER_X2660G_HEADSET_MODE),
11486 SND_PCI_QUIRK(0x1028, 0x05d8, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
11487 SND_PCI_QUIRK(0x1028, 0x05db, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
11488 SND_PCI_QUIRK(0x1028, 0x05fe, "Dell XPS 15", ALC668_FIXUP_DELL_XPS13),
11489 SND_PCI_QUIRK(0x1028, 0x060a, "Dell XPS 13", ALC668_FIXUP_DELL_XPS13),
11490 SND_PCI_QUIRK(0x1028, 0x060d, "Dell M3800", ALC668_FIXUP_DELL_XPS13),
11491 SND_PCI_QUIRK(0x1028, 0x0625, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
11492 SND_PCI_QUIRK(0x1028, 0x0626, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
11493 SND_PCI_QUIRK(0x1028, 0x0696, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
11494 SND_PCI_QUIRK(0x1028, 0x0698, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
11495 SND_PCI_QUIRK(0x1028, 0x069f, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
11496 SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800),
11497 SND_PCI_QUIRK(0x103c, 0x8719, "HP", ALC897_FIXUP_HP_HSMIC_VERB),
11498 SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2),
11499 SND_PCI_QUIRK(0x103c, 0x877e, "HP 288 Pro G6", ALC671_FIXUP_HP_HEADSET_MIC2),
11500 SND_PCI_QUIRK(0x103c, 0x885f, "HP 288 Pro G8", ALC671_FIXUP_HP_HEADSET_MIC2),
11501 SND_PCI_QUIRK(0x1043, 0x1080, "Asus UX501VW", ALC668_FIXUP_HEADSET_MODE),
11502 SND_PCI_QUIRK(0x1043, 0x11cd, "Asus N550", ALC662_FIXUP_ASUS_Nx50),
11503 SND_PCI_QUIRK(0x1043, 0x129d, "Asus N750", ALC662_FIXUP_ASUS_Nx50),
11504 SND_PCI_QUIRK(0x1043, 0x12ff, "ASUS G751", ALC668_FIXUP_ASUS_G751),
11505 SND_PCI_QUIRK(0x1043, 0x13df, "Asus N550JX", ALC662_FIXUP_BASS_1A),
11506 SND_PCI_QUIRK(0x1043, 0x1477, "ASUS N56VZ", ALC662_FIXUP_BASS_MODE4_CHMAP),
11507 SND_PCI_QUIRK(0x1043, 0x15a7, "ASUS UX51VZH", ALC662_FIXUP_BASS_16),
11508 SND_PCI_QUIRK(0x1043, 0x177d, "ASUS N551", ALC668_FIXUP_ASUS_Nx51),
11509 SND_PCI_QUIRK(0x1043, 0x17bd, "ASUS N751", ALC668_FIXUP_ASUS_Nx51),
11510 SND_PCI_QUIRK(0x1043, 0x185d, "ASUS G551JW", ALC668_FIXUP_ASUS_NO_HEADSET_MIC),
11511 SND_PCI_QUIRK(0x1043, 0x1963, "ASUS X71SL", ALC662_FIXUP_ASUS_MODE8),
11512 SND_PCI_QUIRK(0x1043, 0x1b73, "ASUS N55SF", ALC662_FIXUP_BASS_16),
11513 SND_PCI_QUIRK(0x1043, 0x1bf3, "ASUS N76VZ", ALC662_FIXUP_BASS_MODE4_CHMAP),
11514 SND_PCI_QUIRK(0x1043, 0x8469, "ASUS mobo", ALC662_FIXUP_NO_JACK_DETECT),
11515 SND_PCI_QUIRK(0x105b, 0x0cd6, "Foxconn", ALC662_FIXUP_ASUS_MODE2),
11516 SND_PCI_QUIRK(0x144d, 0xc051, "Samsung R720", ALC662_FIXUP_IDEAPAD),
11517 SND_PCI_QUIRK(0x14cd, 0x5003, "USI", ALC662_FIXUP_USI_HEADSET_MODE),
11518 SND_PCI_QUIRK(0x17aa, 0x1036, "Lenovo P520", ALC662_FIXUP_LENOVO_MULTI_CODECS),
11519 SND_PCI_QUIRK(0x17aa, 0x1057, "Lenovo P360", ALC897_FIXUP_HEADSET_MIC_PIN),
11520 SND_PCI_QUIRK(0x17aa, 0x32ca, "Lenovo ThinkCentre M80", ALC897_FIXUP_HEADSET_MIC_PIN),
11521 SND_PCI_QUIRK(0x17aa, 0x32cb, "Lenovo ThinkCentre M70", ALC897_FIXUP_HEADSET_MIC_PIN),
11522 SND_PCI_QUIRK(0x17aa, 0x32cf, "Lenovo ThinkCentre M950", ALC897_FIXUP_HEADSET_MIC_PIN),
11523 SND_PCI_QUIRK(0x17aa, 0x32f7, "Lenovo ThinkCentre M90", ALC897_FIXUP_HEADSET_MIC_PIN),
11524 SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo Ideapad Y550P", ALC662_FIXUP_IDEAPAD),
11525 SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD),
11526 SND_PCI_QUIRK(0x1849, 0x5892, "ASRock B150M", ALC892_FIXUP_ASROCK_MOBO),
11527 SND_PCI_QUIRK(0x19da, 0xa130, "Zotac Z68", ALC662_FIXUP_ZOTAC_Z68),
11528 SND_PCI_QUIRK(0x1b0a, 0x01b8, "ACER Veriton", ALC662_FIXUP_ACER_VERITON),
11529 SND_PCI_QUIRK(0x1b35, 0x1234, "CZC ET26", ALC662_FIXUP_CZC_ET26),
11530 SND_PCI_QUIRK(0x1b35, 0x2206, "CZC P10T", ALC662_FIXUP_CZC_P10T),
11532 #if 0
11538 SND_PCI_QUIRK(0x1043, 0x1000, "ASUS N50Vm", ALC662_FIXUP_ASUS_MODE1),
11539 SND_PCI_QUIRK(0x1043, 0x1092, "ASUS NB", ALC662_FIXUP_ASUS_MODE3),
11540 SND_PCI_QUIRK(0x1043, 0x1173, "ASUS K73Jn", ALC662_FIXUP_ASUS_MODE1),
11541 SND_PCI_QUIRK(0x1043, 0x11c3, "ASUS M70V", ALC662_FIXUP_ASUS_MODE3),
11542 SND_PCI_QUIRK(0x1043, 0x11d3, "ASUS NB", ALC662_FIXUP_ASUS_MODE1),
11543 SND_PCI_QUIRK(0x1043, 0x11f3, "ASUS NB", ALC662_FIXUP_ASUS_MODE2),
11544 SND_PCI_QUIRK(0x1043, 0x1203, "ASUS NB", ALC662_FIXUP_ASUS_MODE1),
11545 SND_PCI_QUIRK(0x1043, 0x1303, "ASUS G60J", ALC662_FIXUP_ASUS_MODE1),
11546 SND_PCI_QUIRK(0x1043, 0x1333, "ASUS G60Jx", ALC662_FIXUP_ASUS_MODE1),
11547 SND_PCI_QUIRK(0x1043, 0x1339, "ASUS NB", ALC662_FIXUP_ASUS_MODE2),
11548 SND_PCI_QUIRK(0x1043, 0x13e3, "ASUS N71JA", ALC662_FIXUP_ASUS_MODE7),
11549 SND_PCI_QUIRK(0x1043, 0x1463, "ASUS N71", ALC662_FIXUP_ASUS_MODE7),
11550 SND_PCI_QUIRK(0x1043, 0x14d3, "ASUS G72", ALC662_FIXUP_ASUS_MODE8),
11551 SND_PCI_QUIRK(0x1043, 0x1563, "ASUS N90", ALC662_FIXUP_ASUS_MODE3),
11552 SND_PCI_QUIRK(0x1043, 0x15d3, "ASUS N50SF F50SF", ALC662_FIXUP_ASUS_MODE1),
11553 SND_PCI_QUIRK(0x1043, 0x16c3, "ASUS NB", ALC662_FIXUP_ASUS_MODE2),
11554 SND_PCI_QUIRK(0x1043, 0x16f3, "ASUS K40C K50C", ALC662_FIXUP_ASUS_MODE2),
11555 SND_PCI_QUIRK(0x1043, 0x1733, "ASUS N81De", ALC662_FIXUP_ASUS_MODE1),
11556 SND_PCI_QUIRK(0x1043, 0x1753, "ASUS NB", ALC662_FIXUP_ASUS_MODE2),
11557 SND_PCI_QUIRK(0x1043, 0x1763, "ASUS NB", ALC662_FIXUP_ASUS_MODE6),
11558 SND_PCI_QUIRK(0x1043, 0x1765, "ASUS NB", ALC662_FIXUP_ASUS_MODE6),
11559 SND_PCI_QUIRK(0x1043, 0x1783, "ASUS NB", ALC662_FIXUP_ASUS_MODE2),
11560 SND_PCI_QUIRK(0x1043, 0x1793, "ASUS F50GX", ALC662_FIXUP_ASUS_MODE1),
11561 SND_PCI_QUIRK(0x1043, 0x17b3, "ASUS F70SL", ALC662_FIXUP_ASUS_MODE3),
11562 SND_PCI_QUIRK(0x1043, 0x17f3, "ASUS X58LE", ALC662_FIXUP_ASUS_MODE2),
11563 SND_PCI_QUIRK(0x1043, 0x1813, "ASUS NB", ALC662_FIXUP_ASUS_MODE2),
11564 SND_PCI_QUIRK(0x1043, 0x1823, "ASUS NB", ALC662_FIXUP_ASUS_MODE5),
11565 SND_PCI_QUIRK(0x1043, 0x1833, "ASUS NB", ALC662_FIXUP_ASUS_MODE6),
11566 SND_PCI_QUIRK(0x1043, 0x1843, "ASUS NB", ALC662_FIXUP_ASUS_MODE2),
11567 SND_PCI_QUIRK(0x1043, 0x1853, "ASUS F50Z", ALC662_FIXUP_ASUS_MODE1),
11568 SND_PCI_QUIRK(0x1043, 0x1864, "ASUS NB", ALC662_FIXUP_ASUS_MODE2),
11569 SND_PCI_QUIRK(0x1043, 0x1876, "ASUS NB", ALC662_FIXUP_ASUS_MODE2),
11570 SND_PCI_QUIRK(0x1043, 0x1893, "ASUS M50Vm", ALC662_FIXUP_ASUS_MODE3),
11571 SND_PCI_QUIRK(0x1043, 0x1894, "ASUS X55", ALC662_FIXUP_ASUS_MODE3),
11572 SND_PCI_QUIRK(0x1043, 0x18b3, "ASUS N80Vc", ALC662_FIXUP_ASUS_MODE1),
11573 SND_PCI_QUIRK(0x1043, 0x18c3, "ASUS VX5", ALC662_FIXUP_ASUS_MODE1),
11574 SND_PCI_QUIRK(0x1043, 0x18d3, "ASUS N81Te", ALC662_FIXUP_ASUS_MODE1),
11575 SND_PCI_QUIRK(0x1043, 0x18f3, "ASUS N505Tp", ALC662_FIXUP_ASUS_MODE1),
11576 SND_PCI_QUIRK(0x1043, 0x1903, "ASUS F5GL", ALC662_FIXUP_ASUS_MODE1),
11577 SND_PCI_QUIRK(0x1043, 0x1913, "ASUS NB", ALC662_FIXUP_ASUS_MODE2),
11578 SND_PCI_QUIRK(0x1043, 0x1933, "ASUS F80Q", ALC662_FIXUP_ASUS_MODE2),
11579 SND_PCI_QUIRK(0x1043, 0x1943, "ASUS Vx3V", ALC662_FIXUP_ASUS_MODE1),
11580 SND_PCI_QUIRK(0x1043, 0x1953, "ASUS NB", ALC662_FIXUP_ASUS_MODE1),
11581 SND_PCI_QUIRK(0x1043, 0x1963, "ASUS X71C", ALC662_FIXUP_ASUS_MODE3),
11582 SND_PCI_QUIRK(0x1043, 0x1983, "ASUS N5051A", ALC662_FIXUP_ASUS_MODE1),
11583 SND_PCI_QUIRK(0x1043, 0x1993, "ASUS N20", ALC662_FIXUP_ASUS_MODE1),
11584 SND_PCI_QUIRK(0x1043, 0x19b3, "ASUS F7Z", ALC662_FIXUP_ASUS_MODE1),
11585 SND_PCI_QUIRK(0x1043, 0x19c3, "ASUS F5Z/F6x", ALC662_FIXUP_ASUS_MODE2),
11586 SND_PCI_QUIRK(0x1043, 0x19e3, "ASUS NB", ALC662_FIXUP_ASUS_MODE1),
11587 SND_PCI_QUIRK(0x1043, 0x19f3, "ASUS NB", ALC662_FIXUP_ASUS_MODE4),
11629 SND_HDA_PIN_QUIRK(0x10ec0867, 0x1028, "Dell", ALC891_FIXUP_DELL_MIC_NO_PRESENCE,
11630 {0x17, 0x02211010},
11631 {0x18, 0x01a19030},
11632 {0x1a, 0x01813040},
11633 {0x21, 0x01014020}),
11634 SND_HDA_PIN_QUIRK(0x10ec0867, 0x1028, "Dell", ALC891_FIXUP_DELL_MIC_NO_PRESENCE,
11635 {0x16, 0x01813030},
11636 {0x17, 0x02211010},
11637 {0x18, 0x01a19040},
11638 {0x21, 0x01014020}),
11639 SND_HDA_PIN_QUIRK(0x10ec0662, 0x1028, "Dell", ALC662_FIXUP_DELL_MIC_NO_PRESENCE,
11640 {0x14, 0x01014010},
11641 {0x18, 0x01a19020},
11642 {0x1a, 0x0181302f},
11643 {0x1b, 0x0221401f}),
11644 SND_HDA_PIN_QUIRK(0x10ec0668, 0x1028, "Dell", ALC668_FIXUP_AUTO_MUTE,
11645 {0x12, 0x99a30130},
11646 {0x14, 0x90170110},
11647 {0x15, 0x0321101f},
11648 {0x16, 0x03011020}),
11649 SND_HDA_PIN_QUIRK(0x10ec0668, 0x1028, "Dell", ALC668_FIXUP_AUTO_MUTE,
11650 {0x12, 0x99a30140},
11651 {0x14, 0x90170110},
11652 {0x15, 0x0321101f},
11653 {0x16, 0x03011020}),
11654 SND_HDA_PIN_QUIRK(0x10ec0668, 0x1028, "Dell", ALC668_FIXUP_AUTO_MUTE,
11655 {0x12, 0x99a30150},
11656 {0x14, 0x90170110},
11657 {0x15, 0x0321101f},
11658 {0x16, 0x03011020}),
11659 SND_HDA_PIN_QUIRK(0x10ec0668, 0x1028, "Dell", ALC668_FIXUP_AUTO_MUTE,
11660 {0x14, 0x90170110},
11661 {0x15, 0x0321101f},
11662 {0x16, 0x03011020}),
11663 SND_HDA_PIN_QUIRK(0x10ec0668, 0x1028, "Dell XPS 15", ALC668_FIXUP_AUTO_MUTE,
11664 {0x12, 0x90a60130},
11665 {0x14, 0x90170110},
11666 {0x15, 0x0321101f}),
11667 SND_HDA_PIN_QUIRK(0x10ec0671, 0x103c, "HP cPC", ALC671_FIXUP_HP_HEADSET_MIC2,
11668 {0x14, 0x01014010},
11669 {0x17, 0x90170150},
11670 {0x19, 0x02a11060},
11671 {0x1b, 0x01813030},
11672 {0x21, 0x02211020}),
11673 SND_HDA_PIN_QUIRK(0x10ec0671, 0x103c, "HP cPC", ALC671_FIXUP_HP_HEADSET_MIC2,
11674 {0x14, 0x01014010},
11675 {0x18, 0x01a19040},
11676 {0x1b, 0x01813030},
11677 {0x21, 0x02211020}),
11678 SND_HDA_PIN_QUIRK(0x10ec0671, 0x103c, "HP cPC", ALC671_FIXUP_HP_HEADSET_MIC2,
11679 {0x14, 0x01014020},
11680 {0x17, 0x90170110},
11681 {0x18, 0x01a19050},
11682 {0x1b, 0x01813040},
11683 {0x21, 0x02211030}),
11694 err = alc_alloc_spec(codec, 0x0b); in patch_alc662()
11695 if (err < 0) in patch_alc662()
11705 alc_fix_pll_init(codec, 0x20, 0x04, 15); in patch_alc662()
11708 case 0x10ec0668: in patch_alc662()
11723 spec->gen.beep_nid = 0x01; in patch_alc662()
11726 codec->bus->pci && codec->bus->pci->subsystem_vendor == 0x1025 && in patch_alc662()
11729 if (err < 0) in patch_alc662()
11735 if (err < 0) in patch_alc662()
11740 case 0x10ec0662: in patch_alc662()
11741 err = set_beep_amp(spec, 0x0b, 0x05, HDA_INPUT); in patch_alc662()
11743 case 0x10ec0272: in patch_alc662()
11744 case 0x10ec0663: in patch_alc662()
11745 case 0x10ec0665: in patch_alc662()
11746 case 0x10ec0668: in patch_alc662()
11747 err = set_beep_amp(spec, 0x0b, 0x04, HDA_INPUT); in patch_alc662()
11749 case 0x10ec0273: in patch_alc662()
11750 err = set_beep_amp(spec, 0x0b, 0x03, HDA_INPUT); in patch_alc662()
11753 if (err < 0) in patch_alc662()
11759 return 0; in patch_alc662()
11782 err = alc_alloc_spec(codec, 0); in patch_alc680()
11783 if (err < 0) in patch_alc680()
11788 if (err < 0) { in patch_alc680()
11793 return 0; in patch_alc680()
11800 HDA_CODEC_ENTRY(0x10ec0215, "ALC215", patch_alc269),
11801 HDA_CODEC_ENTRY(0x10ec0221, "ALC221", patch_alc269),
11802 HDA_CODEC_ENTRY(0x10ec0222, "ALC222", patch_alc269),
11803 HDA_CODEC_ENTRY(0x10ec0225, "ALC225", patch_alc269),
11804 HDA_CODEC_ENTRY(0x10ec0230, "ALC236", patch_alc269),
11805 HDA_CODEC_ENTRY(0x10ec0231, "ALC231", patch_alc269),
11806 HDA_CODEC_ENTRY(0x10ec0233, "ALC233", patch_alc269),
11807 HDA_CODEC_ENTRY(0x10ec0234, "ALC234", patch_alc269),
11808 HDA_CODEC_ENTRY(0x10ec0235, "ALC233", patch_alc269),
11809 HDA_CODEC_ENTRY(0x10ec0236, "ALC236", patch_alc269),
11810 HDA_CODEC_ENTRY(0x10ec0245, "ALC245", patch_alc269),
11811 HDA_CODEC_ENTRY(0x10ec0255, "ALC255", patch_alc269),
11812 HDA_CODEC_ENTRY(0x10ec0256, "ALC256", patch_alc269),
11813 HDA_CODEC_ENTRY(0x10ec0257, "ALC257", patch_alc269),
11814 HDA_CODEC_ENTRY(0x10ec0260, "ALC260", patch_alc260),
11815 HDA_CODEC_ENTRY(0x10ec0262, "ALC262", patch_alc262),
11816 HDA_CODEC_ENTRY(0x10ec0267, "ALC267", patch_alc268),
11817 HDA_CODEC_ENTRY(0x10ec0268, "ALC268", patch_alc268),
11818 HDA_CODEC_ENTRY(0x10ec0269, "ALC269", patch_alc269),
11819 HDA_CODEC_ENTRY(0x10ec0270, "ALC270", patch_alc269),
11820 HDA_CODEC_ENTRY(0x10ec0272, "ALC272", patch_alc662),
11821 HDA_CODEC_ENTRY(0x10ec0274, "ALC274", patch_alc269),
11822 HDA_CODEC_ENTRY(0x10ec0275, "ALC275", patch_alc269),
11823 HDA_CODEC_ENTRY(0x10ec0276, "ALC276", patch_alc269),
11824 HDA_CODEC_ENTRY(0x10ec0280, "ALC280", patch_alc269),
11825 HDA_CODEC_ENTRY(0x10ec0282, "ALC282", patch_alc269),
11826 HDA_CODEC_ENTRY(0x10ec0283, "ALC283", patch_alc269),
11827 HDA_CODEC_ENTRY(0x10ec0284, "ALC284", patch_alc269),
11828 HDA_CODEC_ENTRY(0x10ec0285, "ALC285", patch_alc269),
11829 HDA_CODEC_ENTRY(0x10ec0286, "ALC286", patch_alc269),
11830 HDA_CODEC_ENTRY(0x10ec0287, "ALC287", patch_alc269),
11831 HDA_CODEC_ENTRY(0x10ec0288, "ALC288", patch_alc269),
11832 HDA_CODEC_ENTRY(0x10ec0289, "ALC289", patch_alc269),
11833 HDA_CODEC_ENTRY(0x10ec0290, "ALC290", patch_alc269),
11834 HDA_CODEC_ENTRY(0x10ec0292, "ALC292", patch_alc269),
11835 HDA_CODEC_ENTRY(0x10ec0293, "ALC293", patch_alc269),
11836 HDA_CODEC_ENTRY(0x10ec0294, "ALC294", patch_alc269),
11837 HDA_CODEC_ENTRY(0x10ec0295, "ALC295", patch_alc269),
11838 HDA_CODEC_ENTRY(0x10ec0298, "ALC298", patch_alc269),
11839 HDA_CODEC_ENTRY(0x10ec0299, "ALC299", patch_alc269),
11840 HDA_CODEC_ENTRY(0x10ec0300, "ALC300", patch_alc269),
11841 HDA_CODEC_ENTRY(0x10ec0623, "ALC623", patch_alc269),
11842 HDA_CODEC_REV_ENTRY(0x10ec0861, 0x100340, "ALC660", patch_alc861),
11843 HDA_CODEC_ENTRY(0x10ec0660, "ALC660-VD", patch_alc861vd),
11844 HDA_CODEC_ENTRY(0x10ec0861, "ALC861", patch_alc861),
11845 HDA_CODEC_ENTRY(0x10ec0862, "ALC861-VD", patch_alc861vd),
11846 HDA_CODEC_REV_ENTRY(0x10ec0662, 0x100002, "ALC662 rev2", patch_alc882),
11847 HDA_CODEC_REV_ENTRY(0x10ec0662, 0x100101, "ALC662 rev1", patch_alc662),
11848 HDA_CODEC_REV_ENTRY(0x10ec0662, 0x100300, "ALC662 rev3", patch_alc662),
11849 HDA_CODEC_ENTRY(0x10ec0663, "ALC663", patch_alc662),
11850 HDA_CODEC_ENTRY(0x10ec0665, "ALC665", patch_alc662),
11851 HDA_CODEC_ENTRY(0x10ec0667, "ALC667", patch_alc662),
11852 HDA_CODEC_ENTRY(0x10ec0668, "ALC668", patch_alc662),
11853 HDA_CODEC_ENTRY(0x10ec0670, "ALC670", patch_alc662),
11854 HDA_CODEC_ENTRY(0x10ec0671, "ALC671", patch_alc662),
11855 HDA_CODEC_ENTRY(0x10ec0680, "ALC680", patch_alc680),
11856 HDA_CODEC_ENTRY(0x10ec0700, "ALC700", patch_alc269),
11857 HDA_CODEC_ENTRY(0x10ec0701, "ALC701", patch_alc269),
11858 HDA_CODEC_ENTRY(0x10ec0703, "ALC703", patch_alc269),
11859 HDA_CODEC_ENTRY(0x10ec0711, "ALC711", patch_alc269),
11860 HDA_CODEC_ENTRY(0x10ec0867, "ALC891", patch_alc662),
11861 HDA_CODEC_ENTRY(0x10ec0880, "ALC880", patch_alc880),
11862 HDA_CODEC_ENTRY(0x10ec0882, "ALC882", patch_alc882),
11863 HDA_CODEC_ENTRY(0x10ec0883, "ALC883", patch_alc882),
11864 HDA_CODEC_REV_ENTRY(0x10ec0885, 0x100101, "ALC889A", patch_alc882),
11865 HDA_CODEC_REV_ENTRY(0x10ec0885, 0x100103, "ALC889A", patch_alc882),
11866 HDA_CODEC_ENTRY(0x10ec0885, "ALC885", patch_alc882),
11867 HDA_CODEC_ENTRY(0x10ec0887, "ALC887", patch_alc882),
11868 HDA_CODEC_REV_ENTRY(0x10ec0888, 0x100101, "ALC1200", patch_alc882),
11869 HDA_CODEC_ENTRY(0x10ec0888, "ALC888", patch_alc882),
11870 HDA_CODEC_ENTRY(0x10ec0889, "ALC889", patch_alc882),
11871 HDA_CODEC_ENTRY(0x10ec0892, "ALC892", patch_alc662),
11872 HDA_CODEC_ENTRY(0x10ec0897, "ALC897", patch_alc662),
11873 HDA_CODEC_ENTRY(0x10ec0899, "ALC898", patch_alc882),
11874 HDA_CODEC_ENTRY(0x10ec0900, "ALC1150", patch_alc882),
11875 HDA_CODEC_ENTRY(0x10ec0b00, "ALCS1200A", patch_alc882),
11876 HDA_CODEC_ENTRY(0x10ec1168, "ALC1220", patch_alc882),
11877 HDA_CODEC_ENTRY(0x10ec1220, "ALC1220", patch_alc882),
11878 HDA_CODEC_ENTRY(0x19e58326, "HW8326", patch_alc269),