Searched refs:hp_pin (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/sound/pci/hda/
H A Dpatch_realtek.c2784 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; alc282_init() local
2790 if (!hp_pin) alc282_init()
2792 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); alc282_init()
2802 snd_hda_codec_write(codec, hp_pin, 0, alc282_init()
2808 snd_hda_codec_write(codec, hp_pin, 0, alc282_init()
2821 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; alc282_shutup() local
2825 if (!hp_pin) { alc282_shutup()
2830 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); alc282_shutup()
2837 snd_hda_codec_write(codec, hp_pin, 0, alc282_shutup()
2843 snd_hda_codec_write(codec, hp_pin, 0, alc282_shutup()
2899 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; alc283_init() local
2904 hp_pin = spec->gen.autocfg.line_out_pins[0]; alc283_init()
2909 if (!hp_pin) alc283_init()
2913 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); alc283_init()
2919 snd_hda_codec_write(codec, hp_pin, 0, alc283_init()
2925 snd_hda_codec_write(codec, hp_pin, 0, alc283_init()
2940 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; alc283_shutup() local
2945 hp_pin = spec->gen.autocfg.line_out_pins[0]; alc283_shutup()
2948 if (!hp_pin) { alc283_shutup()
2953 hp_pin_sense = snd_hda_jack_detect(codec, hp_pin); alc283_shutup()
2960 snd_hda_codec_write(codec, hp_pin, 0, alc283_shutup()
2966 snd_hda_codec_write(codec, hp_pin, 0, alc283_shutup()
3726 static void alc_headset_mode_mic_in(struct hda_codec *codec, hda_nid_t hp_pin, alc_headset_mode_mic_in() argument
3778 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); alc_headset_mode_mic_in()
3785 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); alc_headset_mode_mic_in()
3793 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); alc_headset_mode_mic_in()
3798 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); alc_headset_mode_mic_in()
3804 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); alc_headset_mode_mic_in()
3809 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); alc_headset_mode_mic_in()
3814 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); alc_headset_mode_mic_in()
3821 snd_hda_set_pin_ctl_cache(codec, hp_pin, 0); alc_headset_mode_mic_in()
4181 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; alc_update_headset_mode() local
4185 if (!snd_hda_jack_detect(codec, hp_pin)) alc_update_headset_mode()
4214 alc_headset_mode_mic_in(codec, hp_pin, spec->headphone_mic_pin); alc_update_headset_mode()
4223 snd_hda_set_pin_ctl_cache(codec, hp_pin, alc_update_headset_mode()
4225 if (spec->headphone_mic_pin && spec->headphone_mic_pin != hp_pin) alc_update_headset_mode()
4427 int hp_pin = spec->gen.autocfg.hp_pins[0]; alc_shutup_dell_xps13() local
4430 snd_hda_codec_write(codec, hp_pin, 0, alc_shutup_dell_xps13()
4521 int hp_pin = spec->gen.autocfg.hp_pins[0]; alc271_hp_gate_mic_jack() local
4523 if (snd_BUG_ON(!mic_pin || !hp_pin)) alc271_hp_gate_mic_jack()
4525 snd_hda_jack_set_gating_jack(codec, mic_pin, hp_pin); alc271_hp_gate_mic_jack()

Completed in 84 milliseconds