Lines Matching defs:pin

561 	const struct hda_pincfg *pin;
566 * the default pin setup at the next load of the driver
571 snd_array_for_each(&codec->init_pins, i, pin) {
573 if (pin->nid != mic_pin)
574 snd_hda_codec_read(codec, pin->nid, 0,
640 /* get a primary headphone pin if available */
769 * port-A --> pin 39/41, port-E --> pin 14/15, port-D --> pin 35/36
789 /* invalid SSID, check the special NID pin defcfg instead */
872 * ports contains an array of 4 pin NIDs for port-A, E, D and I */
1579 * It's not quite sure whether BIOS sets the correct pin-config table
1720 /* although the machine has only one output pin, we need to
1938 * configuration. Each pin widget can choose any input DACs and a mixer.
2037 /* Set VREF on HP pin */
3652 /* NOTE: call this before clearing the pin, otherwise codec stalls */
4291 static void alc_update_vref_led(struct hda_codec *codec, hda_nid_t pin,
4296 if (!pin)
4300 pinval = snd_hda_codec_get_pin_target(codec, pin);
4305 snd_hda_set_pin_ctl_cache(codec, pin, pinval);
4309 /* update mute-LED according to the speaker mute state via mic VREF pin */
4332 /* Set pin ctl again, it might have just been set to 0 */
4349 int pol, pin;
4350 if (sscanf(dev->name, "HP_Mute_LED_%d_%x", &pol, &pin) != 2)
4352 if (pin < 0x0a || pin >= 0x10)
4355 spec->mute_led_nid = pin - 0x0a + 0x18;
4367 int action, hda_nid_t pin)
4373 spec->mute_led_nid = pin;
5839 spec->headset_mic_pin = cfg->inputs[i].pin;
5841 spec->headphone_mic_pin = cfg->inputs[i].pin;
6032 /* Assure the speaker pin to be coupled with DAC NID 0x03; otherwise
6078 /* mic pin 0x19 must be initialized with Vref Hi-Z, otherwise
6103 spec->gen.hp_mic = 1; /* Mic-in is same pin as headphone */
6124 /* Returns the nid of the external mic input pin, or 0 if it cannot be found. */
6136 nid = cfg->inputs[i].pin;
6178 hda_nid_t nid = cfg->inputs[i].pin;
6248 /* mute tablet speaker pin (0x14) via dock plugging in addition */
6262 { 0x1b, 0x21114000 }, /* dock speaker pin */
7042 * Set the vref of pin 0x19 (Headset Mic) and pin 0x1b (Headphone Mic)
7150 /* Fix none verb table of Headset Mic pin */
7917 { 0x19, 0x411111f0 }, /* Unused bogus pin */
10410 {.id = ALC269_FIXUP_LIFEBOOK_HP_PIN, .name = "lifebook-hp-pin"},
10497 {.id = ALC287_FIXUP_YOGA9_14IAP7_BASS_SPK_PIN, .name = "alc287-yoga9-bass-spk-pin"},
10977 /* Power up output pin */
11229 /* On some laptops, VREF of pin 0x0f is abused for controlling the main amp */
11280 /* ASUS W7J needs a magic pin setup on unused NID 0x10
11448 * configuration. Each pin widget can choose any input DACs and a mixer.
11944 /* headphone mic by setting pin control of 0x1b (headphone out) to in + vref_50 */