Home
last modified time | relevance | path

Searched refs:mute (Results 1 – 25 of 218) sorted by relevance

123456789

/linux/sound/soc/codecs/
H A Dwm8524.c27 struct gpio_desc *mute; member
72 gpiod_set_value_cansleep(wm8524->mute, 1); in wm8524_startup()
83 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()
254 wm8524->mute = devm_gpiod_get(&pdev->dev, "wlf,mute", GPIOD_OUT_LOW); in wm8524_codec_probe()
255 if (IS_ERR(wm8524->mute)) { in wm8524_codec_probe()
256 ret = PTR_ERR(wm8524->mute); in wm8524_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()
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()
192 gpiod_set_consumer_name(max9768->mute, "MAX976 in max9768_i2c_probe()
[all...]
H A Duda1334.c23 struct gpio_desc *mute; member
109 gpiod_set_value_cansleep(uda1334->mute, 1); in uda1334_startup()
120 gpiod_set_value_cansleep(uda1334->mute, 0); in uda1334_shutdown()
182 static int uda1334_mute_stream(struct snd_soc_dai *dai, int mute, int stream) in uda1334_mute_stream() argument
186 if (uda1334->mute) in uda1334_mute_stream()
187 gpiod_set_value_cansleep(uda1334->mute, mute); in uda1334_mute_stream()
258 uda1334->mute = devm_gpiod_get(&pdev->dev, "nxp,mute", GPIOD_OUT_LOW); in uda1334_codec_probe()
259 if (IS_ERR(uda1334->mute)) { in uda1334_codec_probe()
260 ret = PTR_ERR(uda1334->mute); in uda1334_codec_probe()
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()
449 rk3328->mute = devm_gpiod_get_optional(&pdev->dev, "mute", GPIOD_OUT_HIGH); in rk3328_platform_probe()
450 if (IS_ERR(rk3328->mute)) in rk3328_platform_probe()
451 return PTR_ERR(rk3328->mute); in rk3328_platform_probe()
455 * external mute force in rk3328_platform_probe()
[all...]
H A Dlm49453.c1219 static int lm49453_hp_mute(struct snd_soc_dai *dai, int mute, int direction) in lm49453_hp_mute() argument
1222 (mute ? (BIT(1)|BIT(0)) : 0)); in lm49453_hp_mute()
1226 static int lm49453_lo_mute(struct snd_soc_dai *dai, int mute, int direction) in lm49453_lo_mute() argument
1229 (mute ? (BIT(3)|BIT(2)) : 0)); in lm49453_lo_mute()
1233 static int lm49453_ls_mute(struct snd_soc_dai *dai, int mute, int direction) in lm49453_ls_mute() argument
1236 (mute ? (BIT(5)|BIT(4)) : 0)); in lm49453_ls_mute()
1240 static int lm49453_ep_mute(struct snd_soc_dai *dai, int mute, int direction) in lm49453_ep_mute() argument
1243 (mute ? BIT(4) : 0)); in lm49453_ep_mute()
1247 static int lm49453_ha_mute(struct snd_soc_dai *dai, int mute, int direction) in lm49453_ha_mute() argument
1250 (mute in lm49453_ha_mute()
[all...]
H A Dtwl6040.c952 int mute) in twl6040_mute_path()
965 if (mute) { in twl6040_mute_path()
976 priv->dl1_unmuted = !mute; in twl6040_mute_path()
982 if (mute) { in twl6040_mute_path()
992 priv->dl2_unmuted = !mute; in twl6040_mute_path()
999 static int twl6040_mute_stream(struct snd_soc_dai *dai, int mute, int direction)
1003 twl6040_mute_path(dai->component, TWL6040_DAI_DL1, mute); in twl6040_mute_stream()
1004 twl6040_mute_path(dai->component, TWL6040_DAI_DL2, mute); in twl6040_mute_stream()
1008 twl6040_mute_path(dai->component, dai->id, mute); in twl6040_mute_stream()
953 twl6040_mute_path(struct snd_soc_component * component,enum twl6040_dai_id id,int mute) twl6040_mute_path() argument
1000 twl6040_mute_stream(struct snd_soc_dai * dai,int mute,int direction) twl6040_mute_stream() argument
/linux/sound/firewire/oxfw/
H A Doxfw-spkr.c11 bool mute; member
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
447 av_audio_mute.mute[i].avport = port[i]; in ps3av_cmd_av_audio_mute()
448 av_audio_mute.mute[i].mute = mute; in ps3av_cmd_av_audio_mute()
[all …]
/linux/sound/soc/spear/
H A Dspdif_out.c28 u32 mute;
164 if (!host->saved_params.mute) in spdif_out_trigger()
188 static int spdif_mute(struct snd_soc_dai *dai, int mute, int direction) in spdif_out_trigger()
193 host->saved_params.mute = mute; in spdif_mute()
197 if (mute) in spdif_mute()
216 ucontrol->value.integer.value[0] = host->saved_params.mute; in spdif_mute_get()
226 if (host->saved_params.mute == ucontrol->value.integer.value[0]) in spdif_mute_put()
31 u32 mute; global() member
191 spdif_mute(struct snd_soc_dai * dai,int mute,int direction) spdif_mute() argument
/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/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/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 Duda1334.txt8 - nxp,mute-gpios: a GPIO spec for the MUTE pin.
15 nxp,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
H A Dti,tas6424.txt10 - mute-gpios: GPIO used to mute all the outputs
/linux/drivers/media/radio/
H A Dradio-rtrack2.c87 outb_p(v4l2_ctrl_g_ctrl(isa->mute), isa->io); in rtrack2_s_frequency()
97 static int rtrack2_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack2_s_mute_volume() argument
99 outb(mute, isa->io); in rtrack2_s_mute_volume()
H A Dradio-aimslab.c92 if (!v4l2_ctrl_g_ctrl(rt->isa.mute)) in rtrack_set_pins()
118 static int rtrack_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack_s_mute_volume() argument
123 if (mute) { in rtrack_s_mute_volume()
H A Dradio-sf16fmi.c53 bool mute; member
76 if (!fmi->mute) in fmi_set_pins()
111 val = fmi->mute ? 0x00 : 0x08; /* mute/unmute */ in fmi_getsigstr()
200 fmi->mute = ctrl->val; in fmi_s_ctrl()
352 fmi->mute = true; in fmi_init()
H A Dradio-zoltrix.c87 static int zoltrix_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in zoltrix_s_mute_volume() argument
92 zol->muted = mute; in zoltrix_s_mute_volume()
93 if (mute || vol == 0) { in zoltrix_s_mute_volume()
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_afmt.c148 bool mute) in afmt3_audio_mute_control() argument
151 if (mute && afmt->funcs->afmt_powerdown) in afmt3_audio_mute_control()
153 if (!mute && afmt->funcs->afmt_poweron) in afmt3_audio_mute_control()
156 REG_UPDATE(AFMT_AUDIO_PACKET_CONTROL, AFMT_AUDIO_SAMPLE_SEND, !mute); in afmt3_audio_mute_control()
/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()
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()
194 mute, saa7134_input_name[in->type]); in mute_input_7134()
200 saa7134_input_name[dev->input->type], mute, in mute_input_7134()
202 dev->hw_mute = mute; in mute_input_7134()
207 saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ? in mute_input_7134()
[all …]
/linux/sound/i2c/other/
H A Dpt2258.c45 pt->mute = 1; in snd_pt2258_reset()
138 ucontrol->value.integer.value[0] = !pt->mute; in pt2258_switch_get()
150 if (pt->mute == val) in pt2258_switch_put()
153 pt->mute = val; in pt2258_switch_put()
/linux/Documentation/driver-api/media/drivers/
H A Dradiotrack.rst78 0 0 audio mute
132 Card Off: BASE <-- 0x00 (audio mute, no stereo detect,
160 BASE <-- 0x01 (audio mute, no stereo detect, radio
162 BASE <-- 0x03 (audio mute, no stereo detect, radio
165 BASE <-- 0x05 (audio mute, no stereo detect, radio
167 BASE <-- 0x07 (audio mute, no stereo detect, radio
/linux/arch/powerpc/include/asm/
H A Dps3av.h461 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
611 u32 mute; /* in: mute */ member
616 struct ps3av_audio_mute mute[PS3AV_OPT_PORT_MAX]; member
/linux/Documentation/sound/hd-audio/
H A Dmodels.rst135 hp-mute-led-mic1
137 hp-mute-led-mic2
139 hp-mute-led-mic3
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
200 GPIO mute LEDs and dock support on HP
202 GPIO, Mic mute LED and dock support on HP
312 Auto-mute fixups for ALC668
524 Thinkpad mute/mic LED quirk
[all …]

123456789