Lines Matching +full:xps +full:- +full:gpio +full:- +full:1

1 // SPDX-License-Identifier: GPL-2.0-or-later
16 * 6-channel independent captures.
18 * In addition, an independent DAC for the multi-playback (not used in this
33 if (codec->core.vendor_id == 0x10ec0272 || codec->core.vendor_id == 0x10ec0663 || in alc662_parse_auto_config()
34 codec->core.vendor_id == 0x10ec0665 || codec->core.vendor_id == 0x10ec0670 || in alc662_parse_auto_config()
35 codec->core.vendor_id == 0x10ec0671) in alc662_parse_auto_config()
55 /* avoid D3 for keeping GPIO up */
60 struct alc_spec *spec = codec->spec; in gpio_led_power_filter()
61 if (nid == codec->core.afg && power_state == AC_PWRST_D3 && spec->gpio_data) in gpio_led_power_filter()
69 struct alc_spec *spec = codec->spec; in alc662_fixup_led_gpio1()
73 spec->mute_led_polarity = 1; in alc662_fixup_led_gpio1()
74 codec->power_filter = gpio_led_power_filter; in alc662_fixup_led_gpio1()
81 struct alc_spec *spec = codec->spec; in alc662_usi_automute_hook()
86 vref = spec->gen.hp_jack_present ? PIN_VREF80 : 0; in alc662_usi_automute_hook()
95 struct alc_spec *spec = codec->spec; in alc662_fixup_usi_headset_mic()
97 spec->parse_flags |= HDA_PINCFG_HEADSET_MIC; in alc662_fixup_usi_headset_mic()
98 spec->gen.hp_automute_hook = alc662_usi_automute_hook; in alc662_fixup_usi_headset_mic()
108 * 0x15 - front left/front right in alc662_aspire_ethos_mute_speakers()
109 * 0x18 - front center/ LFE in alc662_aspire_ethos_mute_speakers()
131 /* subwoofer needs an extra GPIO setting to become audible */ in alc662_fixup_aspire_ethos_hp()
146 struct alc_spec *spec = codec->spec; in alc671_fixup_hp_headset_mic2()
156 spec->gen.mixer_nid = 0; in alc671_fixup_hp_headset_mic2()
157 spec->parse_flags |= HDA_PINCFG_HEADSET_MIC; in alc671_fixup_hp_headset_mic2()
169 struct alc_spec *spec = codec->spec; in alc897_hp_automute_hook()
173 vref = spec->gen.hp_jack_present ? (PIN_HP | AC_PINCTL_VREF_100) : PIN_HP; in alc897_hp_automute_hook()
180 struct alc_spec *spec = codec->spec; in alc897_fixup_lenovo_headset_mic()
182 spec->gen.hp_automute_hook = alc897_hp_automute_hook; in alc897_fixup_lenovo_headset_mic()
183 spec->no_shutup_pins = 1; in alc897_fixup_lenovo_headset_mic()
193 struct alc_spec *spec = codec->spec; in alc897_fixup_lenovo_headset_mode()
196 spec->parse_flags |= HDA_PINCFG_HEADSET_MIC; in alc897_fixup_lenovo_headset_mode()
197 spec->gen.hp_automute_hook = alc897_hp_automute_hook; in alc897_fixup_lenovo_headset_mode()
233 struct alc_spec *spec = codec->spec; in alc_fixup_headset_mode_alc662()
236 spec->parse_flags |= HDA_PINCFG_HEADSET_MIC; in alc_fixup_headset_mode_alc662()
237 spec->gen.hp_mic = 1; /* Mic-in is same pin as headphone */ in alc_fixup_headset_mode_alc662()
239 /* Disable boost for mic-in permanently. (This code is only called in alc_fixup_headset_mode_alc662()
351 {0x19, 0x90a7013f}, /* int-mic */
387 { 0x19, 0x99a3092f }, /* int-mic */
399 { 0x19, 0x99a3092f }, /* int-mic */
412 { 0x19, 0x99a3094f }, /* int-mic */
425 { 0x19, 0x99a3094f }, /* int-mic */
439 { 0x19, 0x99a3094f }, /* int-mic */
451 { 0x19, 0x99a3094f }, /* int-mic */
464 { 0x19, 0x99a3094f }, /* int-mic */
476 { 0x12, 0x99a30970 }, /* int-mic */
773 SND_PCI_QUIRK(0x1019, 0x9859, "JP-IK LEAP W502", ALC897_FIXUP_HEADSET_MIC_PIN3),
782 SND_PCI_QUIRK(0x1025, 0x123c, "Acer Nitro N50-600", ALC662_FIXUP_ACER_NITRO_HEADSET_MODE),
786 SND_PCI_QUIRK(0x1028, 0x05fe, "Dell XPS 15", ALC668_FIXUP_DELL_XPS13),
787 SND_PCI_QUIRK(0x1028, 0x060a, "Dell XPS 13", ALC668_FIXUP_DELL_XPS13),
829 SND_PCI_QUIRK(0x17aa, 0x3742, "Lenovo TianYi510Pro-14IOB", ALC897_FIXUP_HEADSET_MIC_PIN2),
837 SND_PCI_QUIRK(0x1c6c, 0x1239, "Compaq N14JP6-V2", ALC897_FIXUP_HP_HSMIC_VERB),
903 {.id = ALC662_FIXUP_HP_RP5800, .name = "hp-rp5800"},
904 {.id = ALC662_FIXUP_ASUS_MODE1, .name = "asus-mode1"},
905 {.id = ALC662_FIXUP_ASUS_MODE2, .name = "asus-mode2"},
906 {.id = ALC662_FIXUP_ASUS_MODE3, .name = "asus-mode3"},
907 {.id = ALC662_FIXUP_ASUS_MODE4, .name = "asus-mode4"},
908 {.id = ALC662_FIXUP_ASUS_MODE5, .name = "asus-mode5"},
909 {.id = ALC662_FIXUP_ASUS_MODE6, .name = "asus-mode6"},
910 {.id = ALC662_FIXUP_ASUS_MODE7, .name = "asus-mode7"},
911 {.id = ALC662_FIXUP_ASUS_MODE8, .name = "asus-mode8"},
912 {.id = ALC662_FIXUP_ZOTAC_Z68, .name = "zotac-z68"},
913 {.id = ALC662_FIXUP_INV_DMIC, .name = "inv-dmic"},
914 {.id = ALC662_FIXUP_DELL_MIC_NO_PRESENCE, .name = "alc662-headset-multi"},
915 {.id = ALC668_FIXUP_DELL_MIC_NO_PRESENCE, .name = "dell-headset-multi"},
916 {.id = ALC662_FIXUP_HEADSET_MODE, .name = "alc662-headset"},
917 {.id = ALC668_FIXUP_HEADSET_MODE, .name = "alc668-headset"},
921 {.id = ALC668_FIXUP_DELL_XPS13, .name = "dell-xps13"},
922 {.id = ALC662_FIXUP_ASUS_Nx50, .name = "asus-nx50"},
923 {.id = ALC668_FIXUP_ASUS_Nx51, .name = "asus-nx51"},
924 {.id = ALC668_FIXUP_ASUS_G751, .name = "asus-g751"},
925 {.id = ALC891_FIXUP_HEADSET_MODE, .name = "alc891-headset"},
926 {.id = ALC891_FIXUP_DELL_MIC_NO_PRESENCE, .name = "alc891-headset-multi"},
927 {.id = ALC662_FIXUP_ACER_VERITON, .name = "acer-veriton"},
928 {.id = ALC892_FIXUP_ASROCK_MOBO, .name = "asrock-mobo"},
929 {.id = ALC662_FIXUP_USI_HEADSET_MODE, .name = "usi-headset"},
930 {.id = ALC662_FIXUP_LENOVO_MULTI_CODECS, .name = "dual-codecs"},
931 {.id = ALC669_FIXUP_ACER_ASPIRE_ETHOS, .name = "aspire-ethos"},
932 {.id = ALC897_FIXUP_UNIS_H3C_X500S, .name = "unis-h3c-x500s"},
971 SND_HDA_PIN_QUIRK(0x10ec0668, 0x1028, "Dell XPS 15", ALC668_FIXUP_AUTO_MUTE,
1006 spec = codec->spec; in alc662_probe()
1008 spec->shutup = alc_eapd_shutup; in alc662_probe()
1011 spec->parse_flags = HDA_PINCFG_NO_HP_FIXUP; in alc662_probe()
1015 switch (codec->core.vendor_id) { in alc662_probe()
1017 spec->init_hook = alc668_restore_default_value; in alc662_probe()
1031 spec->gen.beep_nid = 0x01; in alc662_probe()
1033 if ((alc_get_coef0(codec) & (1 << 14)) && in alc662_probe()
1034 codec->bus->pci && codec->bus->pci->subsystem_vendor == 0x1025 && in alc662_probe()
1035 spec->cdefine.platform_type == 1) { in alc662_probe()
1046 if (!spec->gen.no_analog && spec->gen.beep_nid) { in alc662_probe()
1047 switch (codec->core.vendor_id) { in alc662_probe()
1108 MODULE_DESCRIPTION("Realtek ALC662 and compatible HD-audio codec");