/linux-6.12.1/sound/soc/codecs/ |
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()
|
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() 187 max9768->mute = devm_gpiod_get_optional(&client->dev, 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, "MAX9768 Mute"); in max9768_i2c_probe()
|
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()
|
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() 459 if (!rk3328->mute && of_machine_is_compatible("pine64,rock64")) { in rk3328_platform_probe()
|
D | lm49453.c | 1219 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 ? (BIT(7)|BIT(6)) : 0)); in lm49453_ha_mute()
|
/linux-6.12.1/drivers/media/radio/ |
D | radio-gemtek.c | 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() 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() 221 if (!mute) in gemtek_s_mute_volume() 240 outb_p((i >> 5) | (mute ? GEMTEK_MT : 0), isa->io); in gemtek_s_mute_volume()
|
D | radio-rtrack2.c | 87 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()
|
D | radio-aimslab.c | 92 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()
|
D | radio-sf16fmi.c | 53 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()
|
/linux-6.12.1/sound/firewire/oxfw/ |
D | oxfw-spkr.c | 11 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-6.12.1/drivers/ps3/ |
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 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-6.12.1/drivers/media/i2c/ |
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()
|
/linux-6.12.1/include/uapi/sound/ |
D | tlv.h | 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) \
|
/linux-6.12.1/sound/soc/spear/ |
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-6.12.1/Documentation/sound/cards/ |
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-6.12.1/Documentation/ABI/testing/ |
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
|
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-6.12.1/Documentation/devicetree/bindings/sound/ |
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
|
D | uda1334.txt | 8 - nxp,mute-gpios: a GPIO spec for the MUTE pin. 15 nxp,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
|
D | ti,tas6424.txt | 10 - mute-gpios: GPIO used to mute all the outputs
|
/linux-6.12.1/Documentation/sound/soc/ |
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-6.12.1/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_afmt.c | 148 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-6.12.1/drivers/media/pci/saa7134/ |
D | saa7134-tvaudio.c | 173 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-6.12.1/sound/i2c/other/ |
D | pt2258.c | 45 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-6.12.1/sound/soc/qcom/ |
D | lpass-hdmi.c | 125 ret = regmap_field_write(meta_ctl->mute, LPASS_MUTE_ENABLE); in lpass_hdmi_daiops_hw_params() 200 ret = regmap_field_write(drvdata->meta_ctl->mute, LPASS_MUTE_DISABLE); in lpass_hdmi_daiops_prepare() 221 ret = regmap_field_write(meta_ctl->mute, LPASS_MUTE_DISABLE); in lpass_hdmi_daiops_trigger() 233 ret = regmap_field_write(meta_ctl->mute, LPASS_MUTE_ENABLE); in lpass_hdmi_daiops_trigger()
|