Home
last modified time | relevance | path

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

1234567891011

/Linux-v4.19/sound/soc/codecs/
Dwm8524.c31 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()
Dlm49453.c1224 static int lm49453_hp_mute(struct snd_soc_dai *dai, int mute) in lm49453_hp_mute() argument
1227 (mute ? (BIT(1)|BIT(0)) : 0)); in lm49453_hp_mute()
1231 static int lm49453_lo_mute(struct snd_soc_dai *dai, int mute) in lm49453_lo_mute() argument
1234 (mute ? (BIT(3)|BIT(2)) : 0)); in lm49453_lo_mute()
1238 static int lm49453_ls_mute(struct snd_soc_dai *dai, int mute) in lm49453_ls_mute() argument
1241 (mute ? (BIT(5)|BIT(4)) : 0)); in lm49453_ls_mute()
1245 static int lm49453_ep_mute(struct snd_soc_dai *dai, int mute) in lm49453_ep_mute() argument
1248 (mute ? BIT(4) : 0)); in lm49453_ep_mute()
1252 static int lm49453_ha_mute(struct snd_soc_dai *dai, int mute) in lm49453_ha_mute() argument
1255 (mute ? (BIT(7)|BIT(6)) : 0)); in lm49453_ha_mute()
/Linux-v4.19/drivers/media/radio/
Dradio-gemtek.c152 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()
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()
220 if (!mute) in gemtek_s_mute_volume()
239 outb_p((i >> 5) | (mute ? GEMTEK_MT : 0), isa->io); in gemtek_s_mute_volume()
Dradio-rtrack2.c86 outb_p(v4l2_ctrl_g_ctrl(isa->mute), isa->io); in rtrack2_s_frequency()
96 static int rtrack2_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack2_s_mute_volume() argument
98 outb(mute, isa->io); in rtrack2_s_mute_volume()
Dradio-aimslab.c91 if (!v4l2_ctrl_g_ctrl(rt->isa.mute)) in rtrack_set_pins()
117 static int rtrack_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack_s_mute_volume() argument
122 if (mute) { in rtrack_s_mute_volume()
Dradio-isa.h39 struct v4l2_ctrl *mute; member
61 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume);
Dradio-sf16fmi.c52 bool mute; member
75 if (!fmi->mute) in fmi_set_pins()
110 val = fmi->mute ? 0x00 : 0x08; /* mute/unmute */ in fmi_getsigstr()
201 fmi->mute = ctrl->val; in fmi_s_ctrl()
352 fmi->mute = true; in fmi_init()
/Linux-v4.19/sound/firewire/oxfw/
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()
297 err = avc_audio_feature_mute(oxfw->unit, spkr->mute_fb_id, &spkr->mute, in snd_oxfw_add_spkr()
/Linux-v4.19/drivers/media/i2c/
Dwm8739.c55 struct v4l2_ctrl *mute; member
100 u16 mute; in wm8739_s_ctrl() local
118 mute = state->mute->val ? 0x80 : 0; in wm8739_s_ctrl()
123 wm8739_write(sd, R0, (vol_l & 0x1f) | mute); in wm8739_s_ctrl()
124 wm8739_write(sd, R1, (vol_r & 0x1f) | mute); in wm8739_s_ctrl()
211 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
Dtda7432.c71 struct v4l2_ctrl *mute; member
292 if (t->mute->val) { in tda7432_s_ctrl()
362 t->mute = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
378 v4l2_ctrl_cluster(2, &t->mute); in tda7432_probe()
Dwm8775.c55 struct v4l2_ctrl *mute; member
94 int muted = 0 != state->mute->val; in wm8775_set_audio()
129 if (v4l2_ctrl_g_ctrl(state->mute)) in wm8775_s_routing()
230 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe()
/Linux-v4.19/drivers/ps3/
Dps3av_cmd.c225 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
459 av_audio_mute.mute[i].avport = port[i]; in ps3av_cmd_av_audio_mute()
460 av_audio_mute.mute[i].mute = mute; in ps3av_cmd_av_audio_mute()
[all …]
/Linux-v4.19/include/uapi/sound/
Dtlv.h58 #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) \
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Drohm,bd28623.txt5 to GPIOs: reset and mute.
16 - mute-gpios : GPIO specifier for the active low mute line
28 mute-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
Dmaxim,max9759.txt7 - mute-gpios : the gpio connected to the mute pin
15 mute-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
Dak4458.txt12 - mute-gpios: A GPIO specifier for the soft mute pin
21 mute-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>
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
Dwm8524.txt9 - wlf,mute-gpios: a GPIO spec for the MUTE pin.
15 wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
Dti,tas6424.txt10 - mute-gpios: GPIO used to mute all the outputs
/Linux-v4.19/sound/soc/spear/
Dspdif_out.c31 u32 mute; member
167 if (!host->saved_params.mute) in spdif_out_trigger()
191 static int spdif_digital_mute(struct snd_soc_dai *dai, int mute) in spdif_digital_mute() argument
196 host->saved_params.mute = mute; in spdif_digital_mute()
200 if (mute) in spdif_digital_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-v4.19/Documentation/sound/cards/
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-v4.19/Documentation/media/uapi/dvb/
Daudio-set-mute.rst41 - Indicates if audio device shall mute or not.
45 FALSE: Audio Un-mute
55 This ioctl call asks the audio device to mute the stream that is
/Linux-v4.19/Documentation/sound/soc/
Dcodec.rst22 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)
/Linux-v4.19/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c182 unsigned int mute; in mute_input_7134() local
189 mute = (dev->ctl_mute || in mute_input_7134()
191 if (card(dev).mute.type) { in mute_input_7134()
196 if (mute) in mute_input_7134()
197 in = &card(dev).mute; in mute_input_7134()
200 if (dev->hw_mute == mute && in mute_input_7134()
203 mute, saa7134_input_name[in->type]); in mute_input_7134()
209 saa7134_input_name[dev->input->type], mute, in mute_input_7134()
211 dev->hw_mute = mute; in mute_input_7134()
216 saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ? in mute_input_7134()
[all …]
/Linux-v4.19/sound/i2c/other/
Dpt2258.c59 pt->mute = 1; in snd_pt2258_reset()
152 ucontrol->value.integer.value[0] = !pt->mute; in pt2258_switch_get()
164 if (pt->mute == val) in pt2258_switch_put()
167 pt->mute = val; in pt2258_switch_put()

1234567891011