/linux/sound/soc/codecs/ |
H A 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() 226 wm8524->mute = devm_gpiod_get(&pdev->dev, "wlf,mute", GPIOD_OUT_LOW); in wm8524_codec_probe() 227 if (IS_ERR(wm8524->mute)) { in wm8524_codec_probe() 228 ret = PTR_ERR(wm8524->mute); in wm8524_codec_probe() 229 dev_err_probe(&pdev->dev, ret, "Failed to get mute line\n"); in wm8524_codec_probe()
|
H A 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() 259 uda1334->mute = devm_gpiod_get(&pdev->dev, "nxp,mute", GPIOD_OUT_LOW); in uda1334_codec_probe() 260 if (IS_ERR(uda1334->mute)) { in uda1334_codec_probe() 261 ret = PTR_ERR(uda1334->mute); in uda1334_codec_probe() 262 dev_err(&pdev->dev, "Failed to get mute line: %d\n", ret); in uda1334_codec_probe()
|
H A D | max9768.c | 30 struct gpio_desc *mute; member 45 int val = gpiod_get_value_cansleep(max9768->mute); in max9768_get_gpio() 60 if (val != gpiod_get_value_cansleep(max9768->mute)) in max9768_set_gpio() 65 gpiod_set_value_cansleep(max9768->mute, val); in max9768_set_gpio() 148 if (max9768->mute) { in max9768_probe() 186 /* Mute on powerup to avoid clicks */ in max9768_i2c_probe() 187 max9768->mute = devm_gpiod_get_optional(&client->dev, in max9768_i2c_probe() 188 "mute", in max9768_i2c_probe() 190 if (IS_ERR(max9768->mute)) in max9768_i2c_probe() 191 return PTR_ERR(max9768->mute); in max9768_i2c_probe() [all …]
|
H A D | rk3328_codec.c | 34 struct gpio_desc *mute; member 109 static int rk3328_mute_stream(struct snd_soc_dai *dai, int mute, int direction) in rk3328_mute_stream() argument 115 if (mute) in rk3328_mute_stream() 198 gpiod_set_value(rk3328->mute, 0); in rk3328_codec_open_playback() 239 gpiod_set_value(rk3328->mute, 1); in rk3328_codec_close_playback() 451 rk3328->mute = gpiod_get_optional(&pdev->dev, "mute", GPIOD_OUT_HIGH); in rk3328_platform_probe() 452 if (IS_ERR(rk3328->mute)) in rk3328_platform_probe() 453 return PTR_ERR(rk3328->mute); in rk3328_platform_probe() 457 * external mute forced off. in rk3328_platform_probe() 459 if (!rk3328->mute && of_machine_is_compatible("pine64,rock64")) { in rk3328_platform_probe()
|
/linux/Documentation/sound/hd-audio/ |
H A 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 …]
|
/linux/sound/soc/sh/rcar/ |
H A 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() 236 /* Mute */ in rsnd_dvc_pcm_new() [all …]
|
/linux/Documentation/sound/cards/ |
H A 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 …]
|
/linux/sound/firewire/oxfw/ |
H A 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()
|
/linux/drivers/media/radio/ |
H A 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 …]
|
/linux/drivers/ps3/ |
H A 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 …]
|
H A D | ps3av.c | 335 static int ps3av_set_av_video_mute(u32 mute) in ps3av_set_av_video_mute() argument 341 /* video mute on */ in ps3av_set_av_video_mute() 343 res = ps3av_cmd_av_video_mute(1, &ps3av->av_port[i], mute); in ps3av_set_av_video_mute() 359 /* tv mute */ in ps3av_set_video_disable_sig() 368 /* video mute on */ in ps3av_set_video_disable_sig() 385 static int ps3av_set_audio_mute(u32 mute) in ps3av_set_audio_mute() argument 394 res = ps3av_cmd_av_audio_mute(1, &ps3av->av_port[i], mute); in ps3av_set_audio_mute() 399 res = ps3av_cmd_audio_mute(1, &ps3av->opt_port[i], mute); in ps3av_set_audio_mute() 425 /* audio mute */ in ps3av_set_audio_mode() 457 /* audio mute */ in ps3av_set_audio_mode() [all …]
|
/linux/sound/mips/ |
H A 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 …]
|
/linux/include/uapi/sound/ |
H A D | tlv.h | 11 #define SNDRV_CTL_TLVT_DB_MINMAX_MUTE 5 /* dB scale with min/max with mute */ 47 #define SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \ argument 51 ((mute) ? SNDRV_CTL_TLVD_DB_SCALE_MUTE : 0)) 52 #define SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name, min, step, mute) \ argument 54 SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \ 57 /* Accessor offsets for min, mute and step items in dB scale type TLV */
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | wlf,wm8524.yaml | 22 wlf,mute-gpios: 25 a GPIO spec for the MUTE pin. 29 - wlf,mute-gpios 39 wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
|
H A 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
|
H A D | maxim,max9759.yaml | 20 mute-gpios: 22 description: the gpio connected to the mute pin 31 - mute-gpios 42 mute-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
|
H A D | rohm,bd28623.yaml | 12 that can be connected to GPIOs reset and mute. 44 mute-gpios: 47 GPIO specifier for the active low mute line 69 mute-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
H A D | uda1334.txt | 8 - nxp,mute-gpios: a GPIO spec for the MUTE pin. 15 nxp,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
|
/linux/drivers/platform/x86/dell/ |
H A D | dell-wmi-privacy.c | 61 /* privacy mic mute */ 63 /* privacy camera mute */ 88 * 5) Userland picks up key and modifies kcontrol for SW mute 91 * 7) dell-privacy notifies EC, the timeout is cancelled and the HW mute activates. 92 * If the EC is not notified then the HW mic mute will activate when the timeout 117 case DELL_PRIVACY_AUDIO_EVENT: /* Mic mute */ in dell_privacy_process_event() 122 case DELL_PRIVACY_CAMERA_EVENT: /* Camera mute */ in dell_privacy_process_event() 270 * Pressing the mute key activates a time delayed circuit to physically cut 271 * off the mute. The LED is in the same circuit, so it reflects the true 272 * state of the HW mute. The reason for the EC "ack" is so that software [all …]
|
/linux/Documentation/sound/soc/ |
H A 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, int direction) 185 if (mute)
|
/linux/Documentation/ABI/testing/ |
H A D | configfs-usb-gadget-uac1 | 11 c_mute_present capture mute control enable 22 p_mute_present playback mute control enable 36 p_fu_vol_name playback mute/volume functional unit name 40 c_fu_vol_name capture mute/volume functional unit name
|
H A D | configfs-usb-gadget-uac2 | 14 c_mute_present capture mute control enable 27 p_mute_present playback mute control enable 44 p_fu_vol_name playback mute/volume function unit name 48 c_fu_vol_name capture mute/volume functional unit name
|
/linux/sound/soc/spear/ |
H A D | spdif_out.c | 31 u32 mute; member 167 if (!host->saved_params.mute) in spdif_out_trigger() 191 static int spdif_mute(struct snd_soc_dai *dai, int mute, int direction) in spdif_mute() argument 196 host->saved_params.mute = mute; in spdif_mute() 200 if (mute) in spdif_mute() 219 ucontrol->value.integer.value[0] = host->saved_params.mute; in spdif_mute_get() 229 if (host->saved_params.mute == ucontrol->value.integer.value[0]) in spdif_mute_put()
|
/linux/drivers/media/i2c/ |
H A D | wm8739.c | 46 struct v4l2_ctrl *mute; member 91 u16 mute; in wm8739_s_ctrl() local 109 mute = state->mute->val ? 0x80 : 0; in wm8739_s_ctrl() 114 wm8739_write(sd, R0, (vol_l & 0x1f) | mute); in wm8739_s_ctrl() 115 wm8739_write(sd, R1, (vol_r & 0x1f) | mute); in wm8739_s_ctrl() 201 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe() 231 /* set volume/mute */ in wm8739_probe()
|
/linux/sound/pci/hda/ |
H A D | hda_generic.h | 192 unsigned int speaker_muted:1; /* current status of speaker mute */ 193 unsigned int line_out_muted:1; /* current status of LO mute */ 207 unsigned int master_mute:1; /* master mute over all */ 210 unsigned int auto_mute_via_amp:1; /* auto-mute via amp instead of pinctl */ 213 unsigned int suppress_auto_mute:1; /* suppress input jack auto mute */ 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 */ 233 unsigned int dac_min_mute:1; /* minimal = mute for DACs */ 244 /* additional mute flags (only effective with auto_mute_via_amp=1) */
|