Lines Matching full:jack
23 #include <sound/jack.h>
378 struct hda_jack_callback *jack)
390 val = snd_hda_codec_read(codec, jack->nid, 0,
823 * 1 : Swap Jack
848 * when the external headphone out jack is plugged"
853 * 10~8 : Jack location
857 * when the external headphone out jack is plugged"
1545 { 0x1b, 0x0121401f }, /* HP with jack detect */
1721 * toggle GPIO1 according to the jack state
2229 struct hda_jack_callback *jack)
2234 snd_hda_gen_hp_automute(codec, jack);
2299 { 0x1b, 0x02214120 }, /* Front HP jack is flaky, disable jack detect */
2517 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
2526 { 0x15, 0x02a14150 }, /* use as headset mic, without its own jack detect */
3226 struct hda_jack_callback *jack)
3230 if (jack->unsol_res & (7 << 13))
3233 if (jack->unsol_res & (1 << 16 | 3 << 8))
3237 if (jack->unsol_res & (7 << 23))
3241 if (jack->unsol_res & (7 << 10))
3244 snd_hda_jack_set_button_state(codec, jack->nid, report);
3324 snd_hda_jack_add_kctl(codec, 0x55, "Headset Jack",
3534 /* Index 0x46 Combo jack auto switch control 2 */
3535 /* 3k pull low control for Headset jack. */
3651 /* 3k pull low control for Headset jack. */
3798 /* 3k pull low control for Headset jack. */
4199 struct hda_jack_callback *jack)
4204 snd_hda_gen_hp_automute(codec, jack);
4995 UPDATE_COEF(0x4a, 0x000f, 0x000e), /* Combo Jack auto detect */
5072 codec_dbg(codec, "Headset jack set to unplugged mode.\n");
5212 codec_dbg(codec, "Headset jack set to mic-in mode.\n");
5262 UPDATE_COEF(0x4a, 0x000f, 0x000e), /* Combo Jack auto detect */
5330 codec_dbg(codec, "Headset jack set to headphone (default) mode.\n");
5452 codec_dbg(codec, "Headset jack set to iPhone-style headset mode.\n");
5553 codec_dbg(codec, "Headset jack set to Nokia-style headset mode.\n");
5562 WRITE_COEF(0x45, 0xd089), /* combo jack auto switch control(Check type)*/
5563 WRITE_COEF(0x49, 0x0149), /* combo jack auto switch control(Vref
5580 UPDATE_COEF(0x4a, 0x000f, 0x0008), /* Combo Jack auto detect */
5751 codec_dbg(codec, "Headset jack detected iPhone-style headset: %s\n",
5824 struct hda_jack_callback *jack)
5826 snd_hda_gen_hp_automute(codec, jack);
5938 struct hda_jack_callback *jack)
5942 alc_update_headset_jack_cb(codec, jack);
6195 struct hda_jack_callback *jack)
6201 snd_hda_gen_hp_automute(codec, jack);
6343 struct hda_jack_callback *jack)
6347 snd_hda_gen_hp_automute(codec, jack);
6632 /* Mic RING SLEEVE swap for combo jack */
7003 * The audio jack input and output is not detected on the ASRock NUC Box
7596 { 0x19, 0x01a1903c }, /* headset mic, with jack detect */
7726 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7727 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7738 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7747 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7756 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7757 { 0x1b, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7776 { 0x19, 0x01a1913c }, /* headset mic w/o jack detect */
7785 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7988 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7997 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8006 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8007 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
8016 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8035 { 0x18, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
8036 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8137 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8138 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
8184 { 0x18, 0x01a1913c }, /* headset mic w/o jack detect */
8193 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8194 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
8203 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8361 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8362 { 0x1a, 0x01813030 }, /* use as headphone mic, without its own jack detect */
8371 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8372 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
8386 { 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */
8400 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8449 { 0x19, 0x02a1913c }, /* use as Front headset mic, without its own jack detect */
8517 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8551 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8561 { 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */
8602 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8633 { 0x19, 0x01a1913c }, /* use as Front headset mic, without its own jack detect */
8664 { 0x19, 0x03a11020 }, /* headset mic with jack detect */
8673 { 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */
8682 { 0x21, 0x90170150 }, /* use as headset mic, without its own jack detect */
8874 { 0x1e, 0x90170151 }, /* Rear jack, IN OUT EAPD Detect */
8944 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8954 { 0x18, 0x02a111f0 }, /* use as headset mic, without its own jack detect */
8973 { 0x18, 0x01a11130 }, /* use as headset mic, without its own jack detect */
8988 { 0x19, 0x03a11020 }, /* headset mic with jack detect */
8995 { 0x19, 0x02a11120 }, /* use as headset mic, without its own jack detect */
9093 { 0x1b, 0x01a1913c }, /* use as headset mic, without its own jack detect */
9102 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
9171 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
9186 { 0x19, 0x02a1113c }, /* use as headset mic, without its own jack detect */
9408 { 0x19, 0x03a11120 }, /* use as headset mic, without its own jack detect */
9477 { 0x19, 0x02a1112c }, /* use as headset mic, without its own jack detect */
10482 {.id = ALC225_FIXUP_HEADSET_JACK, .name = "alc-headset-jack"},
11153 alc_update_coef_idx(codec, 0x4a, 1 << 15, 0); /* Combo jack auto trigger control */
11246 /* suppress the jack-detection */
11532 struct hda_jack_callback *jack)
11537 snd_hda_gen_hp_automute(codec, jack);
11576 /* Pin 0x1b: shared headphones jack and surround speakers */
11602 { 0x19, 0x02a11040 }, /* use as headset mic, with its own jack detect */
11620 struct hda_jack_callback *jack)
11625 snd_hda_gen_hp_automute(codec, jack);
11943 { 0x19, 0x03a1113c }, /* use as headset mic, without its own jack detect */
11957 { 0x19, 0x03a1913d }, /* use as headphone mic, without its own jack detect */
11958 { 0x1b, 0x03a1113c }, /* use as headset mic, without its own jack detect */
12010 { 0x19, 0x03a1913d }, /* use as headphone mic, without its own jack detect */
12012 { 0x1b, 0x03a1113c }, /* use as headset mic, without its own jack detect */
12042 { 0x19, 0x03a1913d }, /* use as headphone mic, without its own jack detect */
12043 { 0x1b, 0x03a1113c }, /* use as headset mic, without its own jack detect */
12071 { 0x19, 0x02a1913c }, /* use as headset mic, without its own jack detect */
12091 { 0x1b, 0x11130012 }, /* surround plus jack for HP */
12104 { 0x1a, 0x02a1113c }, /* use as headset mic, without its own jack detect */
12113 { 0x1a, 0x01a11140 }, /* use as headset mic, without its own jack detect */
12159 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
12170 { 0x1a, 0x01a11140 }, /* use as headset mic, without its own jack detect */