| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | wm8524.c | 28 struct gpio_desc *mute; member 78 gpiod_set_value_cansleep(wm8524->mute, 1); in wm8524_startup() 89 gpiod_set_value_cansleep(wm8524->mute, 0); in wm8524_shutdown() 150 static int wm8524_mute_stream(struct snd_soc_dai *dai, int mute, int stream) in wm8524_mute_stream() argument 154 if (wm8524->mute) in wm8524_mute_stream() 155 gpiod_set_value_cansleep(wm8524->mute, mute); in wm8524_mute_stream() 227 wm8524->mute = devm_gpiod_get(&pdev->dev, "wlf,mute", GPIOD_OUT_LOW); in wm8524_codec_probe() 228 if (IS_ERR(wm8524->mute)) { in wm8524_codec_probe() 229 ret = PTR_ERR(wm8524->mute); in wm8524_codec_probe() 230 dev_err(&pdev->dev, "Failed to get mute line: %d\n", ret); in wm8524_codec_probe()
|
| D | uda1334.c | 24 struct gpio_desc *mute; member 110 gpiod_set_value_cansleep(uda1334->mute, 1); in uda1334_startup() 121 gpiod_set_value_cansleep(uda1334->mute, 0); in uda1334_shutdown() 183 static int uda1334_mute_stream(struct snd_soc_dai *dai, int mute, int stream) in uda1334_mute_stream() argument 187 if (uda1334->mute) in uda1334_mute_stream() 188 gpiod_set_value_cansleep(uda1334->mute, mute); in uda1334_mute_stream() 260 uda1334->mute = devm_gpiod_get(&pdev->dev, "nxp,mute", GPIOD_OUT_LOW); in uda1334_codec_probe() 261 if (IS_ERR(uda1334->mute)) { in uda1334_codec_probe() 262 ret = PTR_ERR(uda1334->mute); in uda1334_codec_probe() 263 dev_err(&pdev->dev, "Failed to get mute line: %d\n", ret); in uda1334_codec_probe()
|
| /kernel/linux/linux-4.19/sound/soc/codecs/ |
| D | wm8524.c | 31 struct gpio_desc *mute; member 81 gpiod_set_value_cansleep(wm8524->mute, 1); in wm8524_startup() 92 gpiod_set_value_cansleep(wm8524->mute, 0); in wm8524_shutdown() 153 static int wm8524_mute_stream(struct snd_soc_dai *dai, int mute, int stream) in wm8524_mute_stream() argument 157 if (wm8524->mute) in wm8524_mute_stream() 158 gpiod_set_value_cansleep(wm8524->mute, mute); in wm8524_mute_stream() 228 wm8524->mute = devm_gpiod_get(&pdev->dev, "wlf,mute", GPIOD_OUT_LOW); in wm8524_codec_probe() 229 if (IS_ERR(wm8524->mute)) { in wm8524_codec_probe() 230 ret = PTR_ERR(wm8524->mute); in wm8524_codec_probe() 231 dev_err(&pdev->dev, "Failed to get mute line: %d\n", ret); in wm8524_codec_probe()
|
| /kernel/linux/linux-5.10/sound/soc/sh/rcar/ |
| D | dvc.c | 15 * Playback Mute 16 * amixer set "DVC Out Mute" on 18 * Capture Mute 19 * amixer set "DVC In Mute" on 39 struct rsnd_kctrl_cfg_m mute; member 106 /* Enable Digital Volume, Zero Cross Mute Mode */ in rsnd_dvc_volume_init() 152 for (i = 0; i < rsnd_kctrl_size(dvc->mute); i++) in rsnd_dvc_volume_update() 153 zcmcr |= (!!rsnd_kctrl_valm(dvc->mute, i)) << i; in rsnd_dvc_volume_update() 163 /* Zero Cross Mute Function */ in rsnd_dvc_volume_update() 232 /* Mute */ in rsnd_dvc_pcm_new() [all …]
|
| /kernel/linux/linux-5.10/Documentation/sound/hd-audio/ |
| D | models.rst | 135 hp-mute-led-mic1 136 Mute LED via Mic1 pin on HP 137 hp-mute-led-mic2 138 Mute LED via Mic2 pin on HP 139 hp-mute-led-mic3 140 Mute LED via Mic3 pin on HP 144 Mute LED via Line1 + Mic1 pins on HP 194 GPIO and Mic1 pin mute LED fixups for HP 196 GPIO mute LEDs on HP 198 GPIO mute LED with hot key handling on HP [all …]
|
| /kernel/linux/linux-4.19/Documentation/sound/hd-audio/ |
| D | models.rst | 135 hp-mute-led-mic1 136 Mute LED via Mic1 pin on HP 137 hp-mute-led-mic2 138 Mute LED via Mic2 pin on HP 139 hp-mute-led-mic3 140 Mute LED via Mic3 pin on HP 144 Mute LED via Line1 + Mic1 pins on HP 194 GPIO and Mic1 pin mute LED fixups for HP 196 GPIO mute LEDs on HP 198 GPIO mute LED with hot key handling on HP [all …]
|
| /kernel/linux/linux-4.19/sound/soc/sh/rcar/ |
| D | dvc.c | 15 * Playback Mute 16 * amixer set "DVC Out Mute" on 18 * Capture Mute 19 * amixer set "DVC In Mute" on 39 struct rsnd_kctrl_cfg_m mute; member 112 /* Enable Digital Volume, Zero Cross Mute Mode */ in rsnd_dvc_volume_init() 158 for (i = 0; i < rsnd_kctrl_size(dvc->mute); i++) in rsnd_dvc_volume_update() 159 zcmcr |= (!!rsnd_kctrl_valm(dvc->mute, i)) << i; in rsnd_dvc_volume_update() 169 /* Zero Cross Mute Function */ in rsnd_dvc_volume_update() 238 /* Mute */ in rsnd_dvc_pcm_new() [all …]
|
| /kernel/linux/linux-5.10/sound/firewire/oxfw/ |
| D | oxfw-spkr.c | 11 bool mute; member 53 buf[8] = 0x01; /* control selector: mute */ in avc_audio_feature_mute() 69 dev_err(&unit->device, "mute command failed\n"); in avc_audio_feature_mute() 151 value->value.integer.value[0] = !spkr->mute; in spkr_mute_get() 161 bool mute; in spkr_mute_put() local 164 mute = !value->value.integer.value[0]; in spkr_mute_put() 166 if (mute == spkr->mute) in spkr_mute_put() 169 err = avc_audio_feature_mute(oxfw->unit, spkr->mute_fb_id, &mute, in spkr_mute_put() 173 spkr->mute = mute; in spkr_mute_put() 298 err = avc_audio_feature_mute(oxfw->unit, spkr->mute_fb_id, &spkr->mute, in snd_oxfw_add_spkr()
|
| /kernel/linux/linux-4.19/sound/firewire/oxfw/ |
| D | oxfw-spkr.c | 11 bool mute; member 53 buf[8] = 0x01; /* control selector: mute */ in avc_audio_feature_mute() 69 dev_err(&unit->device, "mute command failed\n"); in avc_audio_feature_mute() 151 value->value.integer.value[0] = !spkr->mute; in spkr_mute_get() 161 bool mute; in spkr_mute_put() local 164 mute = !value->value.integer.value[0]; in spkr_mute_put() 166 if (mute == spkr->mute) in spkr_mute_put() 169 err = avc_audio_feature_mute(oxfw->unit, spkr->mute_fb_id, &mute, in spkr_mute_put() 173 spkr->mute = mute; in spkr_mute_put() 297 err = avc_audio_feature_mute(oxfw->unit, spkr->mute_fb_id, &spkr->mute, in snd_oxfw_add_spkr()
|
| /kernel/linux/linux-5.10/drivers/media/radio/ |
| D | radio-gemtek.c | 91 #define GEMTEK_MT 0x10 /* Line mute */ 153 int i, bit, q, mute; in gemtek_bu2614_transmit() local 155 mute = gt->muted ? GEMTEK_MT : 0x00; in gemtek_bu2614_transmit() 157 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 162 outb_p(mute | GEMTEK_CE | bit, isa->io); in gemtek_bu2614_transmit() 164 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 168 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 212 * Set mute flag. 214 static int gemtek_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in gemtek_s_mute_volume() argument 219 gt->muted = mute; in gemtek_s_mute_volume() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/radio/ |
| D | radio-gemtek.c | 90 #define GEMTEK_MT 0x10 /* Line mute */ 152 int i, bit, q, mute; in gemtek_bu2614_transmit() local 154 mute = gt->muted ? GEMTEK_MT : 0x00; in gemtek_bu2614_transmit() 156 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 161 outb_p(mute | GEMTEK_CE | bit, isa->io); in gemtek_bu2614_transmit() 163 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 167 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 211 * Set mute flag. 213 static int gemtek_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in gemtek_s_mute_volume() argument 218 gt->muted = mute; in gemtek_s_mute_volume() [all …]
|
| /kernel/linux/linux-5.10/Documentation/sound/cards/ |
| D | audigy-mixer.rst | 278 * 2 - mono, C destination attn, default 0 (mute) 279 * 3 - mono, D destination attn, default 0 (mute) 280 * 4 - mono, E destination attn, default 0 (mute) 281 * 5 - mono, F destination attn, default 0 (mute) 282 * 6 - mono, G destination attn, default 0 (mute) 283 * 7 - mono, H destination attn, default 0 (mute) 285 * 9 - left, B destination attn, default 0 (mute) 286 * 10 - left, C destination attn, default 0 (mute) 287 * 11 - left, D destination attn, default 0 (mute) 288 * 12 - left, E destination attn, default 0 (mute) [all …]
|
| /kernel/linux/linux-4.19/Documentation/sound/cards/ |
| D | audigy-mixer.rst | 278 * 2 - mono, C destination attn, default 0 (mute) 279 * 3 - mono, D destination attn, default 0 (mute) 280 * 4 - mono, E destination attn, default 0 (mute) 281 * 5 - mono, F destination attn, default 0 (mute) 282 * 6 - mono, G destination attn, default 0 (mute) 283 * 7 - mono, H destination attn, default 0 (mute) 285 * 9 - left, B destination attn, default 0 (mute) 286 * 10 - left, C destination attn, default 0 (mute) 287 * 11 - left, D destination attn, default 0 (mute) 288 * 12 - left, E destination attn, default 0 (mute) [all …]
|
| /kernel/linux/linux-5.10/drivers/ps3/ |
| D | ps3av_cmd.c | 213 int ps3av_cmd_av_video_mute(int num_of_port, u32 *port, u32 mute) in ps3av_cmd_av_video_mute() argument 223 av_video_mute.mute[i].avport = port[i]; in ps3av_cmd_av_video_mute() 224 av_video_mute.mute[i].mute = mute; in ps3av_cmd_av_video_mute() 264 int ps3av_cmd_av_tv_mute(u32 avport, u32 mute) in ps3av_cmd_av_tv_mute() argument 271 tv_mute.mute = mute; in ps3av_cmd_av_tv_mute() 409 int ps3av_cmd_video_format_black(u32 head, u32 video_fmt, u32 mute) in ps3av_cmd_video_format_black() argument 416 if (mute != PS3AV_CMD_MUTE_OFF) in ps3av_cmd_video_format_black() 436 int ps3av_cmd_av_audio_mute(int num_of_port, u32 *port, u32 mute) in ps3av_cmd_av_audio_mute() argument 444 /* audio mute */ in ps3av_cmd_av_audio_mute() 447 av_audio_mute.mute[i].avport = port[i]; in ps3av_cmd_av_audio_mute() [all …]
|
| /kernel/linux/linux-5.10/sound/mips/ |
| D | ad1843.c | 44 ad1843_RD2MM = { 3, 7, 1 }, /* Right DAC 2 Mix Mute */ 46 ad1843_LD2MM = { 3, 15, 1 }, /* Left DAC 2 Mix Mute */ 48 ad1843_RX1MM = { 4, 7, 1 }, /* Right Aux 1 Mix Mute */ 50 ad1843_LX1MM = { 4, 15, 1 }, /* Left Aux 1 Mix Mute */ 52 ad1843_RX2MM = { 5, 7, 1 }, /* Right Aux 2 Mix Mute */ 54 ad1843_LX2MM = { 5, 15, 1 }, /* Left Aux 2 Mix Mute */ 56 ad1843_RMCMM = { 7, 7, 1 }, /* Right Mic Mix Mute */ 58 ad1843_LMCMM = { 7, 15, 1 }, /* Left Mic Mix Mute */ 60 ad1843_HPOM = { 8, 5, 1 }, /* Headphone Output Mute */ 61 ad1843_MPOM = { 8, 6, 1 }, /* Mono Output Mute */ [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/ |
| D | rohm,bd28623.txt | 5 to GPIOs: reset and mute. 16 - mute-gpios : GPIO specifier for the active low mute line 28 mute-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
| D | st,sta350.txt | 86 - st,invalid-input-detect-mute: 87 If present, automatic invalid input detect mute is enabled. 89 - st,activate-mute-output: 90 If present, a mute output will be activated in ase the volume will 105 mute commands. 129 st,invalid-input-detect-mute; // mute if no valid digital
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | st,sta350.txt | 86 - st,invalid-input-detect-mute: 87 If present, automatic invalid input detect mute is enabled. 89 - st,activate-mute-output: 90 If present, a mute output will be activated in ase the volume will 105 mute commands. 129 st,invalid-input-detect-mute; // mute if no valid digital
|
| /kernel/linux/linux-4.19/drivers/ps3/ |
| D | ps3av_cmd.c | 225 int ps3av_cmd_av_video_mute(int num_of_port, u32 *port, u32 mute) in ps3av_cmd_av_video_mute() argument 235 av_video_mute.mute[i].avport = port[i]; in ps3av_cmd_av_video_mute() 236 av_video_mute.mute[i].mute = mute; in ps3av_cmd_av_video_mute() 276 int ps3av_cmd_av_tv_mute(u32 avport, u32 mute) in ps3av_cmd_av_tv_mute() argument 283 tv_mute.mute = mute; in ps3av_cmd_av_tv_mute() 421 int ps3av_cmd_video_format_black(u32 head, u32 video_fmt, u32 mute) in ps3av_cmd_video_format_black() argument 428 if (mute != PS3AV_CMD_MUTE_OFF) in ps3av_cmd_video_format_black() 448 int ps3av_cmd_av_audio_mute(int num_of_port, u32 *port, u32 mute) in ps3av_cmd_av_audio_mute() argument 456 /* audio mute */ in ps3av_cmd_av_audio_mute() 459 av_audio_mute.mute[i].avport = port[i]; in ps3av_cmd_av_audio_mute() [all …]
|
| /kernel/linux/linux-4.19/sound/mips/ |
| D | ad1843.c | 58 ad1843_RD2MM = { 3, 7, 1 }, /* Right DAC 2 Mix Mute */ 60 ad1843_LD2MM = { 3, 15, 1 }, /* Left DAC 2 Mix Mute */ 62 ad1843_RX1MM = { 4, 7, 1 }, /* Right Aux 1 Mix Mute */ 64 ad1843_LX1MM = { 4, 15, 1 }, /* Left Aux 1 Mix Mute */ 66 ad1843_RX2MM = { 5, 7, 1 }, /* Right Aux 2 Mix Mute */ 68 ad1843_LX2MM = { 5, 15, 1 }, /* Left Aux 2 Mix Mute */ 70 ad1843_RMCMM = { 7, 7, 1 }, /* Right Mic Mix Mute */ 72 ad1843_LMCMM = { 7, 15, 1 }, /* Left Mic Mix Mute */ 74 ad1843_HPOM = { 8, 5, 1 }, /* Headphone Output Mute */ 75 ad1843_MPOM = { 8, 6, 1 }, /* Mono Output Mute */ [all …]
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/dvb/ |
| D | audio-set-mute.rst | 41 - Indicates if audio device shall mute or not. 43 TRUE: Audio Mute 45 FALSE: Audio Un-mute 55 This ioctl call asks the audio device to mute the stream that is
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/ |
| D | audio-set-mute.rst | 41 - Indicates if audio device shall mute or not. 43 TRUE: Audio Mute 45 FALSE: Audio Un-mute 54 This ioctl call asks the audio device to mute the stream that is
|
| /kernel/linux/linux-4.19/include/uapi/sound/ |
| D | tlv.h | 22 #define SNDRV_CTL_TLVT_DB_MINMAX_MUTE 5 /* dB scale with min/max with mute */ 58 #define SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \ argument 62 ((mute) ? SNDRV_CTL_TLVD_DB_SCALE_MUTE : 0)) 63 #define SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name, min, step, mute) \ argument 65 SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \ 68 /* Accessor offsets for min, mute and step items in dB scale type TLV */
|
| /kernel/linux/linux-5.10/include/uapi/sound/ |
| D | tlv.h | 22 #define SNDRV_CTL_TLVT_DB_MINMAX_MUTE 5 /* dB scale with min/max with mute */ 58 #define SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \ argument 62 ((mute) ? SNDRV_CTL_TLVD_DB_SCALE_MUTE : 0)) 63 #define SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name, min, step, mute) \ argument 65 SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \ 68 /* Accessor offsets for min, mute and step items in dB scale type TLV */
|
| /kernel/linux/linux-4.19/Documentation/sound/soc/ |
| D | codec.rst | 22 7. DAC Digital mute control. 168 Codec DAC digital mute control 170 Most codecs have a digital mute before the DACs that can be used to 171 minimise any system noise. The mute stops any digital data from 175 when the mute is applied or freed. 180 static int wm8974_mute(struct snd_soc_dai *dai, int mute) 185 if (mute)
|