Home
last modified time | relevance | path

Searched full:mute (Results 1 – 25 of 555) sorted by relevance

12345678910>>...23

/linux/sound/soc/codecs/
H A Dwm8524.c28 struct gpio_desc *mute; member
73 gpiod_set_value_cansleep(wm8524->mute, 1); in wm8524_startup()
84 gpiod_set_value_cansleep(wm8524->mute, 0); in wm8524_shutdown()
151 static int wm8524_mute_stream(struct snd_soc_dai *dai, int mute, int stream) in wm8524_mute_stream() argument
155 if (wm8524->mute) in wm8524_mute_stream()
156 gpiod_set_value_cansleep(wm8524->mute, mute); in wm8524_mute_stream()
255 wm8524->mute = devm_gpiod_get(&pdev->dev, "wlf,mute", GPIOD_OUT_LOW); in wm8524_codec_probe()
256 if (IS_ERR(wm8524->mute)) { in wm8524_codec_probe()
257 ret = PTR_ERR(wm8524->mute); in wm8524_codec_probe()
258 dev_err_probe(&pdev->dev, ret, "Failed to get mute line\n"); in wm8524_codec_probe()
H A Duda1334.c24 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 Dmax9768.c30 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 Drk3328_codec.c34 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 Dmodels.rst135 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 …]
H A Dcontrols.rst18 Auto-Mute Mode
19 This is an enum control to change the auto-mute behavior of the
52 jacks. That is, the headphone won't auto-mute the other line-outs,
97 the jack detection so that the headphone auto-mute can work, while
104 Auto-Mute Mode
/linux/sound/soc/renesas/rcar/
H A Ddvc.c15 * 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 Daudigy-mixer.rst278 * 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 Doxfw-spkr.c11 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/ps3/
H A Dps3av_cmd.c213 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 Dps3av.c335 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 Dad1843.c44 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/Documentation/devicetree/bindings/sound/
H A Dst,sta350.txt86 - 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 Dwlf,wm8524.yaml22 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 Dmaxim,max9759.yaml20 mute-gpios:
22 description: the gpio connected to the mute pin
31 - mute-gpios
42 mute-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
H A Drohm,bd28623.yaml12 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 Duda1334.txt8 - 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 Ddell-wmi-privacy.c61 /* 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/ABI/testing/
H A Dconfigfs-usb-gadget-uac111 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 Dconfigfs-usb-gadget-uac214 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/drivers/platform/x86/lenovo/
H A Dwmi-hotkey-utilities.c28 /* Input parameters to mute/unmute audio LED and Mic LED */
131 * Output parameters define: 0 means mute LED is not supported, Non-zero means in lenovo_super_hotkey_wmi_led_init()
132 * mute LED can be supported. in lenovo_super_hotkey_wmi_led_init()
155 wpriv->cdev[led_type].name = "platform::mute"; in lenovo_super_hotkey_wmi_led_init()
157 wpriv->cdev[led_type].default_trigger = "audio-mute"; in lenovo_super_hotkey_wmi_led_init()
169 dev_err(dev, "Could not register mute LED %d : %d\n", led_type, err); in lenovo_super_hotkey_wmi_led_init()
/linux/sound/soc/spear/
H A Dspdif_out.c31 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/sound/hda/codecs/
H A Dgeneric.h192 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) */
/linux/arch/powerpc/include/asm/
H A Dps3av.h65 #define PS3AV_MUTE_PORT_MAX 1 /* num of ports in mute pkt */
76 /* mute */
458 /* backend: video mute */
461 u16 mute; /* in: mute on/off */ member
466 struct ps3av_av_mute mute[PS3AV_MUTE_PORT_MAX]; member
516 struct ps3av_av_mute mute[PS3AV_MUTE_PORT_MAX]; member
532 u16 mute; /* in: mute */ member
607 /* audio: mute */
611 u32 mute; /* in: mute */ member
616 struct ps3av_audio_mute mute[PS3AV_OPT_PORT_MAX]; member
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-tvaudio.c173 unsigned int mute; in mute_input_7134() local
180 mute = (dev->ctl_mute || in mute_input_7134()
182 if (card(dev).mute.type) { in mute_input_7134()
184 * 7130 - we'll mute using some unconnected audio input in mute_input_7134()
187 if (mute) in mute_input_7134()
188 in = &card(dev).mute; in mute_input_7134()
191 if (dev->hw_mute == mute && in mute_input_7134()
193 audio_dbg(1, "mute/input: nothing to do [mute=%d,input=%s]\n", in mute_input_7134()
194 mute, saa7134_input_name[in->type]); in mute_input_7134()
198 audio_dbg(1, "ctl_mute=%d automute=%d input=%s => mute=%d input=%s\n", in mute_input_7134()
[all …]

12345678910>>...23