Lines Matching +full:pin +full:- +full:count
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Generic BIOS auto-parser helper functions for HD-audio
16 /* table entry for multi-io paths */
18 hda_nid_t pin; /* multi-io widget pin NID */ member
20 unsigned int ctl_in; /* cached input-pin control value */
25 * For output, stored in the order of DAC -> ... -> pin,
26 * for input, pin -> ... -> ADC.
30 * multi[] indicates whether it's a selector widget with multi-connectors
52 bool pin_fixed:1; /* path with fixed pin */
56 /* mic/line-in auto switching entry */
61 hda_nid_t pin; /* pin */ member
62 int idx; /* imux index, -1 = invalid */
63 unsigned int attr; /* pin attribute (INPUT_PIN_ATTR_*) */
108 struct hda_multi_out multiout; /* playback set-up
113 hda_nid_t follower_dig_outs[3]; /* optional - for auto-parsing */
119 hda_nid_t dig_in_nid; /* digital-in NID; optional */
120 hda_nid_t mixer_nid; /* analog-mixer NID */
121 hda_nid_t mixer_merge_nid; /* aamix merge-point NID (optional) */
125 /* capture setup for dynamic dual-adc switch */
135 /* min_channel_count contains the minimum channel count for primary
139 * ext_channel_count contains the current channel count of the primary
142 * Meanwhile, const_channel_count is the channel count for all outputs
146 int min_channel_count; /* min. channel count for primary out */
147 int ext_channel_count; /* current channel count for primary */
148 int const_channel_count; /* channel count for all */
184 /* auto-mic stuff */
188 /* for pin sensing */
202 unsigned int detect_lo:1; /* Line-out detection enabled */
209 unsigned int line_in_auto_switch:1; /* allow line-in auto switch */
210 unsigned int auto_mute_via_amp:1; /* auto-mute via amp instead of pinctl */
218 unsigned int hp_mic:1; /* Allow HP as a mic-in */
226 unsigned int vmaster_mute_led:1; /* add SPK-LED flag to vmaster mute switch */
227 unsigned int mic_mute_led:1; /* add MIC-LED flag to capture mute switch */
254 /* preferred pin/DAC pairs; an array of paired NIDs */
271 /* multi-io */
308 HDA_HINT_STEREO_MIX_AUTO, /* Add only if auto-mic is disabled */
347 int snd_hda_gen_fix_pin_power(struct hda_codec *codec, hda_nid_t pin);