Lines Matching refs:hp_pin
3294 hda_nid_t hp_pin; in alc_fixup_headset_jack() local
3303 hp_pin = alc_get_hp_pin(spec); in alc_fixup_headset_jack()
3304 if (!hp_pin || snd_hda_jack_bind_keymap(codec, 0x55, in alc_fixup_headset_jack()
3306 hp_pin)) in alc_fixup_headset_jack()
3375 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc282_init() local
3381 if (!hp_pin) in alc282_init()
3383 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); 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()
3412 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc282_shutup() local
3416 if (!hp_pin) { in alc282_shutup()
3421 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); 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()
3491 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc283_init() local
3496 if (!hp_pin) in alc283_init()
3500 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); 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()
3527 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc283_shutup() local
3530 if (!hp_pin) { in alc283_shutup()
3535 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); 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()
3564 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc256_init() local
3567 if (!hp_pin) in alc256_init()
3568 hp_pin = 0x21; in alc256_init()
3572 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); 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()
3615 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc256_shutup() local
3618 if (!hp_pin) in alc256_shutup()
3619 hp_pin = 0x21; in alc256_shutup()
3621 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc256_shutup()
3626 snd_hda_codec_write(codec, hp_pin, 0, in alc256_shutup()
3642 snd_hda_codec_write(codec, hp_pin, 0, in alc256_shutup()
3664 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc285_hp_init() local
3677 if (hp_pin) in alc285_hp_init()
3678 snd_hda_codec_write(codec, hp_pin, 0, in alc285_hp_init()
3685 if (hp_pin) in alc285_hp_init()
3686 snd_hda_codec_write(codec, hp_pin, 0, in alc285_hp_init()
3713 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc225_init() local
3726 if (!hp_pin) in alc225_init()
3727 hp_pin = 0x21; in alc225_init()
3730 hp1_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc225_init()
3745 snd_hda_codec_write(codec, hp_pin, 0, in alc225_init()
3755 snd_hda_codec_write(codec, hp_pin, 0, in alc225_init()
3771 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc225_shutup() local
3774 if (!hp_pin) in alc225_shutup()
3775 hp_pin = 0x21; in alc225_shutup()
3781 hp1_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc225_shutup()
3788 snd_hda_codec_write(codec, hp_pin, 0, in alc225_shutup()
3798 snd_hda_codec_write(codec, hp_pin, 0, in alc225_shutup()
3825 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc_default_init() local
3828 if (!hp_pin) in alc_default_init()
3833 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc_default_init()
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()
3854 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc_default_shutup() local
3857 if (!hp_pin) { in alc_default_shutup()
3862 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc_default_shutup()
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()
3887 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc294_hp_init() local
3890 if (!hp_pin) in alc294_hp_init()
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()
5008 static void alc_headset_mode_mic_in(struct hda_codec *codec, hda_nid_t hp_pin, in alc_headset_mode_mic_in() argument
5071 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5080 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5088 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5095 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5102 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5107 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5113 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5122 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5127 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5139 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5693 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc_update_headset_mode() local
5697 if (!snd_hda_jack_detect(codec, hp_pin)) in alc_update_headset_mode()
5728 alc_headset_mode_mic_in(codec, hp_pin, spec->headphone_mic_pin); in alc_update_headset_mode()
5737 snd_hda_set_pin_ctl_cache(codec, hp_pin, in alc_update_headset_mode()
5739 if (spec->headphone_mic_pin && spec->headphone_mic_pin != hp_pin) in alc_update_headset_mode()
5993 int hp_pin = alc_get_hp_pin(spec); in alc_shutup_dell_xps13() local
5996 snd_hda_codec_write(codec, hp_pin, 0, in alc_shutup_dell_xps13()
6086 int hp_pin = alc_get_hp_pin(spec); in alc271_hp_gate_mic_jack() local
6088 if (snd_BUG_ON(!mic_pin || !hp_pin)) in alc271_hp_gate_mic_jack()
6090 snd_hda_jack_set_gating_jack(codec, mic_pin, hp_pin); in alc271_hp_gate_mic_jack()