Lines Matching defs:on

76 	unsigned int on;
283 bool on)
288 if (on)
533 /* turn on/off EAPD control (only if available) */
534 static void set_eapd(struct hda_codec *codec, hda_nid_t nid, int on)
540 on ? 2 : 0);
543 /* turn on/off EAPD controls of the codec */
544 static void alc_auto_setup_eapd(struct hda_codec *codec, bool on)
552 set_eapd(codec, *p, on);
1251 /* enable the volume-knob widget support on NID 0x21 */
1332 /* override all pins as BIOS on old Amilo is broken */
1576 * on these machines, thus they are kept to be compatible with
1841 /* Pin configs are missing completely on some VAIOs */
2033 /* Set VREF on HP pin */
2070 /* Set VREF on speaker pins on imac91 */
2080 /* Set VREF on speaker pins on mba11 */
2090 /* Set VREF on speaker pins on mba21 */
2101 * Strangely, the speaker output doesn't work on Vaio Z and some Vaio
2159 /* rename Capture controls depending on the codec */
2346 /* eanable EAPD on Acer laptops */
3619 * Expose headphone mic (or possibly Line In on some machines) instead
3620 * of PC Beep on 1Ah, and disable 1Ah loopback for all outputs. See
4071 /* on some machine, the BIOS will clear the codec gpio data when enter
4157 /* Due to a hardware problem on Lenovo Ideadpad, we need to
4287 bool polarity, bool on)
4294 on = !on;
4297 pinval |= on ? AC_PINCTL_VREF_80 : AC_PINCTL_VREF_HIZ;
4398 alc_update_gpio_data(codec, mask, !enabled); /* muted -> LED on */
4401 /* turn on/off mute LED via GPIO per vmaster hook */
4413 /* turn on/off mic-mute LED via GPIO per capture hook */
4487 /* turn on/off mic-mute LED per capture hook via VREF change */
4531 * it needs to toggle the GPIO0 once on and off at each time (bko#210633)
4583 bool polarity, bool on)
4586 on = !on;
4589 on ? led->on : led->off);
4614 spec->mute_led_coef.on = 1 << 3;
4630 spec->mute_led_coef.on = 0;
4645 spec->mute_led_coef.on = 1;
4661 spec->mute_led_coef.on = 2 << 2;
4667 /* turn on/off mic-mute LED per capture hook by coef bit */
4687 spec->mic_led_coef.on = 1 << 13;
4711 spec->mic_led_coef.on = 2 << 2;
4805 /* GPIO2 just toggles on a keypress/keyrelease cycle. Therefore
4806 send both key on and key off event for every interrupt. */
6028 * the speaker output becomes too low by some reason on Thinkpads with
6165 /* The mic boosts on level 2 and 3 are too noisy
6166 on the internal mic input.
6316 /* disable DAC3 (0x06) selection on NID 0x17 as it has no volume amp control */
6426 /* rename Capture controls depending on the codec */
6481 /* The DAC of NID 0x3 will introduce click/pop noise on headphones, so invalidate it */
6651 /* GPIO1 = amplifier on/off
6771 /* Fixup for Lenovo Legion 15IMHg05 speaker output on headset removal. */
6977 * The audio jack input and output is not detected on the ASRock NUC Box
7045 * prevent pop noises on cold boot.
7527 * depending on the codec ID
7564 * we apply a corresponding fixup depending on the codec SSID instead
11287 /* Class D power on reset */
11420 spec->gen.mixer_nid = 0; /* no loopback on ALC225, ALC295 and ALC299 */
11426 spec->gen.mixer_nid = 0; /* no loopback on ALC287 */
11438 spec->gen.mixer_nid = 0; /* no loopback on ALC300 */
11576 /* ASUS W7J needs a magic pin setup on unused NID 0x10
11641 * Based on ALC882
11788 SNDRV_CHMAP_NA, SNDRV_CHMAP_LFE } }, /* LFE only on right */