Lines Matching defs:mute

157 	TP_HKEY_EV_VOL_MUTE		= 0x1017, /* Mixer output mute */
1958 u16 mute:1;
2431 n->mute = !!(d & TP_NVRAM_MASK_MUTE);
2499 * - Pressing MUTE issues mute hotkey message, even when already mute
2512 if (newn->mute) {
2514 if (!oldn->mute ||
2517 /* recently muted, or repeated mute keypress, or
2518 * multiple presses ending in mute */
2525 if (oldn->mute) {
3374 * The mic mute button only sends 0x1a. It does not
3375 * automatically mute the mic or change the mute light.
3377 KEY_MICMUTE, /* 0x1a: Mic mute (since ?400 or so) */
7176 * mute button to get confused. The hardware MUTE gate is also
7177 * unnecessary, since user code can handle the mute button without
7180 * To avoid confusing userspace, we simply disable all EC-based mute
7231 TPACPI_VOL_CAP_VOLMUTE, /* Output vol and mute */
7232 TPACPI_VOL_CAP_MUTEONLY, /* Output mute only */
7346 static int __volume_set_mute_ec(const bool mute)
7358 n = (mute) ? s | TP_EC_AUDIO_MUTESW_MSK :
7372 static int volume_alsa_set_mute(const bool mute)
7375 (mute) ? "" : "un");
7376 return __volume_set_mute_ec(mute);
7379 static int volume_set_mute(const bool mute)
7384 (mute) ? "" : "un");
7386 rc = __volume_set_mute_ec(mute);
7445 * In software mute mode, the standard codec controls take
7456 pr_warn("Failed to unmute the HW mute switch\n");
7467 pr_warn("Failed to restore mute mode\n");
7579 pr_warn("Failed to restore software mute\n");
7659 pr_err("Failed to create ALSA mute control: %d\n", rc);
7697 /* Whitelist mute-only on all Lenovo by default */
7781 "mute is supported, volume control is %s\n",
7822 seq_printf(m, "mute:\t\t%s\n",
7826 seq_printf(m, "commands:\tunmute, mute\n");
7886 if (strlencmp(cmd, "mute") == 0)
9276 .name = "platform::mute",
9279 .default_trigger = "audio-mute",
10502 "Selects the mixer capabilities: 0=auto, 1=volume and mute, 2=mute only");
10510 "Request full software mute control");