Home
last modified time | relevance | path

Searched refs:mute (Results 1 - 25 of 513) sorted by relevance

12345678910>>...21

/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dwm8524.c28 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()
[all...]
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()
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()
[all...]
H A Drk3328_codec.c35 struct gpio_desc *mute; member
110 static int rk3328_mute_stream(struct snd_soc_dai *dai, int mute, int direction) in rk3328_mute_stream() argument
116 if (mute) in rk3328_mute_stream()
199 gpiod_set_value(rk3328->mute, 0); in rk3328_codec_open_playback()
240 gpiod_set_value(rk3328->mute, 1); in rk3328_codec_close_playback()
452 rk3328->mute = gpiod_get_optional(&pdev->dev, "mute", GPIOD_OUT_HIGH); in rk3328_platform_probe()
453 if (IS_ERR(rk3328->mute)) in rk3328_platform_probe()
454 return PTR_ERR(rk3328->mute); in rk3328_platform_probe()
458 * external mute force in rk3328_platform_probe()
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dwm8524.c28 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()
[all...]
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()
[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 force in rk3328_platform_probe()
[all...]
/kernel/linux/linux-5.10/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 in spkr_mute_put()
[all...]
/kernel/linux/linux-5.10/drivers/media/radio/
H A Dradio-gemtek.c91 #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...]
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()
/kernel/linux/linux-6.6/drivers/media/radio/
H A Dradio-gemtek.c91 #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...]
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()
/kernel/linux/linux-6.6/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 in spkr_mute_put()
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dwm8739.c46 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()
202 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
232 /* set volume/mute */ in wm8739_probe()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dwm8739.c46 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()
/kernel/linux/linux-5.10/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 ! in ps3av_cmd_video_format_black()
436 ps3av_cmd_av_audio_mute(int num_of_port, u32 *port, u32 mute) ps3av_cmd_av_audio_mute() argument
799 ps3av_cmd_audio_mute(int num_of_port, u32 *port, u32 mute) ps3av_cmd_audio_mute() argument
[all...]
/kernel/linux/linux-6.6/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 ! in ps3av_cmd_video_format_black()
436 ps3av_cmd_av_audio_mute(int num_of_port, u32 *port, u32 mute) ps3av_cmd_av_audio_mute() argument
799 ps3av_cmd_audio_mute(int num_of_port, u32 *port, u32 mute) ps3av_cmd_audio_mute() argument
[all...]
/kernel/linux/linux-5.10/include/uapi/sound/
H A Dtlv.h22 #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) \
62 ((mute) ? SNDRV_CTL_TLVD_DB_SCALE_MUTE : 0))
63 #define SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name, min, step, mute) \
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-6.6/include/uapi/sound/
H A Dtlv.h11 #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) \
51 ((mute) ? SNDRV_CTL_TLVD_DB_SCALE_MUTE : 0))
52 #define SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name, min, step, mute) \
54 SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \
57 /* Accessor offsets for min, mute and step items in dB scale type TLV */
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/sound/
H A Dtlv.h38 #define SNDRV_CTL_TLVD_DB_SCALE_ITEM(min,step,mute) SNDRV_CTL_TLVD_ITEM(SNDRV_CTL_TLVT_DB_SCALE, (min), ((step) & SNDRV_CTL_TLVD_DB_SCALE_MASK) | ((mute) ? SNDRV_CTL_TLVD_DB_SCALE_MUTE : 0))
39 #define SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name,min,step,mute) unsigned int name[] = { SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) }
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/
H A Dtlv.h38 #define SNDRV_CTL_TLVD_DB_SCALE_ITEM(min,step,mute) SNDRV_CTL_TLVD_ITEM(SNDRV_CTL_TLVT_DB_SCALE, (min), ((step) & SNDRV_CTL_TLVD_DB_SCALE_MASK) | ((mute) ? SNDRV_CTL_TLVD_DB_SCALE_MUTE : 0))
39 #define SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name,min,step,mute) unsigned int name[] = { SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) }
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/
H A Dtlv.h31 #define SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \
35 ((mute) ? SNDRV_CTL_TLVD_DB_SCALE_MUTE : 0))
36 #define SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name, min, step, mute) \
38 SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_afmt.c148 bool mute) in afmt3_audio_mute_control()
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()
146 afmt3_audio_mute_control( struct afmt *afmt, bool mute) afmt3_audio_mute_control() argument
/kernel/linux/linux-5.10/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_nam in mute_input_7134()
[all...]

Completed in 12 milliseconds

12345678910>>...21