/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() 297 err = avc_audio_feature_mute(oxfw->unit, spkr->mute_fb_id, &spkr->mute, in snd_oxfw_add_spkr()
|
/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_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()
|
/sound/i2c/other/ |
D | pt2258.c | 59 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()
|
/sound/soc/codecs/ |
D | lm49453.c | 1224 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()
|
D | twl6040.c | 957 int mute) in twl6040_mute_path() argument 970 if (mute) { in twl6040_mute_path() 981 priv->dl1_unmuted = !mute; in twl6040_mute_path() 987 if (mute) { in twl6040_mute_path() 997 priv->dl2_unmuted = !mute; in twl6040_mute_path() 1004 static int twl6040_digital_mute(struct snd_soc_dai *dai, int mute) in twl6040_digital_mute() argument 1008 twl6040_mute_path(dai->codec, TWL6040_DAI_DL1, mute); in twl6040_digital_mute() 1009 twl6040_mute_path(dai->codec, TWL6040_DAI_DL2, mute); in twl6040_digital_mute() 1013 twl6040_mute_path(dai->codec, dai->id, mute); in twl6040_digital_mute()
|
D | cq93vc.c | 46 static int cq93vc_mute(struct snd_soc_dai *dai, int mute) in cq93vc_mute() argument 51 if (mute) in cq93vc_mute()
|
D | isabelle.c | 868 static int isabelle_hs_mute(struct snd_soc_dai *dai, int mute) in isabelle_hs_mute() argument 871 BIT(4), (mute ? BIT(4) : 0)); in isabelle_hs_mute() 876 static int isabelle_hf_mute(struct snd_soc_dai *dai, int mute) in isabelle_hf_mute() argument 879 BIT(4), (mute ? BIT(4) : 0)); in isabelle_hf_mute() 884 static int isabelle_line_mute(struct snd_soc_dai *dai, int mute) in isabelle_line_mute() argument 887 BIT(4), (mute ? BIT(4) : 0)); in isabelle_line_mute()
|
D | sn95031.c | 652 static int sn95031_pcm_hs_mute(struct snd_soc_dai *dai, int mute) in sn95031_pcm_hs_mute() argument 655 SN95031_HSLVOLCTRL, BIT(7), (!mute << 7)); in sn95031_pcm_hs_mute() 657 SN95031_HSRVOLCTRL, BIT(7), (!mute << 7)); in sn95031_pcm_hs_mute() 661 static int sn95031_pcm_spkr_mute(struct snd_soc_dai *dai, int mute) in sn95031_pcm_spkr_mute() argument 664 SN95031_IHFLVOLCTRL, BIT(7), (!mute << 7)); in sn95031_pcm_spkr_mute() 666 SN95031_IHFRVOLCTRL, BIT(7), (!mute << 7)); in sn95031_pcm_spkr_mute()
|
D | pcm179x.c | 88 static int pcm179x_digital_mute(struct snd_soc_dai *dai, int mute) in pcm179x_digital_mute() argument 95 PCM179X_MUTE_MASK, !!mute); in pcm179x_digital_mute()
|
D | sti-sas.c | 270 static int stih416_sas_dac_mute(struct snd_soc_dai *dai, int mute, int stream) in stih416_sas_dac_mute() argument 274 if (mute) { in stih416_sas_dac_mute() 284 static int stih407_sas_dac_mute(struct snd_soc_dai *dai, int mute, int stream) in stih407_sas_dac_mute() argument 288 if (mute) { in stih407_sas_dac_mute()
|
D | tlv320aic26.c | 136 static int aic26_mute(struct snd_soc_dai *dai, int mute) in aic26_mute() argument 143 dai, mute); in aic26_mute() 145 if (mute) in aic26_mute()
|
D | wm8728.c | 75 static int wm8728_mute(struct snd_soc_dai *dai, int mute) in wm8728_mute() argument 80 if (mute) in wm8728_mute()
|
D | tfa9879.c | 101 static int tfa9879_digital_mute(struct snd_soc_dai *dai, int mute) in tfa9879_digital_mute() argument 107 !!mute << TFA9879_S_MUTE_SHIFT); in tfa9879_digital_mute()
|
D | uda134x.c | 123 static int uda134x_mute(struct snd_soc_dai *dai, int mute) in uda134x_mute() argument 129 pr_debug("%s mute: %d\n", __func__, mute); in uda134x_mute() 131 if (mute) in uda134x_mute()
|
D | sta529.c | 254 static int sta529_mute(struct snd_soc_dai *dai, int mute) in sta529_mute() argument 258 if (mute) in sta529_mute()
|
D | pcm1681.c | 159 static int pcm1681_digital_mute(struct snd_soc_dai *dai, int mute) in pcm1681_digital_mute() argument 165 if (mute) in pcm1681_digital_mute()
|
/sound/soc/sh/rcar/ |
D | dvc.c | 43 struct rsnd_kctrl_cfg_m mute; member 190 for (i = 0; i < dvc->mute.cfg.size; i++) in rsnd_dvc_volume_update() 191 zcmcr |= (!!dvc->mute.cfg.val[i]) << i; in rsnd_dvc_volume_update() 230 rsnd_kctrl_remove(dvc->mute); in rsnd_dvc_remove_() 288 &dvc->mute, slots, in rsnd_dvc_pcm_new()
|
/sound/pci/oxygen/ |
D | xonar_cs43xx.c | 246 u8 mute; in update_cs4362a_volumes() local 248 mute = chip->dac_mute ? CS4362A_MUTE : 0; in update_cs4362a_volumes() 251 (127 - chip->dac_volume[2 + i]) | mute); in update_cs4362a_volumes() 351 unsigned int reg, unsigned int mute) in xonar_d1_line_mic_ac97_switch() argument 356 mute ? GPIO_D1_INPUT_ROUTE : 0, in xonar_d1_line_mic_ac97_switch()
|
/sound/isa/wss/ |
D | wss_lib.c | 565 static void snd_wss_calibrate_mute(struct snd_wss *chip, int mute) in snd_wss_calibrate_mute() argument 569 mute = mute ? 0x80 : 0; in snd_wss_calibrate_mute() 571 if (chip->calibrate_mute == mute) { in snd_wss_calibrate_mute() 575 if (!mute) { in snd_wss_calibrate_mute() 592 mute | chip->image[CS4231_AUX1_LEFT_INPUT]); in snd_wss_calibrate_mute() 594 mute | chip->image[CS4231_AUX1_RIGHT_INPUT]); in snd_wss_calibrate_mute() 596 mute | chip->image[CS4231_AUX2_LEFT_INPUT]); in snd_wss_calibrate_mute() 598 mute | chip->image[CS4231_AUX2_RIGHT_INPUT]); in snd_wss_calibrate_mute() 600 mute | chip->image[CS4231_LEFT_OUTPUT]); in snd_wss_calibrate_mute() 602 mute | chip->image[CS4231_RIGHT_OUTPUT]); in snd_wss_calibrate_mute() [all …]
|
/sound/soc/omap/ |
D | ams-delta.c | 422 static int ams_delta_digital_mute(struct snd_soc_dai *dai, int mute) in ams_delta_digital_mute() argument 426 if (ams_delta_muted == mute) in ams_delta_digital_mute() 430 ams_delta_muted = mute; in ams_delta_digital_mute() 436 mute ? AMS_DELTA_LATCH2_MODEM_CODEC : 0); in ams_delta_digital_mute()
|
/sound/soc/intel/atom/ |
D | sst-atom-controls.c | 401 u16 task_id, u16 loc_id, u16 module_id, int mute) in sst_send_gain_cmd() argument 411 if (mute || gv->mute) { in sst_send_gain_cmd() 446 ucontrol->value.integer.value[0] = gv->mute ? 0 : 1; in sst_gain_get() 482 gv->mute = !ucontrol->value.integer.value[0]; in sst_gain_put() 483 dev_dbg(cmpnt->dev, "%s: Mute %d\n", mc->pname, gv->mute); in sst_gain_put() 508 struct sst_data *drv, int mute); 590 struct sst_data *drv, int mute) in sst_set_pipe_gain() argument 605 mc->pipe_id | mc->instance_id, mc->module_id, mute); in sst_set_pipe_gain() 1314 int sst_send_pipe_gains(struct snd_soc_dai *dai, int stream, int mute) in sst_send_pipe_gains() argument 1337 sst_set_pipe_gain(ids, drv, mute); in sst_send_pipe_gains() [all …]
|
/sound/sparc/ |
D | cs4231.c | 561 static void snd_cs4231_calibrate_mute(struct snd_cs4231 *chip, int mute) in snd_cs4231_calibrate_mute() argument 565 mute = mute ? 1 : 0; in snd_cs4231_calibrate_mute() 567 if (chip->calibrate_mute == mute) { in snd_cs4231_calibrate_mute() 571 if (!mute) { in snd_cs4231_calibrate_mute() 580 mute ? 0x80 : chip->image[CS4231_AUX1_LEFT_INPUT]); in snd_cs4231_calibrate_mute() 582 mute ? 0x80 : chip->image[CS4231_AUX1_RIGHT_INPUT]); in snd_cs4231_calibrate_mute() 584 mute ? 0x80 : chip->image[CS4231_AUX2_LEFT_INPUT]); in snd_cs4231_calibrate_mute() 586 mute ? 0x80 : chip->image[CS4231_AUX2_RIGHT_INPUT]); in snd_cs4231_calibrate_mute() 588 mute ? 0x80 : chip->image[CS4231_LEFT_OUTPUT]); in snd_cs4231_calibrate_mute() 590 mute ? 0x80 : chip->image[CS4231_RIGHT_OUTPUT]); in snd_cs4231_calibrate_mute() [all …]
|
/sound/pci/ice1712/ |
D | maya44.c | 128 unsigned short mute; /* mute bit */ member 139 .mute = 0x00, 147 .mute = 0x00, 155 .mute = 0xa5, 218 data = vol->mute; in maya_vol_put()
|
/sound/drivers/vx/ |
D | vx_mixer.c | 128 void vx_toggle_dac_mute(struct vx_core *chip, int mute) in vx_toggle_dac_mute() argument 133 chip->ops->akm_write(chip, XX_CODEC_DAC_CONTROL_REGISTER, mute); /* XXX */ in vx_toggle_dac_mute() 136 mute ? DAC_ATTEN_MAX : DAC_ATTEN_MIN); in vx_toggle_dac_mute() 211 unsigned int mute; member 241 if (info->mute) in vx_adjust_audio_level() 273 info.mute = (rmh.Stat[i] & AUDIO_IO_HAS_MUTE_LEVEL) ? 1 : 0; 307 info.mute = !active; in vx_set_audio_switch()
|
/sound/soc/intel/haswell/ |
D | sst-haswell-ipc.c | 226 u32 mute[SST_HSW_NO_CHANNELS]; member 298 u32 mute[SST_HSW_NO_CHANNELS]; member 878 if (hsw->mute[0] && hsw->mute[1]) { in sst_hsw_stream_set_volume() 881 } else if (hsw->mute[0]) in sst_hsw_stream_set_volume() 883 else if (hsw->mute[1]) in sst_hsw_stream_set_volume() 889 if (hsw->mute[channel]) { in sst_hsw_stream_set_volume() 934 if (hsw->mute[0] && hsw->mute[1]) { in sst_hsw_mixer_set_volume() 937 } else if (hsw->mute[0]) in sst_hsw_mixer_set_volume() 939 else if (hsw->mute[1]) in sst_hsw_mixer_set_volume() 945 if (hsw->mute[channel]) { in sst_hsw_mixer_set_volume()
|