Lines Matching refs:hp_pin

3312 	hda_nid_t hp_pin;  in alc_fixup_headset_jack()  local
3321 hp_pin = alc_get_hp_pin(spec); in alc_fixup_headset_jack()
3322 if (!hp_pin || snd_hda_jack_bind_keymap(codec, 0x55, in alc_fixup_headset_jack()
3324 hp_pin)) in alc_fixup_headset_jack()
3393 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc282_init() local
3399 if (!hp_pin) in alc282_init()
3401 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc282_init()
3411 snd_hda_codec_write(codec, hp_pin, 0, in alc282_init()
3417 snd_hda_codec_write(codec, hp_pin, 0, in alc282_init()
3430 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc282_shutup() local
3434 if (!hp_pin) { in alc282_shutup()
3439 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc282_shutup()
3446 snd_hda_codec_write(codec, hp_pin, 0, in alc282_shutup()
3453 snd_hda_codec_write(codec, hp_pin, 0, in alc282_shutup()
3509 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc283_init() local
3514 if (!hp_pin) in alc283_init()
3518 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc283_init()
3524 snd_hda_codec_write(codec, hp_pin, 0, in alc283_init()
3530 snd_hda_codec_write(codec, hp_pin, 0, in alc283_init()
3545 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc283_shutup() local
3548 if (!hp_pin) { in alc283_shutup()
3553 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc283_shutup()
3560 snd_hda_codec_write(codec, hp_pin, 0, in alc283_shutup()
3567 snd_hda_codec_write(codec, hp_pin, 0, in alc283_shutup()
3582 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc256_init() local
3594 if (!hp_pin) in alc256_init()
3595 hp_pin = 0x21; in alc256_init()
3599 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc256_init()
3606 snd_hda_codec_write(codec, hp_pin, 0, in alc256_init()
3612 snd_hda_codec_write(codec, hp_pin, 0, in alc256_init()
3634 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc256_shutup() local
3637 if (!hp_pin) in alc256_shutup()
3638 hp_pin = 0x21; in alc256_shutup()
3641 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc256_shutup()
3646 snd_hda_codec_write(codec, hp_pin, 0, in alc256_shutup()
3661 snd_hda_codec_write(codec, hp_pin, 0, in alc256_shutup()
3683 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc285_hp_init() local
3697 if (hp_pin) in alc285_hp_init()
3698 snd_hda_codec_write(codec, hp_pin, 0, in alc285_hp_init()
3705 if (hp_pin) in alc285_hp_init()
3706 snd_hda_codec_write(codec, hp_pin, 0, in alc285_hp_init()
3733 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc225_init() local
3753 if (!hp_pin) in alc225_init()
3754 hp_pin = 0x21; in alc225_init()
3757 hp1_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc225_init()
3766 snd_hda_codec_write(codec, hp_pin, 0, in alc225_init()
3776 snd_hda_codec_write(codec, hp_pin, 0, in alc225_init()
3792 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc225_shutup() local
3795 if (!hp_pin) in alc225_shutup()
3796 hp_pin = 0x21; in alc225_shutup()
3802 hp1_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc225_shutup()
3809 snd_hda_codec_write(codec, hp_pin, 0, in alc225_shutup()
3819 snd_hda_codec_write(codec, hp_pin, 0, in alc225_shutup()
3846 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc_default_init() local
3849 if (!hp_pin) in alc_default_init()
3854 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc_default_init()
3859 snd_hda_codec_write(codec, hp_pin, 0, in alc_default_init()
3865 snd_hda_codec_write(codec, hp_pin, 0, in alc_default_init()
3875 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc_default_shutup() local
3878 if (!hp_pin) { in alc_default_shutup()
3883 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); in alc_default_shutup()
3888 snd_hda_codec_write(codec, hp_pin, 0, in alc_default_shutup()
3895 snd_hda_codec_write(codec, hp_pin, 0, in alc_default_shutup()
3908 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc294_hp_init() local
3911 if (!hp_pin) in alc294_hp_init()
3914 snd_hda_codec_write(codec, hp_pin, 0, in alc294_hp_init()
3920 snd_hda_codec_write(codec, hp_pin, 0, in alc294_hp_init()
5077 static void alc_headset_mode_mic_in(struct hda_codec *codec, hda_nid_t hp_pin, in alc_headset_mode_mic_in() argument
5140 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5149 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5157 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5164 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5171 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5176 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5182 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5191 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5196 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5208 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); in alc_headset_mode_mic_in()
5762 hda_nid_t hp_pin = alc_get_hp_pin(spec); in alc_update_headset_mode() local
5766 if (!snd_hda_jack_detect(codec, hp_pin)) in alc_update_headset_mode()
5797 alc_headset_mode_mic_in(codec, hp_pin, spec->headphone_mic_pin); in alc_update_headset_mode()
5806 snd_hda_set_pin_ctl_cache(codec, hp_pin, in alc_update_headset_mode()
5808 if (spec->headphone_mic_pin && spec->headphone_mic_pin != hp_pin) in alc_update_headset_mode()
6062 int hp_pin = alc_get_hp_pin(spec); in alc_shutup_dell_xps13() local
6065 snd_hda_codec_write(codec, hp_pin, 0, in alc_shutup_dell_xps13()
6155 int hp_pin = alc_get_hp_pin(spec); in alc271_hp_gate_mic_jack() local
6157 if (snd_BUG_ON(!mic_pin || !hp_pin)) in alc271_hp_gate_mic_jack()
6159 snd_hda_jack_set_gating_jack(codec, mic_pin, hp_pin); in alc271_hp_gate_mic_jack()