Lines Matching full:jack
22 #include <sound/jack.h>
381 struct hda_jack_callback *jack)
393 val = snd_hda_codec_read(codec, jack->nid, 0,
824 * 1 : Swap Jack
849 * when the external headphone out jack is plugged"
854 * 10~8 : Jack location
858 * when the external headphone out jack is plugged"
1559 { 0x1b, 0x0121401f }, /* HP with jack detect */
1735 * toggle GPIO1 according to the jack state
2243 struct hda_jack_callback *jack)
2248 snd_hda_gen_hp_automute(codec, jack);
2313 { 0x1b, 0x02214120 }, /* Front HP jack is flaky, disable jack detect */
2531 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
2540 { 0x15, 0x02a14150 }, /* use as headset mic, without its own jack detect */
3234 struct hda_jack_callback *jack)
3238 if (jack->unsol_res & (7 << 13))
3241 if (jack->unsol_res & (1 << 16 | 3 << 8))
3245 if (jack->unsol_res & (7 << 23))
3249 if (jack->unsol_res & (7 << 10))
3252 jack->jack->button_state = report;
3325 snd_hda_jack_add_kctl(codec, 0x55, "Headset Jack", false,
3535 /* Index 0x46 Combo jack auto switch control 2 */
3536 /* 3k pull low control for Headset jack. */
3652 /* 3k pull low control for Headset jack. */
3739 /* 3k pull low control for Headset jack. */
4139 struct hda_jack_callback *jack)
4144 snd_hda_gen_hp_automute(codec, jack);
4919 UPDATE_COEF(0x4a, 0x000f, 0x000e), /* Combo Jack auto detect */
4996 codec_dbg(codec, "Headset jack set to unplugged mode.\n");
5136 codec_dbg(codec, "Headset jack set to mic-in mode.\n");
5186 UPDATE_COEF(0x4a, 0x000f, 0x000e), /* Combo Jack auto detect */
5254 codec_dbg(codec, "Headset jack set to headphone (default) mode.\n");
5376 codec_dbg(codec, "Headset jack set to iPhone-style headset mode.\n");
5477 codec_dbg(codec, "Headset jack set to Nokia-style headset mode.\n");
5486 WRITE_COEF(0x45, 0xd089), /* combo jack auto switch control(Check type)*/
5487 WRITE_COEF(0x49, 0x0149), /* combo jack auto switch control(Vref
5504 UPDATE_COEF(0x4a, 0x000f, 0x0008), /* Combo Jack auto detect */
5675 codec_dbg(codec, "Headset jack detected iPhone-style headset: %s\n",
5748 struct hda_jack_callback *jack)
5750 snd_hda_gen_hp_automute(codec, jack);
5862 struct hda_jack_callback *jack)
5866 alc_update_headset_jack_cb(codec, jack);
6120 struct hda_jack_callback *jack)
6126 snd_hda_gen_hp_automute(codec, jack);
6268 struct hda_jack_callback *jack)
6272 snd_hda_gen_hp_automute(codec, jack);
6557 /* Mic RING SLEEVE swap for combo jack */
6687 * The audio jack input and output is not detected on the ASRock NUC Box
7087 { 0x19, 0x01a1903c }, /* headset mic, with jack detect */
7217 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7218 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7229 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7238 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7247 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7248 { 0x1b, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7267 { 0x19, 0x01a1913c }, /* headset mic w/o jack detect */
7276 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7479 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7488 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7497 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7498 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7507 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7526 { 0x18, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7527 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7628 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7629 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7675 { 0x18, 0x01a1913c }, /* headset mic w/o jack detect */
7684 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7685 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7694 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7811 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7812 { 0x1a, 0x01813030 }, /* use as headphone mic, without its own jack detect */
7821 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7822 { 0x1a, 0x01a1913d }, /* use as headphone mic, without its own jack detect */
7836 { 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */
7850 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7899 { 0x19, 0x02a1913c }, /* use as Front headset mic, without its own jack detect */
7967 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8001 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8011 { 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */
8052 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8083 { 0x19, 0x01a1913c }, /* use as Front headset mic, without its own jack detect */
8114 { 0x19, 0x03a11020 }, /* headset mic with jack detect */
8123 { 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */
8132 { 0x21, 0x90170150 }, /* use as headset mic, without its own jack detect */
8268 { 0x1e, 0x90170151 }, /* Rear jack, IN OUT EAPD Detect */
8338 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8348 { 0x18, 0x02a111f0 }, /* use as headset mic, without its own jack detect */
8367 { 0x18, 0x01a11130 }, /* use as headset mic, without its own jack detect */
8382 { 0x19, 0x03a11020 }, /* headset mic with jack detect */
8389 { 0x19, 0x02a11120 }, /* use as headset mic, without its own jack detect */
8487 { 0x1b, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8496 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8565 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
8580 { 0x19, 0x02a1113c }, /* use as headset mic, without its own jack detect */
8786 { 0x19, 0x03a11120 }, /* use as headset mic, without its own jack detect */
9515 {.id = ALC225_FIXUP_HEADSET_JACK, .name = "alc-headset-jack"},
10166 alc_update_coef_idx(codec, 0x4a, 1 << 15, 0); /* Combo jack auto trigger control */
10259 /* suppress the jack-detection */
10545 struct hda_jack_callback *jack)
10550 snd_hda_gen_hp_automute(codec, jack);
10589 /* Pin 0x1b: shared headphones jack and surround speakers */
10615 { 0x19, 0x02a11040 }, /* use as headset mic, with its own jack detect */
10633 struct hda_jack_callback *jack)
10638 snd_hda_gen_hp_automute(codec, jack);
10956 { 0x19, 0x03a1113c }, /* use as headset mic, without its own jack detect */
10970 { 0x19, 0x03a1913d }, /* use as headphone mic, without its own jack detect */
10971 { 0x1b, 0x03a1113c }, /* use as headset mic, without its own jack detect */
11023 { 0x19, 0x03a1913d }, /* use as headphone mic, without its own jack detect */
11025 { 0x1b, 0x03a1113c }, /* use as headset mic, without its own jack detect */
11055 { 0x19, 0x03a1913d }, /* use as headphone mic, without its own jack detect */
11056 { 0x1b, 0x03a1113c }, /* use as headset mic, without its own jack detect */
11084 { 0x19, 0x02a1913c }, /* use as headset mic, without its own jack detect */
11104 { 0x1b, 0x11130012 }, /* surround plus jack for HP */
11117 { 0x1a, 0x02a1113c }, /* use as headset mic, without its own jack detect */
11126 { 0x1a, 0x01a11140 }, /* use as headset mic, without its own jack detect */
11172 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
11183 { 0x1a, 0x01a11140 }, /* use as headset mic, without its own jack detect */