Lines Matching defs:jack

21 #include <sound/jack.h>
2224 struct hda_jack_callback *jack);
2398 /* update jack retasking in case it modifies any of them */
2654 codec_dbg(codec, "Enable shared I/O jack on NID 0x%x\n", nid);
2659 * output jack mode
2770 * input jack mode
2894 /* no jack mode for fixed pins */
2912 * HP/mic shared jack mode
4043 path->pin_fixed = true; /* no jack detection */
4070 path->pin_fixed = true; /* no jack */
4166 /* check the jack status for power control */
4174 /* power up/down the paths of the given pin according to the jack state;
4175 * power = 0/1 : only power up/down if it matches with the jack state,
4176 * < 0 : force power up/down to follow the jack sate
4196 struct hda_jack_callback *jack,
4199 if (jack && jack->nid)
4201 set_pin_power_jack(codec, jack->nid, on));
4206 struct hda_jack_callback *jack)
4208 pin_power_callback(codec, jack, true);
4213 struct hda_jack_callback *jack)
4215 pin_power_callback(codec, jack, false);
4234 /* enabled power callback to each available I/O pin with jack detections;
4254 /* sync path power up/down with the jack states of given pins */
4451 * Update the mute status of all outputs based on the current jack states.
4516 * @jack: jack object, NULL for the whole
4519 struct hda_jack_callback *jack)
4525 /* No detection for the first HP jack during indep-HP mode */
4541 * @jack: jack object, NULL for the whole
4544 struct hda_jack_callback *jack)
4550 /* check LO jack only when it's different from HP */
4566 * @jack: jack object, NULL for the whole
4569 struct hda_jack_callback *jack)
4593 struct hda_jack_callback *jack)
4597 spec->hp_automute_hook(codec, jack);
4599 snd_hda_gen_hp_automute(codec, jack);
4603 struct hda_jack_callback *jack)
4607 spec->line_automute_hook(codec, jack);
4609 snd_hda_gen_line_automute(codec, jack);
4613 struct hda_jack_callback *jack)
4617 spec->mic_autoswitch_hook(codec, jack);
4619 snd_hda_gen_mic_autoswitch(codec, jack);
4622 /* update jack retasking */
4812 /* we don't need the jack detection for the first pin */
4880 * higher attr will be selected when the jack is plugged.