/linux-4.1.27/include/sound/ |
H A D | max9768.h | 13 * @mute_gpio: GPIO to MUTE pin. If not valid, control for mute won't be added
|
H A D | tlv.h | 39 #define SNDRV_CTL_TLVT_DB_MINMAX_MUTE 5 /* dB scale with min/max with mute */ 53 #define TLV_DB_SCALE_ITEM(min, step, mute) \ 57 ((mute) ? TLV_DB_SCALE_MUTE : 0)) 58 #define DECLARE_TLV_DB_SCALE(name, min, step, mute) \ 59 unsigned int name[] = { TLV_DB_SCALE_ITEM(min, step, mute) }
|
H A D | pt2258.h | 31 int mute; member in struct:snd_pt2258
|
H A D | soc-dai.h | 122 /* Digital Audio Interface mute */ 123 int snd_soc_dai_digital_mute(struct snd_soc_dai *dai, int mute, 156 * DAI digital mute - optional. 159 int (*digital_mute)(struct snd_soc_dai *dai, int mute); 160 int (*mute_stream)(struct snd_soc_dai *dai, int mute, int stream);
|
H A D | cs8427.h | 57 #define CS8427_MUTESAO (1<<5) /* mute control for the serial audio output port, 0 = disabled, 1 = enabled */ 58 #define CS8427_MUTEAES (1<<4) /* mute control for the AES transmitter output, 0 = disabled, 1 = enabled */ 68 #define CS8427_HOLDZERO (1<<5) /* replace the current audio sample with zero (mute) */
|
H A D | hda_verbs.h | 286 #define AC_AMPCAP_MUTE (1<<31) /* mute capable */ 290 #define AC_AMPCAP_MIN_MUTE (1 << 30) /* min-volume = mute */ 351 /* Amp gain/mute */
|
H A D | hda_regmap.h | 12 #define AC_AMP_FAKE_MUTE 0x10 /* fake mute bit set to amp verbs */ 126 * Read AMP value. The volume is between 0 to 0x7f, 0x80 = mute bit.
|
H A D | vx_core.h | 196 unsigned char audio_active[4]; /* mute/unmute on digital playback */ 198 unsigned char audio_monitor_active[4]; /* playback hw-monitor mute/unmute */ 319 void vx_toggle_dac_mute(struct vx_core *chip, int mute);
|
H A D | soc-dpcm.h | 137 int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute);
|
H A D | ac97_codec.h | 387 #define AC97_SCAP_EAPD_LED (1<<10) /* EAPD as mute LED */ 395 #define AC97_STEREO_MUTES (1<<4) /* has stereo mute bits */ 408 #define AC97_HAS_NO_STD_PCM (1<<17) /* no standard AC97 PCM volume and mute */ 409 #define AC97_HAS_NO_AUX (1<<18) /* no standard AC97 AUX volume and mute */ 598 AC97_TUNE_MUTE_LED, /* EAPD bit works as mute LED */ 599 AC97_TUNE_HP_MUTE_LED, /* EAPD bit works as mute LED, use headphone control as master */
|
H A D | cs4231-regs.h | 170 #define CS4236_DAC_MUTE 0xb8 /* DAC mute and IFSE enable */
|
/linux-4.1.27/sound/firewire/oxfw/ |
H A D | oxfw-control.c | 42 buf[8] = 0x01; /* control selector: mute */ oxfw_mute_command() 58 dev_err(&oxfw->unit->device, "mute command failed\n"); oxfw_mute_command() 139 value->value.integer.value[0] = !oxfw->mute; oxfw_mute_get() 148 bool mute; oxfw_mute_put() local 151 mute = !value->value.integer.value[0]; oxfw_mute_put() 153 if (mute == oxfw->mute) oxfw_mute_put() 156 err = oxfw_mute_command(oxfw, &mute, CTL_WRITE); oxfw_mute_put() 159 oxfw->mute = mute; oxfw_mute_put() 263 err = oxfw_mute_command(oxfw, &oxfw->mute, CTL_READ); snd_oxfw_create_mixer()
|
H A D | oxfw.h | 66 bool mute; member in struct:snd_oxfw
|
/linux-4.1.27/drivers/media/radio/ |
H A D | radio-gemtek.c | 94 #define GEMTEK_MT 0x10 /* Line mute */ 156 int i, bit, q, mute; gemtek_bu2614_transmit() local 158 mute = gt->muted ? GEMTEK_MT : 0x00; gemtek_bu2614_transmit() 160 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io); gemtek_bu2614_transmit() 165 outb_p(mute | GEMTEK_CE | bit, isa->io); gemtek_bu2614_transmit() 167 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io); gemtek_bu2614_transmit() 171 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io); gemtek_bu2614_transmit() 215 * Set mute flag. 217 static int gemtek_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) gemtek_s_mute_volume() argument 222 gt->muted = mute; gemtek_s_mute_volume() 224 if (!mute) gemtek_s_mute_volume() 242 /* Write it back with mute flag set. */ gemtek_s_mute_volume() 243 outb_p((i >> 5) | (mute ? GEMTEK_MT : 0), isa->io); gemtek_s_mute_volume()
|
H A D | radio-sf16fmi.c | 13 * No volume control - only mute/unmute - you have to use line volume 52 bool mute; member in struct:fmi 75 if (!fmi->mute) fmi_set_pins() 110 val = fmi->mute ? 0x00 : 0x08; /* mute/unmute */ fmi_getsigstr() 201 fmi->mute = ctrl->val; fmi_s_ctrl() 351 /* mute card and set default frequency */ fmi_init() 352 fmi->mute = true; fmi_init()
|
H A D | radio-aimslab.c | 91 if (!v4l2_ctrl_g_ctrl(rt->isa.mute)) rtrack_set_pins() 117 static int rtrack_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) rtrack_s_mute_volume() argument 122 if (mute) { rtrack_s_mute_volume() 126 if (vol == 0) { /* volume = 0 means mute the card */ rtrack_s_mute_volume() 149 outb(0xc0, isa->io); /* steady volume, mute card */ rtrack_initialize()
|
H A D | radio-rtrack2.c | 86 outb_p(v4l2_ctrl_g_ctrl(isa->mute), isa->io); rtrack2_s_frequency() 96 static int rtrack2_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) rtrack2_s_mute_volume() argument 98 outb(mute, isa->io); rtrack2_s_mute_volume()
|
H A D | radio-isa.h | 43 struct { /* mute/volume cluster */ 44 struct v4l2_ctrl *mute; member in struct:radio_isa_card::__anon5700 65 /* Set mute and volume. */ 66 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume);
|
H A D | radio-typhoon.c | 8 * steps. The line output has neither volume control nor mute. 23 * There is no explicit mute/unmute. So I set the radio frequency to a 110 static int typhoon_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) typhoon_s_mute_volume() argument 114 if (mute) typhoon_s_mute_volume()
|
H A D | radio-aztech.c | 109 static int aztech_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) aztech_s_mute_volume() argument 113 if (mute) aztech_s_mute_volume()
|
H A D | radio-terratec.c | 61 static int terratec_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) terratec_s_mute_volume() argument 65 if (mute) terratec_s_mute_volume()
|
H A D | radio-trust.c | 119 static int trust_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) trust_s_mute_volume() argument 123 tr->ioval = (tr->ioval & 0xf7) | (mute << 3); trust_s_mute_volume()
|
H A D | radio-zoltrix.c | 86 static int zoltrix_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) zoltrix_s_mute_volume() argument 91 zol->muted = mute; zoltrix_s_mute_volume() 92 if (mute || vol == 0) { zoltrix_s_mute_volume()
|
H A D | tea575x.c | 119 if (!tea->mute) snd_tea575x_write() 151 if (tea->mute) snd_tea575x_read() 475 tea->mute = ctrl->val; tea575x_s_ctrl() 515 tea->mute = true; snd_tea575x_hw_init()
|
H A D | radio-cadet.c | 137 curvol = inb(dev->io + 1); /* Save current volume/mute setting */ cadet_gettune() 154 * Restore volume/mute setting cadet_gettune() 244 * Save current volume/mute setting cadet_setfreq()
|
H A D | radio-isa.c | 233 isa->mute = v4l2_ctrl_new_std(&isa->hdl, &radio_isa_ctrl_ops, radio_isa_common_probe() 246 v4l2_ctrl_cluster(2, &isa->mute); radio_isa_common_probe()
|
H A D | radio-keene.c | 82 /* Set frequency (if non-0), PA, mute and turn on/off the FM transmitter. */ keene_cmd_main() 94 If bit 3 is set, then unmute; if bit 2 is set, then mute. keene_cmd_main()
|
H A D | radio-mr800.c | 193 static int amradio_set_mute(struct amradio_device *radio, bool mute) amradio_set_mute() argument 196 AMRADIO_SET_MUTE, mute, NULL, 0, false); amradio_set_mute() 199 radio->muted = mute; amradio_set_mute()
|
H A D | radio-sf16fmr2.c | 117 if (!fmr2->tea.mute) tc9154a_set_pins()
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | ad1836.h | 23 /* These macros are one-based. So AD183X_MUTE_LEFT(1) will return the mute bit
|
H A D | cs4270.c | 397 * cs4270_dai_mute - enable/disable the CS4270 external mute 399 * @mute: 0 = disable mute, 1 = enable mute 401 * This function toggles the mute bits in the MUTE register. The CS4270's 402 * mute capability is intended for external muting circuitry, so if the 406 static int cs4270_dai_mute(struct snd_soc_dai *dai, int mute) cs4270_dai_mute() argument 414 if (mute) cs4270_dai_mute() 431 * snd_soc_put_volsw() function and saves the mute information in 434 * mute the codec's output. 509 /* Disable auto-mute. This feature appears to be buggy. In some cs4270_probe() 510 * situations, auto-mute will not deactivate when it should, so we want cs4270_probe()
|
H A D | cq93vc.c | 46 static int cq93vc_mute(struct snd_soc_dai *dai, int mute) cq93vc_mute() argument 51 if (mute) cq93vc_mute()
|
H A D | tlv320aic26.c | 136 static int aic26_mute(struct snd_soc_dai *dai, int mute) aic26_mute() argument 142 dev_dbg(&aic26->spi->dev, "aic26_mute(dai=%p, mute=%i)\n", aic26_mute() 143 dai, mute); aic26_mute() 145 if (mute) aic26_mute()
|
H A D | pcm1792a.c | 90 static int pcm1792a_digital_mute(struct snd_soc_dai *dai, int mute) pcm1792a_digital_mute() argument 97 PCM1792A_MUTE_MASK, !!mute); pcm1792a_digital_mute()
|
H A D | ad193x.c | 30 * AD193X volume/mute/de-emphasis etc. controls 110 static int ad193x_mute(struct snd_soc_dai *dai, int mute) ad193x_mute() argument 114 if (mute) ad193x_mute()
|
H A D | pcm1681.c | 45 #define PCM1681_SOFT_MUTE 0x07 /* Soft mute control register */ 154 static int pcm1681_digital_mute(struct snd_soc_dai *dai, int mute) pcm1681_digital_mute() argument 160 if (mute) pcm1681_digital_mute()
|
H A D | pcm512x.h | 114 /* Page 0, Register 3 - mute */ 218 /* Page 0, Register 59 - auto mute */ 232 /* Page 0, Register 65 - Digital mute enables */
|
H A D | wm8728.c | 36 * the volume update bits, mute the output and enable infinite zero 75 static int wm8728_mute(struct snd_soc_dai *dai, int mute) wm8728_mute() argument 80 if (mute) wm8728_mute()
|
H A D | lm49453.c | 1228 static int lm49453_hp_mute(struct snd_soc_dai *dai, int mute) lm49453_hp_mute() argument 1231 (mute ? (BIT(1)|BIT(0)) : 0)); lm49453_hp_mute() 1235 static int lm49453_lo_mute(struct snd_soc_dai *dai, int mute) lm49453_lo_mute() argument 1238 (mute ? (BIT(3)|BIT(2)) : 0)); lm49453_lo_mute() 1242 static int lm49453_ls_mute(struct snd_soc_dai *dai, int mute) lm49453_ls_mute() argument 1245 (mute ? (BIT(5)|BIT(4)) : 0)); lm49453_ls_mute() 1249 static int lm49453_ep_mute(struct snd_soc_dai *dai, int mute) lm49453_ep_mute() argument 1252 (mute ? BIT(4) : 0)); lm49453_ep_mute() 1256 static int lm49453_ha_mute(struct snd_soc_dai *dai, int mute) lm49453_ha_mute() argument 1259 (mute ? (BIT(7)|BIT(6)) : 0)); lm49453_ha_mute()
|
H A D | 88pm860x-codec.c | 152 /* -9450dB to 0dB in 150dB steps ( mute instead of -9450dB) */ 175 /* {-16, -13, -10, -7, -5.2, -3,3, -2.2, 0}dB, mute instead of -16dB */ 392 * In order to avoid current on the load, mute power-on and power-off pm860x_rsync_event() 417 /* Auto mute in power-on sequence. */ pm860x_dac_event() 430 /* Auto mute in power-off sequence. */ pm860x_dac_event() 924 * Use MUTE_LEFT & MUTE_RIGHT to implement digital mute. 925 * These bits can also be used to mute. 927 static int pm860x_digital_mute(struct snd_soc_dai *codec_dai, int mute) pm860x_digital_mute() argument 932 if (mute) pm860x_digital_mute()
|
H A D | twl6040.c | 955 int mute) twl6040_mute_path() 968 if (mute) { twl6040_mute_path() 979 priv->dl1_unmuted = !mute; twl6040_mute_path() 985 if (mute) { twl6040_mute_path() 995 priv->dl2_unmuted = !mute; twl6040_mute_path() 1002 static int twl6040_digital_mute(struct snd_soc_dai *dai, int mute) twl6040_digital_mute() argument 1006 twl6040_mute_path(dai->codec, TWL6040_DAI_DL1, mute); twl6040_digital_mute() 1007 twl6040_mute_path(dai->codec, TWL6040_DAI_DL2, mute); twl6040_digital_mute() 1011 twl6040_mute_path(dai->codec, dai->id, mute); twl6040_digital_mute() 954 twl6040_mute_path(struct snd_soc_codec *codec, enum twl6040_dai_id id, int mute) twl6040_mute_path() argument
|
H A D | uda134x.c | 142 static int uda134x_mute(struct snd_soc_dai *dai, int mute) uda134x_mute() argument 147 pr_debug("%s mute: %d\n", __func__, mute); uda134x_mute() 149 if (mute) uda134x_mute()
|
H A D | alc5632.c | 143 /* -34.5db min scale, 1.5db steps, no mute */ 145 /* -46.5db min scale, 1.5db steps, no mute */ 147 /* -16.5db min scale, 1.5db steps, no mute */ 154 /* 0db min scale, 6 db steps, no mute */ 156 /* 0db min scalem 0.75db steps, no mute */ 909 static int alc5632_mute(struct snd_soc_dai *dai, int mute) alc5632_mute() argument 916 if (mute) alc5632_mute() 994 /* everything off, dac mute, inactive */ alc5632_set_bias_level()
|
H A D | ssm4567.c | 210 static int ssm4567_mute(struct snd_soc_dai *dai, int mute) ssm4567_mute() argument 215 val = mute ? SSM4567_DAC_MUTE : 0; ssm4567_mute()
|
H A D | sta529.c | 260 static int sta529_mute(struct snd_soc_dai *dai, int mute) sta529_mute() argument 264 if (mute) sta529_mute()
|
H A D | tfa9879.c | 101 static int tfa9879_digital_mute(struct snd_soc_dai *dai, int mute) tfa9879_digital_mute() argument 107 !!mute << TFA9879_S_MUTE_SHIFT); tfa9879_digital_mute()
|
H A D | twl4030.c | 424 /* Handsfree Left virtual mute */ 439 /* Handsfree Right virtual mute */ 526 /* Digital bypass gain, mute instead of -30dB */ 548 * from -51 to -10 dB in 1 dB steps (mute instead of -51 dB) 562 * On mute bypass the reg_cache and write 0 to the register 720 /* Enable external mute control, this dramatically reduces headset_ramp() 749 /* Bypass the reg_cache to mute the headset */ headset_ramp() 757 /* Disable external mute */ headset_ramp() 833 * 0x0 : Power down (mute) 985 * from -62 to 0 dB in 1 dB steps (mute instead of -63 dB) 998 * from -37 to 12 dB in 1 dB steps (mute instead of -37 dB) 1010 * -6 dB to 6 dB in 6 dB steps (mute instead of -12) 1016 * 0 dB to 12 dB in 6 dB steps (mute instead of -6)
|
H A D | sn95031.c | 648 static int sn95031_pcm_hs_mute(struct snd_soc_dai *dai, int mute) sn95031_pcm_hs_mute() argument 651 SN95031_HSLVOLCTRL, BIT(7), (!mute << 7)); sn95031_pcm_hs_mute() 653 SN95031_HSRVOLCTRL, BIT(7), (!mute << 7)); sn95031_pcm_hs_mute() 657 static int sn95031_pcm_spkr_mute(struct snd_soc_dai *dai, int mute) sn95031_pcm_spkr_mute() argument 660 SN95031_IHFLVOLCTRL, BIT(7), (!mute << 7)); sn95031_pcm_spkr_mute() 662 SN95031_IHFRVOLCTRL, BIT(7), (!mute << 7)); sn95031_pcm_spkr_mute() 865 /* soft mute ramp time */ sn95031_codec_probe()
|
H A D | sta350.c | 420 unsigned int mute; sta350_cache_sync() local 423 /* mute during register sync */ sta350_cache_sync() 424 regmap_read(sta350->regmap, STA350_CFUD, &mute); sta350_cache_sync() 425 regmap_write(sta350->regmap, STA350_MMUTE, mute | STA350_MMUTE_MMUTE); sta350_cache_sync() 428 regmap_write(sta350->regmap, STA350_MMUTE, mute); sta350_cache_sync() 1163 if (of_get_property(np, "st,invalid-input-detect-mute", NULL)) sta350_probe_dt() 1167 if (of_get_property(np, "st,activate-mute-output", NULL)) sta350_probe_dt()
|
H A D | ak4641.c | 391 static int ak4641_mute(struct snd_soc_dai *dai, int mute) ak4641_mute() argument 395 return snd_soc_update_bits(codec, AK4641_DAC, 0x20, mute ? 0x20 : 0); ak4641_mute() 411 /* mute */ ak4641_set_bias_level()
|
H A D | cs42l51.c | 445 static int cs42l51_dai_mute(struct snd_soc_dai *dai, int mute) cs42l51_dai_mute() argument 453 if (mute) cs42l51_dai_mute() 494 * - auto mute cs42l51_codec_probe()
|
H A D | tlv320aic23.c | 413 static int tlv320aic23_mute(struct snd_soc_dai *dai, int mute) tlv320aic23_mute() argument 419 if (mute) tlv320aic23_mute() 504 /* everything off, dac mute, inactive */ tlv320aic23_set_bias_level()
|
H A D | wm8770.c | 478 static int wm8770_mute(struct snd_soc_dai *dai, int mute) wm8770_mute() argument 484 !!mute << 4); wm8770_mute() 604 /* mute all DACs */ wm8770_probe()
|
H A D | ak4535.c | 315 static int ak4535_mute(struct snd_soc_dai *dai, int mute) ak4535_mute() argument 319 if (!mute) ak4535_mute()
|
H A D | cs4265.c | 400 static int cs4265_digital_mute(struct snd_soc_dai *dai, int mute) cs4265_digital_mute() argument 404 if (mute) { cs4265_digital_mute()
|
H A D | tas2552.c | 255 static int tas2552_mute(struct snd_soc_dai *dai, int mute) tas2552_mute() argument 260 if (mute) tas2552_mute()
|
H A D | wm8711.c | 210 static int wm8711_mute(struct snd_soc_dai *dai, int mute) wm8711_mute() argument 215 if (mute) wm8711_mute()
|
H A D | wm8776.c | 315 static int wm8776_mute(struct snd_soc_dai *dai, int mute) wm8776_mute() argument 319 return snd_soc_write(codec, WM8776_DACMUTE, !!mute); wm8776_mute()
|
H A D | isabelle.c | 868 static int isabelle_hs_mute(struct snd_soc_dai *dai, int mute) isabelle_hs_mute() argument 871 BIT(4), (mute ? BIT(4) : 0)); isabelle_hs_mute() 876 static int isabelle_hf_mute(struct snd_soc_dai *dai, int mute) isabelle_hf_mute() argument 879 BIT(4), (mute ? BIT(4) : 0)); isabelle_hf_mute() 884 static int isabelle_line_mute(struct snd_soc_dai *dai, int mute) isabelle_line_mute() argument 887 BIT(4), (mute ? BIT(4) : 0)); isabelle_line_mute()
|
H A D | sta32x.c | 381 unsigned int mute; sta32x_cache_sync() local 384 /* mute during register sync */ sta32x_cache_sync() 385 regmap_read(sta32x->regmap, STA32X_MMUTE, &mute); sta32x_cache_sync() 386 regmap_write(sta32x->regmap, STA32X_MMUTE, mute | STA32X_MMUTE_MMUTE); sta32x_cache_sync() 389 regmap_write(sta32x->regmap, STA32X_MMUTE, mute); sta32x_cache_sync() 1066 if (of_get_property(np, "st,invalid-input-detect-mute", NULL)) sta32x_probe_dt()
|
H A D | wm8350.c | 52 u16 mute; member in struct:wm8350_output 949 static int wm8350_mute(struct snd_soc_dai *dai, int mute) wm8350_mute() argument 954 if (mute) wm8350_mute() 1115 /* mute DAC & outputs */ wm8350_set_bias_level() 1177 /* mute DAC & enable outputs */ wm8350_set_bias_level() 1520 /* Latch VU bits & mute */ wm8350_codec_probe()
|
H A D | wm8753.c | 281 /* 0000000 - 0101111 = "Analogue mute" */ 1309 static int wm8753_mute(struct snd_soc_dai *dai, int mute) wm8753_mute() argument 1315 /* the digital mute covers the HiFi and Voice DAC's on the WM8753. wm8753_mute() 1316 * make sure we check if they are not both active when we mute */ wm8753_mute() 1317 if (mute && wm8753->dai_func == 1) { wm8753_mute() 1321 if (mute) wm8753_mute() 1361 /* mute dac and set vmid to 500k, enable VREF */ wm8753_set_bias_level()
|
H A D | tlv320aic32x4.c | 113 SOC_SINGLE("Auto-mute Switch", AIC32X4_DACMUTE, 4, 7, 0), 482 static int aic32x4_mute(struct snd_soc_dai *dai, int mute) aic32x4_mute() argument 488 if (mute) aic32x4_mute()
|
H A D | wm8750.c | 612 static int wm8750_mute(struct snd_soc_dai *dai, int mute) wm8750_mute() argument 617 if (mute) wm8750_mute() 647 /* mute dac and set vmid to 500k, enable VREF */ wm8750_set_bias_level()
|
H A D | wm8961.c | 704 static int wm8961_digital_mute(struct snd_soc_dai *dai, int mute) wm8961_digital_mute() argument 709 if (mute) wm8961_digital_mute() 861 /* Use soft mute by default */ wm8961_probe()
|
H A D | wm8971.c | 543 static int wm8971_mute(struct snd_soc_dai *dai, int mute) wm8971_mute() argument 548 if (mute) wm8971_mute() 587 /* mute dac and set vmid to 500k, enable VREF */ wm8971_set_bias_level()
|
H A D | rt5631.c | 404 * onebit_depop_mute_stage - auto depop in mute stage. 405 * @enable: mute/unmute 407 * When mute/unmute headphone, the depop sequence is done by hardware. 514 * depop_seq_mute_stage - step by step depop sequence in mute stage. 515 * @enable: mute/unmute 517 * When mute/unmute headphone, the depop sequence is done in step by step.
|
H A D | adau1701.c | 572 static int adau1701_digital_mute(struct snd_soc_dai *dai, int mute) adau1701_digital_mute() argument 579 if (mute) adau1701_digital_mute()
|
H A D | ak4671.c | 124 * from -24 to 6 dB in 6 dB steps (mute instead of -30 dB) 130 * from -33 to 6 dB in 3 dB steps (mute instead of -33 dB)
|
H A D | cs4271.c | 410 static int cs4271_mute_stream(struct snd_soc_dai *dai, int mute, int stream) cs4271_mute_stream() argument 421 if (mute) { cs4271_mute_stream()
|
H A D | cs42xx8.c | 282 static int cs42xx8_digital_mute(struct snd_soc_dai *dai, int mute) cs42xx8_digital_mute() argument 288 CS42XX8_DACMUTE_ALL, mute ? CS42XX8_DACMUTE_ALL : 0); cs42xx8_digital_mute()
|
H A D | ml26124.c | 424 static int ml26124_mute(struct snd_soc_dai *dai, int mute) ml26124_mute() argument 438 if (mute) ml26124_mute()
|
H A D | ssm2518.c | 392 static int ssm2518_mute(struct snd_soc_dai *dai, int mute) ssm2518_mute() argument 397 if (mute) ssm2518_mute()
|
H A D | ssm2602.c | 324 static int ssm2602_mute(struct snd_soc_dai *dai, int mute) ssm2602_mute() argument 328 if (mute) ssm2602_mute()
|
H A D | wm8510.c | 493 static int wm8510_mute(struct snd_soc_dai *dai, int mute) wm8510_mute() argument 498 if (mute) wm8510_mute()
|
H A D | wm8974.c | 489 static int wm8974_mute(struct snd_soc_dai *dai, int mute) wm8974_mute() argument 494 if (mute) wm8974_mute()
|
/linux-4.1.27/sound/soc/sh/rcar/ |
H A D | dvc.c | 21 struct rsnd_kctrl_cfg_m mute; member in struct:rsnd_dvc 71 u32 mute = 0; rsnd_dvc_volume_update() local 74 for (i = 0; i < dvc->mute.cfg.size; i++) rsnd_dvc_volume_update() 75 mute |= (!!dvc->mute.cfg.val[i]) << i; rsnd_dvc_volume_update() 111 if (mute) { rsnd_dvc_volume_update() 113 rsnd_mod_write(mod, DVC_ZCMCR, mute); rsnd_dvc_volume_update() 128 rsnd_kctrl_remove(dvc->mute); rsnd_dvc_remove_gen2() 229 &dvc->mute, 1); rsnd_dvc_pcm_new()
|
/linux-4.1.27/drivers/ps3/ |
H A D | ps3av_cmd.c | 225 int ps3av_cmd_av_video_mute(int num_of_port, u32 *port, u32 mute) ps3av_cmd_av_video_mute() argument 235 av_video_mute.mute[i].avport = port[i]; ps3av_cmd_av_video_mute() 236 av_video_mute.mute[i].mute = mute; ps3av_cmd_av_video_mute() 276 int ps3av_cmd_av_tv_mute(u32 avport, u32 mute) ps3av_cmd_av_tv_mute() argument 283 tv_mute.mute = mute; ps3av_cmd_av_tv_mute() 421 int ps3av_cmd_video_format_black(u32 head, u32 video_fmt, u32 mute) ps3av_cmd_video_format_black() argument 428 if (mute != PS3AV_CMD_MUTE_OFF) ps3av_cmd_video_format_black() 448 int ps3av_cmd_av_audio_mute(int num_of_port, u32 *port, u32 mute) ps3av_cmd_av_audio_mute() argument 456 /* audio mute */ ps3av_cmd_av_audio_mute() 459 av_audio_mute.mute[i].avport = port[i]; ps3av_cmd_av_audio_mute() 460 av_audio_mute.mute[i].mute = mute; ps3av_cmd_av_audio_mute() 811 int ps3av_cmd_audio_mute(int num_of_port, u32 *port, u32 mute) ps3av_cmd_audio_mute() argument 819 /* audio mute */ ps3av_cmd_audio_mute() 822 audio_mute.mute[i].avport = port[i]; ps3av_cmd_audio_mute() 823 audio_mute.mute[i].mute = mute; ps3av_cmd_audio_mute()
|
H A D | ps3av.c | 347 static int ps3av_set_av_video_mute(u32 mute) ps3av_set_av_video_mute() argument 353 /* video mute on */ ps3av_set_av_video_mute() 355 res = ps3av_cmd_av_video_mute(1, &ps3av->av_port[i], mute); ps3av_set_av_video_mute() 371 /* tv mute */ ps3av_set_video_disable_sig() 380 /* video mute on */ ps3av_set_video_disable_sig() 397 static int ps3av_set_audio_mute(u32 mute) ps3av_set_audio_mute() argument 406 res = ps3av_cmd_av_audio_mute(1, &ps3av->av_port[i], mute); ps3av_set_audio_mute() 411 res = ps3av_cmd_audio_mute(1, &ps3av->opt_port[i], mute); ps3av_set_audio_mute() 437 /* audio mute */ ps3av_set_audio_mode() 469 /* audio mute */ ps3av_set_audio_mode() 484 /* av video mute */ ps3av_set_videomode() 577 /* av video mute */ ps3av_set_videomode_cont() 904 /* mute */ ps3av_video_mute() 905 int ps3av_video_mute(int mute) ps3av_video_mute() argument 907 return ps3av_set_av_video_mute(mute ? PS3AV_CMD_MUTE_ON ps3av_video_mute() 912 /* mute analog output only */ ps3av_audio_mute_analog() 913 int ps3av_audio_mute_analog(int mute) ps3av_audio_mute_analog() argument 920 mute); ps3av_audio_mute_analog() 928 int ps3av_audio_mute(int mute) ps3av_audio_mute() argument 930 return ps3av_set_audio_mute(mute ? PS3AV_CMD_MUTE_ON ps3av_audio_mute()
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | wm8739.c | 59 struct v4l2_ctrl *mute; member in struct:wm8739_state::__anon5628 104 u16 mute; wm8739_s_ctrl() local 122 mute = state->mute->val ? 0x80 : 0; wm8739_s_ctrl() 127 wm8739_write(sd, R0, (vol_l & 0x1f) | mute); wm8739_s_ctrl() 128 wm8739_write(sd, R1, (vol_r & 0x1f) | mute); wm8739_s_ctrl() 222 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, wm8739_probe() 252 /* set volume/mute */ wm8739_probe()
|
H A D | wm8775.c | 59 struct v4l2_ctrl *mute; member in struct:wm8775_state 98 int muted = 0 != state->mute->val; wm8775_set_audio() 113 /* Un-mute */ wm8775_set_audio() 133 if (v4l2_ctrl_g_ctrl(state->mute)) wm8775_s_routing() 241 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, wm8775_probe() 298 wm8775_set_audio(sd, 1); /* set volume/mute/mux */ wm8775_probe()
|
H A D | tda7432.c | 71 /* mute/balance cluster */ 72 struct v4l2_ctrl *mute; member in struct:tda7432::__anon5623 193 * Bit 5 mutes that channel when set (1 = mute, 0 = unmute) 194 * We'll use the mute on the input, though (above) 293 if (t->mute->val) { tda7432_s_ctrl() 370 t->mute = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, tda7432_probe() 386 v4l2_ctrl_cluster(2, &t->mute); tda7432_probe()
|
H A D | tea6420.c | 49 with gain 'g' (note: i = 6 means 'mute') */ tea6420_s_routing() 120 /* set initial values: set "mute"-input to all outputs at gain 0 */ tea6420_probe()
|
H A D | tvaudio.c | 480 * in 1dB steps - mute is 0x27 */ 496 * in 3dB steps - mute is 0x0 */ 522 #define TDA985x_SAP 3<<6 /* Selects SAP output, mute if not received */ 529 #define TDA9855_TZCM 1<<5 /* If set, don't mute till zero crossing */ 645 * B6: mute (1 = muted) 646 * B7: auto-mute (1 = auto-mute enabled) 814 #define TDA9874A_AMCONR 0x12 /* audio mute control */ 1029 aosr = 0x00; /* handled by NICAM auto-mute */ tda9874a_setaudmode() 1097 tda9874a_NCONR = 0x01; /* auto-mute: analog mono input */ tda9874a_initialize() 1099 tda9874a_NCONR = 0x05; /* auto-mute: 1st carrier FM or AM */ tda9874a_initialize() 1114 #define TDA9875_MUT 0x12 /*General mute (value --> 0b11001100*/ 1119 #define TDA9875_CH1V 0x0c /*Channel 1 volume (mute)*/ 1120 #define TDA9875_CH2V 0x0d /*Channel 2 volume (mute)*/ 1149 #define TDA9875_MUTE_ON 0xff /* general mute */ 1150 #define TDA9875_MUTE_OFF 0xcc /* general no mute */ 1168 chip_write(chip, TDA9875_CH1V, 0x10); /* Channel volume 1 mute*/ tda9875_initialize() 1169 chip_write(chip, TDA9875_CH2V, 0x10); /* Channel volume 2 mute */ tda9875_initialize() 1185 chip_write(chip, TDA9875_MUT, 0xcc); /* General mute */ tda9875_initialize() 1229 #define TEA6300_S_GMU 0x80 /* general mute */ 1231 #define TEA6320_V 0x00 /* volume (0-5)/loudness off (6)/zero crossing mute(7) */ 1244 #define TEA6320_S_GMU 0x80 /* general mute */ 1251 #define TEA6420_S_GMU 0x05 /* general mute */ 1280 #define TDA8425_S1_OFF 0xEE /* audio off (mute on) */ 1281 #define TDA8425_S1_CH1 0xCE /* audio channel 1 (mute off) - "linear stereo" mode */ 1282 #define TDA8425_S1_CH2 0xCF /* audio channel 2 (mute off) - "linear stereo" mode */ 1283 #define TDA8425_S1_MU 0x20 /* mute bit */
|
H A D | saa717x.c | 743 (reg_data3 & 0x000400) ? " A2/EIAJ noise mute " : "", get_inf_dev_status() 747 (reg_data3 & 0x002000) ? " BTSC stereo noise mute " : "", get_inf_dev_status() 748 (reg_data3 & 0x004000) ? " SAP noise mute " : "", get_inf_dev_status() 783 u8 mute = 0xac; /* -84 dB */ set_audio_regs() local 799 /* main volume L[7-0],R[7-0],0x00 24=24dB,-83dB, -84(mute) */ set_audio_regs() 801 /* if mute is on, set mute */ set_audio_regs() 803 val = mute | (mute << 8); set_audio_regs()
|
H A D | cs5345.c | 190 /* set volume/mute */ cs5345_probe()
|
H A D | m52790.c | 66 The same holds for implementing an audio mute control, this is now
|
H A D | tlv320aic23b.c | 100 tlv320aic23b_write(sd, 0, 0x180); /* mute both channels */ tlv320aic23b_s_ctrl()
|
H A D | msp3400-driver.c | 286 "in1", "in2", "in3", "in4", "in1 da", "in2 da", "mono", "mute" 362 v4l_dbg(1, msp_debug, client, "mute=%s scanning=%s volume=%d\n", msp_s_ctrl() 412 /* Force an update of the volume/mute cluster */ msp_update_volume()
|
/linux-4.1.27/sound/pci/au88x0/ |
H A D | au88x0_wt.h | 45 mute, /* 6 W 1:mute, 0:unmute */
|
/linux-4.1.27/sound/soc/spear/ |
H A D | spdif_out.c | 31 u32 mute; member in struct:spdif_out_params 167 if (!host->saved_params.mute) spdif_out_trigger() 191 static int spdif_digital_mute(struct snd_soc_dai *dai, int mute) spdif_digital_mute() argument 196 host->saved_params.mute = mute; spdif_digital_mute() 200 if (mute) spdif_digital_mute() 219 ucontrol->value.integer.value[0] = host->saved_params.mute; spdif_mute_get() 229 if (host->saved_params.mute == ucontrol->value.integer.value[0]) spdif_mute_put()
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
H A D | saa7134-tvaudio.c | 189 unsigned int mute; mute_input_7134() local 196 mute = (dev->ctl_mute || mute_input_7134() 198 if (card(dev).mute.name) { mute_input_7134() 200 * 7130 - we'll mute using some unconnected audio input mute_input_7134() 203 if (mute) mute_input_7134() 204 in = &card(dev).mute; mute_input_7134() 207 if (dev->hw_mute == mute && mute_input_7134() 209 dprintk("mute/input: nothing to do [mute=%d,input=%s]\n", mute_input_7134() 210 mute,in->name); mute_input_7134() 214 dprintk("ctl_mute=%d automute=%d input=%s => mute=%d input=%s\n", mute_input_7134() 215 dev->ctl_mute,dev->automute,dev->input->name,mute,in->name); mute_input_7134() 216 dev->hw_mute = mute; mute_input_7134() 220 /* 7134 mute */ mute_input_7134() 221 saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ? mute_input_7134() 762 if (card(dev).mute.name && dev->ctl_mute) mute_input_7133() 763 in = &card(dev).mute; mute_input_7133() 848 (value & 0x000400) ? " A2/EIAJ noise mute " : "", tvaudio_thread_ddep() 852 (value & 0x002000) ? " BTSC stereo noise mute " : "", tvaudio_thread_ddep() 853 (value & 0x004000) ? " SAP noise mute " : "", tvaudio_thread_ddep()
|
H A D | saa7134-cards.c | 39 static char name_mute[] = "mute"; 148 .mute = { 191 .mute = { 269 .mute = { 319 .mute = { 419 .mute = { 641 .mute = { 741 .mute = { 803 .mute = { 867 .mute = { 952 }}, /* radio and probably mute is missing */ 1027 .mute = { 1165 .mute = { 1419 .mute = { 1455 .mute = { 1531 .mute = { 1567 .mute = { 1654 .mute = { 1695 .mute = { 1732 .mute = { 1889 .mute = { 1980 .mute = { 2121 .mute = { 2191 .mute = { 2236 .mute = { 2345 .mute = { 2420 .mute = { 3155 .mute = { 3230 .mute = { 3363 .mute = { 3550 .mute = { 3588 .mute = { 3623 .mute = { 3655 .mute = { 3851 .mute = { 3882 .mute = { 3932 .mute = { 3966 .mute = { 3996 .mute = { 4226 .mute = { 4261 .mute = { 4800 .mute = { 5148 .mute = { 5242 .mute = { 5284 .mute = { 5316 .mute = { 5354 .mute = { 5494 .mute = { 5626 .mute = { 5665 .mute = { 5696 .mute = { 5725 .mute = {
|
/linux-4.1.27/sound/i2c/other/ |
H A D | pt2258.c | 58 /* mute all channels */ snd_pt2258_reset() 59 pt->mute = 1; snd_pt2258_reset() 152 ucontrol->value.integer.value[0] = !pt->mute; pt2258_switch_get() 164 if (pt->mute == val) pt2258_switch_put() 167 pt->mute = val; pt2258_switch_put()
|
H A D | ak4xxx-adda.c | 76 snd_akm4xxx_write(ak, 0, 0x01, 0x02); /* reset and soft-mute */ ak435X_reset() 137 * from -63.5dB (mute) to 0dB step 0.5dB 213 0x01, 0x02, /* 1: reset and soft-mute */ snd_akm4xxx_init() 230 0x01, 0x02, /* 1: reset and soft-mute */ snd_akm4xxx_init() 624 /* mute control for Revolution 7.1 - AK4381 */ build_dac_controls() 637 1 = mute */ build_dac_controls() 784 1 = mute */ build_adc_controls()
|
/linux-4.1.27/sound/pci/hda/ |
H A D | hda_generic.h | 191 unsigned int speaker_muted:1; /* current status of speaker mute */ 192 unsigned int line_out_muted:1; /* current status of LO mute */ 206 unsigned int master_mute:1; /* master mute over all */ 209 unsigned int auto_mute_via_amp:1; /* auto-mute via amp instead of pinctl */ 212 unsigned int suppress_auto_mute:1; /* suppress input jack auto mute */ 225 unsigned int vmaster_mute_enum:1; /* add vmaster mute mode enum */ 231 unsigned int dac_min_mute:1; /* minimal = mute for DACs */ 240 /* additional mute flags (only effective with auto_mute_via_amp=1) */
|
H A D | patch_analog.c | 663 * port-A 0x11 (mute/hp) <- 0x22 <- 0x37 <- 03/04/06 664 * port-B 0x14 (mute/hp) <- 0x2b <- 0x30 <- 03/04/06 665 * port-C 0x15 (mute) <- 0x2c <- 0x31 <- 05/0a 666 * port-D 0x12 (mute/hp) <- 0x29 <- 04 667 * port-E 0x17 (mute/hp) <- 0x26 <- 0x32 <- 05/0a 668 * port-F 0x16 (mute) <- 0x2a <- 06 669 * port-G 0x24 (mute) <- 0x27 <- 05 670 * port-H 0x25 (mute) <- 0x28 <- 0a 671 * mono 0x13 (mute/amp)<- 0x1e <- 0x36 <- 03/04/06 987 /* toggle GPIO1 according to the mute state */ ad1884_vmaster_hp_gpio_hook()
|
H A D | hda_local.h | 65 /* stereo volume with min=mute */ 69 /* mono mute switch with index (index=0,1,...) (channel=1,2) */ 77 /* stereo mute switch with index */ 80 /* mono mute switch */ 83 /* stereo mute switch */ 87 /* special beep mono mute switch with index (index=0,1,...) (channel=1,2) */ 100 /* special beep mono mute switch */ 103 /* special beep stereo mute switch */
|
H A D | patch_conexant.c | 165 /* turn on/off EAPD according to Master switch (inversely!) for mute LED */ cx_auto_vmaster_hook_mute_led() 846 { .id = CXT_FIXUP_MUTE_LED_EAPD, .name = "mute-led-eapd" }, 850 /* add "fake" mute amp-caps to DACs on cx5051 so that mixer mute switches 915 /* Show mute-led control only on HP laptops patch_conexant_auto() 917 * only to the mute-LED without actualy amp function. Meanwhile, patch_conexant_auto()
|
H A D | hda_generic.c | 584 /* look for a widget suitable for assigning a mute switch in the path */ look_for_out_mute_nid() 973 /* only the put callback is replaced for handling the special mute */ 1061 /* create a mute-switch for the given mixer widget; 1062 * if it has multiple sources (e.g. DAC and loopback), create a bind-mute 1094 /* playback mute control with the software mute bit check */ sync_auto_mute_bits() 1159 /* if the primary channel vol/mute is shared with HP volume, get_line_out_pfx() 1171 /* if the primary channel vol/mute is shared with spk volume, get_line_out_pfx() 1238 * volume and mute controls, and assign the values to ctls[]. 1242 * total badness for both volume and mute controls. 1558 /* assign volume and mute controls */ fill_multi_ios() 3013 /* return true if either a volume or a mute amp is found for the given 4214 * Jack detections for HP auto-mute and mic-switch 4236 /* standard HP/line-out auto-mute helper */ do_automute() 4238 int *paths, bool mute) do_automute() 4251 continue; /* no mute for inputs */ do_automute() 4263 if (mute) do_automute() 4276 if (!mute) do_automute() 4286 set_pin_eapd(codec, nid, !mute); do_automute() 4288 bool on = !mute; do_automute() 4300 * Update the mute status of all outputs based on the current jack states. 4357 /* sync the whole vmaster slaves to reflect the new auto-mute status */ call_update_outputs() 4570 * Check the availability of HP/line-out auto-mute; 4773 /* mute all aamix inputs initially; parse up to the first leaves */ mute_all_mixer_nid() 4966 /* mute all aamix input initially */ snd_hda_gen_parse_auto_config() 5838 /* call init functions of standard auto-mute helpers */ snd_hda_gen_init() 4237 do_automute(struct hda_codec *codec, int num_pins, hda_nid_t *pins, int *paths, bool mute) do_automute() argument
|
H A D | patch_sigmatel.c | 199 unsigned int vref_mute_led_nid; /* pin NID for mute-LED vref control */ 203 unsigned int mic_mute_led_gpio; /* capture mute LED GPIO */ 204 unsigned int mic_enabled; /* current mic mute state (bitmask) */ 296 * funky external mute control using GPIO pins. 333 /* hook for controlling mic-mute LED GPIO */ stac_capture_led_hook() 386 /* prevent codec AFG to D3 state when vref-out pin is used for mute LED */ 397 /* update mute-LED accoring to the master switch */ stac_update_led_status() 424 /* vmaster hook to update mute LED */ stac_vmaster_hook() 430 /* automute hook to handle GPIO mute and EAPD updates */ stac_update_outputs() 749 * This method searches for the mute LED GPIO configuration 752 * where P can be 0 or 1 and defines mute LED GPIO control state (low/high) 754 * and G is the index of the GPIO to use as the mute LED control (0..9) 864 /* check for mute support for the the amp */ stac_auto_create_beep_ctls() 1063 /* mute the master volume */ 2093 codec_dbg(codec, "mute LED gpio %d polarity %d\n", stac92hd83xxx_fixup_hp() 3154 codec_dbg(codec, "mute LED gpio %d polarity %d\n", stac92hd71bxx_fixup_hp() 4211 codec_dbg(codec, "mute LED gpio %d polarity %d\n", stac92hd95_fixup_hp_led() 4599 /* Don't GPIO-mute speakers if there are no internal speakers, because patch_stac92hd73xx()
|
H A D | hda_beep.c | 301 /* get/put callbacks for beep mute mixer switches */
|
/linux-4.1.27/sound/pci/ice1712/ |
H A D | phase.c | 71 #define WM_MUTE 0x14 /* mute controls */ 295 * DAC mute control 393 0x00, 0, /* DAC1 analog mute */ phase28_init() 394 0x01, 0, /* DAC2 analog mute */ phase28_init() 395 0x02, 0, /* DAC3 analog mute */ phase28_init() 396 0x03, 0, /* DAC4 analog mute */ phase28_init() 397 0x04, 0, /* DAC5 analog mute */ phase28_init() 398 0x05, 0, /* DAC6 analog mute */ phase28_init() 399 0x06, 0, /* DAC7 analog mute */ phase28_init() 400 0x07, 0, /* DAC8 analog mute */ phase28_init() 401 0x08, 0x100, /* master analog mute */ phase28_init() 484 uinfo->value.integer.min = 0; /* mute (-101dB) */ wm_vol_info() 534 * WM8770 mute control 590 * WM8770 master mute control 644 uinfo->value.integer.min = 0; /* mute (-64dB) */ wm_pcm_vol_info()
|
H A D | wtm.c | 41 /* rate change needs atomic mute/unmute of all dacs*/ 76 * DAC mute control 78 static void stac9460_dac_mute_all(struct snd_ice1712 *ice, unsigned char mute, stac9460_dac_mute_all() argument 92 new = (~mute << 7 & 0x80) | (old & ~0x80); stac9460_dac_mute_all() 111 new = (~mute << 7 & 0x80) | (old & ~0x80); stac9460_dac_mute_all() 200 uinfo->value.integer.min = 0; /* mute */ stac9460_dac_vol_info() 268 * ADC mute control 471 /* due to possible conflicts with mute controls - mutexing */ stac9460_set_rate_val() 473 /* we have to remember current mute status for each DAC */ stac9460_set_rate_val() 597 /*init mutex for dac mute conflict*/ wtm_init()
|
H A D | maya44.c | 128 unsigned short mute; /* mute bit */ member in struct:maya_vol_info 130 unsigned char mux_bits[2]; /* extra bits for ADC mute */ 139 .mute = 0x00, 147 .mute = 0x00, 155 .mute = 0xa5, 164 /* headphone output: mute, -73..+6db (1db step) */ 166 /* DAC output: mute, -127..0db (0.5db step) */ 168 /* ADC gain: mute, -21..+24db (0.5db step) */ 218 data = vol->mute; maya_vol_put() 557 0x08, 0x000, /* R8: DAC soft mute off */ wm8776_init() 572 0x15, 0x000, /* R21: ADC input mux init, mute all inputs */ wm8776_init() 582 /* enable DAC output; mute bypass, aux & all inputs */ wm8776_init()
|
H A D | aureon.c | 78 #define WM_MUTE 0x14 /* mute controls */ 410 * AC'97 mute controls 448 * AC'97 mute controls 651 * AC'97 master playback mute controls (Mute on WM8770 chip) 713 * DAC mute control 801 uinfo->value.integer.min = 0; /* mute (-101dB) */ wm_vol_info() 848 * WM8770 mute control 901 * WM8770 master mute control 951 uinfo->value.integer.min = 0; /* mute (-64dB) */ wm_pcm_vol_info() 991 * ADC mute control 1947 0x00, 0, /* DAC1 analog mute */ aureon_reset() 1948 0x01, 0, /* DAC2 analog mute */ aureon_reset() 1949 0x02, 0, /* DAC3 analog mute */ aureon_reset() 1950 0x03, 0, /* DAC4 analog mute */ aureon_reset() 1951 0x04, 0, /* DAC5 analog mute */ aureon_reset() 1952 0x05, 0, /* DAC6 analog mute */ aureon_reset() 1953 0x06, 0, /* DAC7 analog mute */ aureon_reset() 1954 0x07, 0, /* DAC8 analog mute */ aureon_reset() 1955 0x08, 0x100, /* master analog mute */ aureon_reset() 1985 0x00, 0, /* DAC1 analog mute */ aureon_reset() 1986 0x01, 0, /* DAC2 analog mute */ aureon_reset() 1987 0x02, 0, /* DAC3 analog mute */ aureon_reset() 1988 0x03, 0, /* DAC4 analog mute */ aureon_reset() 1989 0x04, 0, /* DAC5 analog mute */ aureon_reset() 1990 0x05, 0, /* DAC6 analog mute */ aureon_reset() 1991 0x06, 0, /* DAC7 analog mute */ aureon_reset() 1992 0x07, 0, /* DAC8 analog mute */ aureon_reset() 1993 0x08, 0x100, /* master analog mute */ aureon_reset() 2017 0x0180, /* no mute, OMCK output on RMCK pin */ aureon_reset()
|
H A D | revo.h | 53 #define VT1724_REVO_MUTE (1<<22) /* 0 = all mute, 1 = normal operation */
|
H A D | prodigy192.c | 71 /* rate change needs atomic mute/unmute of all dacs*/ 86 * DAC mute control 90 * idx = STAC9460 volume register number, mute: 0 = mute, 1 = unmute 93 unsigned char mute) stac9460_dac_mute() 98 new = (~mute << 7 & 0x80) | (old & ~0x80); stac9460_dac_mute() 151 uinfo->value.integer.min = 0; /* mute */ stac9460_dac_vol_info() 199 * ADC mute control 337 /* due to possible conflicts with mute controls - mutexing */ stac9460_set_rate_val() 339 /* we have to remember current mute status for each DAC */ stac9460_set_rate_val() 92 stac9460_dac_mute(struct snd_ice1712 *ice, int idx, unsigned char mute) stac9460_dac_mute() argument
|
H A D | juli.c | 64 * The master mute is implemented using output muting transistors (GPIO) in 97 #define GPIO_MUTE_CONTROL (1<<15) /* output mute, 1 = muted */ 336 /* mute */ juli_mute_put() 348 "JULI - mute/unmute: control_value: 0x%x, old_gpio: 0x%x, " juli_mute_put() 491 /* akm4358 un-reset, un-mute */ juli_resume() 502 /* akm4358 reset and soft-mute */ juli_suspend()
|
H A D | se.c | 56 * I2S codec has no volume/mute control feature 211 se200pci_WM8766_write(ice, 0x09, 0x000); /* demp=off mute=off */ se200pci_WM8766_init() 328 /* head phone mute and power down */ se200pci_WM8776_init() 439 uinfo->value.integer.min = 0; /* mute */ se200pci_cont_volume_info() 724 [ICE_EEP2_GPIO_DIR] = 0x02, /* WM8766 mute 1=output */ 732 [ICE_EEP2_GPIO_STATE] = 0x00, /* WM8766 mute=0 */
|
H A D | psc724.c | 60 * I2S codec has no volume/mute control feature (bug!) 167 /* mute all */ 203 /* notify about master speaker mute change */ psc724_set_jack_state() 210 /* and headphone mute change */ psc724_set_jack_state()
|
H A D | pontis.c | 118 uinfo->value.integer.min = 0; /* mute */ wm_dac_vol_info() 173 uinfo->value.integer.min = 0; /* mute (-64dB) */ wm_adc_vol_info() 718 WM_ADC_MUX, 0x00c0, /* ADC mute */ pontis_init() 720 WM_DAC_CTRL1, 0x0000, /* DAC mute */ pontis_init()
|
H A D | prodigy_hifi.c | 260 uinfo->value.integer.min = 0; /* mute */ ak4396_dac_vol_info() 388 uinfo->value.integer.min = 0; /* mute */ wm_dac_vol_info() 436 uinfo->value.integer.min = 0; /* mute */ wm8766_vol_info() 610 uinfo->value.integer.min = 0; /* mute (-64dB) */ wm_adc_vol_info() 976 WM_ADC_MUX, 0x0003, /* ADC mute */ prodigy_hifi_init() 980 WM_DAC_CTRL1, 0x0000, /* DAC mute */ prodigy_hifi_init()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | ps3av.h | 77 #define PS3AV_MUTE_PORT_MAX 1 /* num of ports in mute pkt */ 88 /* mute */ 470 /* backend: video mute */ 473 u16 mute; /* in: mute on/off */ member in struct:ps3av_av_mute 478 struct ps3av_av_mute mute[PS3AV_MUTE_PORT_MAX]; member in struct:ps3av_pkt_av_video_mute 528 struct ps3av_av_mute mute[PS3AV_MUTE_PORT_MAX]; member in struct:ps3av_pkt_av_audio_mute 544 u16 mute; /* in: mute */ member in struct:ps3av_pkt_av_tv_mute 619 /* audio: mute */ 623 u32 mute; /* in: mute */ member in struct:ps3av_audio_mute 628 struct ps3av_audio_mute mute[PS3AV_OPT_PORT_MAX]; member in struct:ps3av_pkt_audio_mute
|
/linux-4.1.27/sound/pci/echoaudio/ |
H A D | echoaudio_gml.c | 66 /* Handle the digital input auto-mute */ write_control_reg() 88 /* Gina24, Layla24, and Mona support digital input auto-mute. If the digital 89 input auto-mute is enabled, the DSP will only enable the digital inputs if 91 If the auto-mute is disabled, the digital inputs are enabled regardless of 100 the auto-mute flag to be sent to the DSP */ set_input_auto_mute()
|
/linux-4.1.27/include/media/ |
H A D | tea575x.h | 58 bool cannot_mute; /* Device cannot mute */ 59 bool mute; /* Device is muted? */ member in struct:snd_tea575x
|
H A D | cx2341x.h | 160 /* video mute cluster */
|
H A D | msp3400.h | 68 ignore or mute certain inputs or outputs.
|
/linux-4.1.27/sound/ppc/ |
H A D | tumbler.c | 721 * mute switches. FIXME: Turn that into software mute when both outputs are muted 760 return 0; /* don't touch in the auto-mute mode */ tumbler_put_mute_switch() 935 * auto-mute stuffs 990 /* unmute headphone/lineout & mute speaker */ device_change_handler() 1002 /* unmute speaker, mute others */ device_change_handler() 1286 if (tumbler_find_device("amp-mute", tumbler_init() 1287 "platform-do-amp-mute", tumbler_init() 1289 tumbler_find_device("amp-mute", tumbler_init() 1290 "platform-do-amp-mute", tumbler_init() 1292 if (tumbler_find_device("headphone-mute", tumbler_init() 1293 "platform-do-headphone-mute", tumbler_init() 1295 tumbler_find_device("headphone-mute", tumbler_init() 1296 "platform-do-headphone-mute", tumbler_init() 1298 if (tumbler_find_device("line-output-mute", tumbler_init() 1299 "platform-do-lineout-mute", tumbler_init() 1301 tumbler_find_device("line-output-mute", tumbler_init() 1302 "platform-do-lineout-mute", tumbler_init()
|
H A D | snd_ps3.c | 235 uint32_t ch0_kick_event = 0; /* initialize to mute gcc */ snd_ps3_program_dma() 377 * audio mute on/off 379 * 1 mute 513 /* check CS non-audio bit and mute accordingly */ snd_ps3_set_avsetting() 515 ps3av_audio_mute_analog(1); /* mute if non-audio */ snd_ps3_set_avsetting() 539 /* mute off */ snd_ps3_pcm_open() 549 /* mute on */ snd_ps3_pcm_close()
|
H A D | awacs.c | 209 * mute master/ogain for AWACS: mono 291 * vol = 0 - 31 (attenuation), 32 = mute bit, stereo 798 * auto-mute stuffs 806 static int toggle_amp_mute(struct awacs_amp *amp, int index, int mute) toggle_amp_mute() argument 811 if (mute) { toggle_amp_mute() 928 /* mute and zero vol */ snd_pmac_awacs_init() 1037 * volumes and mute switches, so we use them instead of snd_pmac_awacs_init()
|
/linux-4.1.27/sound/soc/omap/ |
H A D | ams-delta.c | 257 * to interfere with our digital mute function that shares the same hardware. */ 273 * only if digital mute still off */ cx81801_timeout() 418 /* Digital mute implemented using modem/CPU multiplexer. 422 static int ams_delta_digital_mute(struct snd_soc_dai *dai, int mute) ams_delta_digital_mute() argument 426 if (ams_delta_muted == mute) ams_delta_digital_mute() 430 ams_delta_muted = mute; ams_delta_digital_mute() 436 mute ? AMS_DELTA_LATCH2_MODEM_CODEC : 0); ams_delta_digital_mute() 472 /* Set up digital mute if not provided by the codec */ ams_delta_cx20442_init()
|
/linux-4.1.27/sound/drivers/vx/ |
H A D | vx_mixer.c | 101 * @left: left output level, 0 = mute 121 * vx_toggle_dac_mute - mute/unmute DAC 122 * @mute: 0 = unmute, 1 = mute 128 void vx_toggle_dac_mute(struct vx_core *chip, int mute) vx_toggle_dac_mute() argument 133 chip->ops->akm_write(chip, XX_CODEC_DAC_CONTROL_REGISTER, mute); /* XXX */ vx_toggle_dac_mute() 136 mute ? DAC_ATTEN_MAX : DAC_ATTEN_MIN); vx_toggle_dac_mute() 154 /* DAC control register (change level when zero crossing + mute) */ vx_reset_codec() 165 /* mute analog output */ vx_reset_codec() 204 * audio level, mute, monitoring 211 unsigned int mute; member in struct:vx_audio_level 241 if (info->mute) vx_adjust_audio_level() 273 info.mute = (rmh.Stat[i] & AUDIO_IO_HAS_MUTE_LEVEL) ? 1 : 0; 280 * set the monitoring level and mute state of the given audio 299 * set the mute status of the given audio 307 info.mute = !active; vx_set_audio_switch() 313 * set the mute status of the given audio
|
H A D | vx_uer.c | 192 /* we mute DAC to prevent clicks */ vx_change_clock_source()
|
/linux-4.1.27/drivers/media/rc/keymaps/ |
H A D | rc-apac-viewcomp.c | 44 { 0x13, KEY_MUTE }, /* mute/unmute */
|
H A D | rc-asus-pc39.c | 65 { 0x0802, KEY_MUTE }, /* mute */
|
H A D | rc-asus-ps3-100.c | 56 { 0x0802, KEY_MUTE }, /* mute */
|
H A D | rc-avermedia-dvbt.c | 41 { 0x0a, KEY_MUTE }, /* 'mute' */
|
H A D | rc-dm1105-nec.c | 22 { 0x0c, KEY_MUTE}, /* mute */
|
H A D | rc-genius-tvgo-a11mce.c | 35 { 0x06, KEY_MUTE }, /* mute */
|
H A D | rc-pixelview-mk12.c | 39 { 0x866b18, KEY_MUTE }, /* mute */
|
H A D | rc-pixelview.c | 57 { 0x18, KEY_MUTE }, /* mute/unmute */
|
H A D | rc-proteus-2309.c | 34 { 0x1b, KEY_ENTER }, /* mute */
|
H A D | rc-tbs-nec.c | 18 { 0x94, KEY_MUTE}, /* mute */
|
H A D | rc-anysee.c | 62 { 0x0842, KEY_MUTE }, /* symbol mute */
|
H A D | rc-eztv.c | 26 { 0x1b, KEY_MUTE }, /* mute */
|
/linux-4.1.27/sound/oss/ |
H A D | ad1848_mixer.h | 64 unsigned int mutereg:6; /* register number for mute bit */ 65 unsigned int mutepol:1; /* mute polarity: 0=normal, 1=reversed */ 66 unsigned int mutepos:4; /* position of mute bit in register */ 159 because the mute bit is in different positions for the two
|
H A D | sb_mixer.c | 321 sb_setmixer(devc, 0x0b, 96 - (96 * left / 100)); /* 96=mute, 0=max */ smw_mixer_set() 347 sb_setmixer(devc, reg, (24 - (24 * left / 100)) | 0x20); /* 24=mute, 0=max */ smw_mixer_set()
|
H A D | pas2_mixer.c | 252 if (cmd == SOUND_MIXER_PRIVATE3) { /* Set mute bit */ pas_mixer_ioctl()
|
H A D | pas2_pcm.c | 84 * mute flag. (Olav Wölfelschneider) pcm_set_speed()
|
/linux-4.1.27/sound/pci/ |
H A D | ad1889.h | 25 #define AD_DS_WADA_RWAM 0x0080 /* right wave mute */ 27 #define AD_DS_WADA_LWAM 0x8000 /* left wave mute */ 31 #define AD_DS_SYDA_RSYM 0x0080 /* right synthesis mute */ 33 #define AD_DS_SYDA_LSYM 0x8000 /* left synthesis mute */
|
/linux-4.1.27/sound/pci/oxygen/ |
H A D | xonar_cs43xx.c | 246 u8 mute; update_cs4362a_volumes() local 248 mute = chip->dac_mute ? CS4362A_MUTE : 0; update_cs4362a_volumes() 251 (127 - chip->dac_volume[2 + i]) | mute); update_cs4362a_volumes() 351 unsigned int reg, unsigned int mute) xonar_d1_line_mic_ac97_switch() 356 mute ? GPIO_D1_INPUT_ROUTE : 0, xonar_d1_line_mic_ac97_switch() 350 xonar_d1_line_mic_ac97_switch(struct oxygen *chip, unsigned int reg, unsigned int mute) xonar_d1_line_mic_ac97_switch() argument
|
H A D | se6x.c | 71 /* no DAC volume/mute */ se6x_control_filter()
|
H A D | xonar_dg_mixer.c | 38 /* mute FP (aux output) amplifier, switch rear jack to CS4245 */ output_select_apply() 49 * 2.0, 4.0, 5.1: switch to CS4361, mute FP amp., output_select_apply()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | cx23885-video.c | 885 struct v4l2_ctrl *mute; cx23885_set_freq() local 895 /* I need to mute audio here */ cx23885_set_freq() 896 mute = v4l2_ctrl_find(&dev->ctrl_handler, V4L2_CID_AUDIO_MUTE); cx23885_set_freq() 897 if (mute) { cx23885_set_freq() 898 old_mute_val = v4l2_ctrl_g_ctrl(mute); cx23885_set_freq() 900 v4l2_ctrl_s_ctrl(mute, 1); cx23885_set_freq() 910 v4l2_ctrl_s_ctrl(mute, old_mute_val); cx23885_set_freq() 918 struct v4l2_ctrl *mute; cx23885_set_freq_via_ops() local 932 /* I need to mute audio here */ cx23885_set_freq_via_ops() 933 mute = v4l2_ctrl_find(&dev->ctrl_handler, V4L2_CID_AUDIO_MUTE); cx23885_set_freq_via_ops() 934 if (mute) { cx23885_set_freq_via_ops() 935 old_mute_val = v4l2_ctrl_g_ctrl(mute); cx23885_set_freq_via_ops() 937 v4l2_ctrl_s_ctrl(mute, 1); cx23885_set_freq_via_ops() 968 v4l2_ctrl_s_ctrl(mute, old_mute_val); cx23885_set_freq_via_ops()
|
/linux-4.1.27/sound/soc/intel/atom/ |
H A D | sst-atom-controls.c | 389 * @mute: flag that indicates whether this was called from the 396 * The user-set gain value is sent only if the user-controllable 'mute' control 397 * is OFF (indicated by gv->mute). Otherwise, the mute value (MIN value) is 401 u16 task_id, u16 loc_id, u16 module_id, int mute) sst_send_gain_cmd() 411 if (mute || gv->mute) { sst_send_gain_cmd() 446 ucontrol->value.integer.value[0] = gv->mute ? 1 : 0; sst_gain_get() 482 gv->mute = !!ucontrol->value.integer.value[0]; sst_gain_put() 483 dev_dbg(cmpnt->dev, "%s: Mute %d\n", mc->pname, gv->mute); sst_gain_put() 508 struct sst_data *drv, int mute); 589 struct sst_data *drv, int mute) sst_set_pipe_gain() 604 mc->pipe_id | mc->instance_id, mc->module_id, mute); sst_set_pipe_gain() 1102 * instance invoked, gain, mute and ramp duration, which use the same gain 1168 int sst_send_pipe_gains(struct snd_soc_dai *dai, int stream, int mute) sst_send_pipe_gains() argument 1191 sst_set_pipe_gain(ids, drv, mute); sst_send_pipe_gains() 1210 sst_set_pipe_gain(ids, drv, mute); sst_send_pipe_gains() 1394 sst_gains[i].mute = SST_GAIN_MUTE_DEFAULT; sst_dsp_init_v2_dpcm() 400 sst_send_gain_cmd(struct sst_data *drv, struct sst_gain_value *gv, u16 task_id, u16 loc_id, u16 module_id, int mute) sst_send_gain_cmd() argument 588 sst_set_pipe_gain(struct sst_ids *ids, struct sst_data *drv, int mute) sst_set_pipe_gain() argument
|
H A D | sst-mfld-platform.h | 157 int sst_send_pipe_gains(struct snd_soc_dai *dai, int stream, int mute);
|
/linux-4.1.27/drivers/media/radio/si4713/ |
H A D | si4713.h | 204 /* This is one big cluster since the mute control 208 struct v4l2_ctrl *mute; member in struct:si4713_device::__anon5705
|
H A D | si4713.c | 101 /* mute definition */ 809 static int si4713_set_mute(struct si4713_device *sdev, u16 mute) si4713_set_mute() argument 813 mute = set_mute(mute); si4713_set_mute() 817 SI4713_TX_LINE_INPUT_MUTE, mute); si4713_set_mute() 1496 sdev->mute = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, si4713_probe() 1586 v4l2_ctrl_cluster(29, &sdev->mute); si4713_probe()
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-video-v4l.c | 49 /* In radio mode, we mute the video, but point at one
|
/linux-4.1.27/arch/arm/mach-sa1100/include/mach/ |
H A D | h3xxx.h | 77 #define H3600_EGPIO_QMUTE (H3XXX_EGPIO_BASE + 12) /* mute control for onboard UDA1341. active high. */
|
/linux-4.1.27/sound/aoa/core/ |
H A D | gpio-feature.c | 232 get_gpio("headphone-mute", NULL, ftr_gpio_init() 235 get_gpio("amp-mute", NULL, ftr_gpio_init() 238 get_gpio("lineout-mute", NULL, ftr_gpio_init() 244 if (get_gpio("master-mute", NULL, ftr_gpio_init()
|
H A D | gpio-pmf.c | 21 rc = pmf_call_function(rt->node, #name "-mute", &args); \
|
/linux-4.1.27/sound/soc/pxa/ |
H A D | spitz.c | 68 /* enable mic jack and bias, mute hp */ spitz_ext_control() 77 /* enable line jack, disable mic bias and mute hp */ spitz_ext_control() 86 /* enable and unmute headset jack enable mic bias, mute L hp */ spitz_ext_control()
|
H A D | corgi.c | 64 /* reset = mute headphone */ corgi_ext_control() 111 /* we need to unmute the HP at shutdown as the mute burns power on corgi */ corgi_shutdown()
|
H A D | poodle.c | 84 /* we need to unmute the HP at shutdown as the mute burns power on poodle */ poodle_shutdown() 273 /* should we mute HP at startup - burning power ?*/ poodle_probe()
|
/linux-4.1.27/sound/sparc/ |
H A D | cs4231.c | 561 static void snd_cs4231_calibrate_mute(struct snd_cs4231 *chip, int mute) snd_cs4231_calibrate_mute() argument 565 mute = mute ? 1 : 0; snd_cs4231_calibrate_mute() 567 if (chip->calibrate_mute == mute) { snd_cs4231_calibrate_mute() 571 if (!mute) { snd_cs4231_calibrate_mute() 580 mute ? 0x80 : chip->image[CS4231_AUX1_LEFT_INPUT]); snd_cs4231_calibrate_mute() 582 mute ? 0x80 : chip->image[CS4231_AUX1_RIGHT_INPUT]); snd_cs4231_calibrate_mute() 584 mute ? 0x80 : chip->image[CS4231_AUX2_LEFT_INPUT]); snd_cs4231_calibrate_mute() 586 mute ? 0x80 : chip->image[CS4231_AUX2_RIGHT_INPUT]); snd_cs4231_calibrate_mute() 588 mute ? 0x80 : chip->image[CS4231_LEFT_OUTPUT]); snd_cs4231_calibrate_mute() 590 mute ? 0x80 : chip->image[CS4231_RIGHT_OUTPUT]); snd_cs4231_calibrate_mute() 592 mute ? 0x80 : chip->image[CS4231_LEFT_LINE_IN]); snd_cs4231_calibrate_mute() 594 mute ? 0x80 : chip->image[CS4231_RIGHT_LINE_IN]); snd_cs4231_calibrate_mute() 596 mute ? 0xc0 : chip->image[CS4231_MONO_CTRL]); snd_cs4231_calibrate_mute() 597 chip->calibrate_mute = mute; snd_cs4231_calibrate_mute()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-av-audio.c | 389 static void set_mute(struct cx18 *cx, int mute) set_mute() argument 395 /* Must turn off microcontroller in order to mute sound. set_mute() 398 * changes to the mute register. */ set_mute() 400 if (mute) { set_mute() 412 cx18_av_and_or(cx, 0x8d3, ~0x2, mute ? 0x02 : 0x00); set_mute()
|
H A D | cx18-alsa-mixer.c | 149 /* FIXME - add mute switch and balance, bass, treble sliders:
|
H A D | cx23418.h | 208 /* Description: Set video mute 213 bit0: 1:mute, 0: unmute 217 /* Description: Set audio mute 219 IN[1] - mute/unmute
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
H A D | tm6000-core.c | 719 static void tm6010_set_mute_sif(struct tm6000_core *dev, u8 mute) tm6010_set_mute_sif() argument 723 if (mute) tm6010_set_mute_sif() 729 static void tm6010_set_mute_adc(struct tm6000_core *dev, u8 mute) tm6010_set_mute_adc() argument 733 if (mute) tm6010_set_mute_adc() 749 int tm6000_tvaudio_set_mute(struct tm6000_core *dev, u8 mute) tm6000_tvaudio_set_mute() argument 762 tm6010_set_mute_sif(dev, mute); tm6000_tvaudio_set_mute() 772 tm6010_set_mute_adc(dev, mute); tm6000_tvaudio_set_mute()
|
/linux-4.1.27/sound/isa/wss/ |
H A D | wss_lib.c | 565 static void snd_wss_calibrate_mute(struct snd_wss *chip, int mute) snd_wss_calibrate_mute() argument 569 mute = mute ? 0x80 : 0; snd_wss_calibrate_mute() 571 if (chip->calibrate_mute == mute) { snd_wss_calibrate_mute() 575 if (!mute) { snd_wss_calibrate_mute() 592 mute | chip->image[CS4231_AUX1_LEFT_INPUT]); snd_wss_calibrate_mute() 594 mute | chip->image[CS4231_AUX1_RIGHT_INPUT]); snd_wss_calibrate_mute() 596 mute | chip->image[CS4231_AUX2_LEFT_INPUT]); snd_wss_calibrate_mute() 598 mute | chip->image[CS4231_AUX2_RIGHT_INPUT]); snd_wss_calibrate_mute() 600 mute | chip->image[CS4231_LEFT_OUTPUT]); snd_wss_calibrate_mute() 602 mute | chip->image[CS4231_RIGHT_OUTPUT]); snd_wss_calibrate_mute() 605 mute | chip->image[CS4231_LEFT_LINE_IN]); snd_wss_calibrate_mute() 607 mute | chip->image[CS4231_RIGHT_LINE_IN]); snd_wss_calibrate_mute() 609 mute ? 0xc0 : chip->image[CS4231_MONO_CTRL]); snd_wss_calibrate_mute() 613 mute | chip->image[CS4231_LEFT_MIC_INPUT]); snd_wss_calibrate_mute() 615 mute | chip->image[CS4231_RIGHT_MIC_INPUT]); snd_wss_calibrate_mute() 617 mute | chip->image[CS4231_LINE_LEFT_OUTPUT]); snd_wss_calibrate_mute() 619 mute | chip->image[CS4231_LINE_RIGHT_OUTPUT]); snd_wss_calibrate_mute() 621 chip->calibrate_mute = mute; snd_wss_calibrate_mute()
|
/linux-4.1.27/sound/pci/lola/ |
H A D | lola_mixer.c | 73 /* zero as mute state */ lola_init_pin() 333 int lola_setup_all_analog_gains(struct lola *chip, int dir, bool mute) lola_setup_all_analog_gains() argument 342 unsigned int val = mute ? 0 : pin[idx].cur_gain_step; lola_setup_all_analog_gains() 352 /* mute analog output */ lola_save_mixer() 358 lola_setup_all_analog_gains(chip, PLAY, true); /* output mute */ lola_save_mixer() 727 /* raw value: 0 = -84dB, 336 = 0dB, 408=18dB, incremented 1 for mute */
|
/linux-4.1.27/sound/i2c/ |
H A D | tea6330t.c | 41 #define TEA6330T_MFN 0x20 /* mute control for selected channels */ 44 #define TEA6330T_GMU 0x80 /* mute control, general mute */
|
/linux-4.1.27/sound/pci/pcxhr/ |
H A D | pcxhr_hwdep.c | 139 /* mute outputs */ pcxhr_reset_board() 145 /* mute inputs */ pcxhr_reset_board() 149 /* stereo cards mute with reset of dsp */ pcxhr_reset_board()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_audio.h | 63 void (*set_mute)(struct drm_encoder *encoder, u32 offset, bool mute);
|
H A D | dce3_1_afmt.c | 223 void dce3_2_set_mute(struct drm_encoder *encoder, u32 offset, bool mute) dce3_2_set_mute() argument 228 if (mute) dce3_2_set_mute()
|
H A D | radeon_audio.c | 95 void r600_set_mute(struct drm_encoder *encoder, u32 offset, bool mute); 96 void dce3_2_set_mute(struct drm_encoder *encoder, u32 offset, bool mute); 97 void dce4_set_mute(struct drm_encoder *encoder, u32 offset, bool mute); 681 static void radeon_audio_set_mute(struct drm_encoder *encoder, bool mute) radeon_audio_set_mute() argument 690 radeon_encoder->audio->set_mute(encoder, dig->afmt->offset, mute); radeon_audio_set_mute()
|
H A D | evergreen_hdmi.c | 389 void dce4_set_mute(struct drm_encoder *encoder, u32 offset, bool mute) dce4_set_mute() argument 394 if (mute) dce4_set_mute()
|
H A D | r600_hdmi.c | 393 void r600_set_mute(struct drm_encoder *encoder, u32 offset, bool mute) r600_set_mute() argument 398 if (mute) r600_set_mute()
|
/linux-4.1.27/sound/pcmcia/vx/ |
H A D | vxp_mixer.c | 126 /* mute input levels */ vxp_add_mic_controls()
|
/linux-4.1.27/drivers/media/radio/wl128x/ |
H A D | fmdrv.h | 153 u8 mute_mode; /* Current mute mode */ 155 /* RF dependent soft mute mode */
|
H A D | fmdrv_rx.c | 402 /* Reads current mute mode (Mute Off/On/Attenuate)*/ fm_rx_get_mute_mode() 451 /* Configures mute mode (Mute Off/On/Attenuate) */ fm_rx_set_mute_mode() 472 /* Gets RF dependent soft mute mode enable/disable status */ fm_rx_get_rfdepend_softmute() 488 /* Sets RF dependent soft mute mode */ fm_rx_set_rfdepend_softmute() 499 fmerr("Invalid RF dependent soft mute\n"); fm_rx_set_rfdepend_softmute()
|
/linux-4.1.27/drivers/media/tuners/ |
H A D | tea5761.c | 69 #define TEA5761_TNCTRL_SMUTE 0x02 /* 1= Soft mute */ 74 #define TEA5761_TNCTRL_MU 0x80 /* 1=Hard mute */
|
H A D | tda9887.c | 345 tuner_info(" B1 auto mute fm : %s\n", dump_write_message() 351 tuner_info(" B5 force mute audio: %s\n", dump_write_message()
|
/linux-4.1.27/drivers/crypto/amcc/ |
H A D | crypto4xx_alg.c | 57 u32 sn_mask, u32 mute, u32 cp_pad, set_dynamic_sa_command_1() 67 sa->sa_command_1.bf.mutable_bit_proc = mute; set_dynamic_sa_command_1() 55 set_dynamic_sa_command_1(struct dynamic_sa_ctl *sa, u32 cm, u32 hmac_mc, u32 cfb, u32 esn, u32 sn_mask, u32 mute, u32 cp_pad, u32 cp_pay, u32 cp_hdr) set_dynamic_sa_command_1() argument
|
/linux-4.1.27/sound/pci/emu10k1/ |
H A D | p17v.h | 80 #define ADC_MUTE_MASK 0x000000c0 //Mask for ADC mute 81 #define ADC_MUTE 0x000000c0 //Value to mute ADC
|
/linux-4.1.27/sound/pci/ca0106/ |
H A D | ca0106.h | 51 * Add support for mute control on SB Live 24bit (cards w/ SPI DAC) 429 /* Channel_id 1: 0xffffffff(mute) 0x30303030(max) controls CAPTURE feedback into PLAYBACK. */ 532 #define ADC_MUTE_MASK 0x000000c0 //Mask for ADC mute 533 #define ADC_MUTE 0x000000c0 //Value to mute ADC 573 #define SPI_DA_BIT_infdB 0x00 /* inf dB attenuation (mute) */ 576 #define SPI_PL_BIT_L_M (0<<5) /* left channel = mute */ 580 #define SPI_PL_BIT_R_M (0<<7) /* right channel = mute */
|
/linux-4.1.27/sound/firewire/ |
H A D | isight.c | 519 __be32 mute; isight_mute_get() local 522 err = reg_read(isight, REG_MUTE, &mute); isight_mute_get() 526 value->value.integer.value[0] = !mute; isight_mute_get()
|
/linux-4.1.27/sound/soc/intel/haswell/ |
H A D | sst-haswell-ipc.c | 226 u32 mute[SST_HSW_NO_CHANNELS]; member in struct:sst_hsw_stream 298 u32 mute[SST_HSW_NO_CHANNELS]; member in struct:sst_hsw 879 if (hsw->mute[0] && hsw->mute[1]) { sst_hsw_stream_set_volume() 882 } else if (hsw->mute[0]) sst_hsw_stream_set_volume() 884 else if (hsw->mute[1]) sst_hsw_stream_set_volume() 890 if (hsw->mute[channel]) { sst_hsw_stream_set_volume() 935 if (hsw->mute[0] && hsw->mute[1]) { sst_hsw_mixer_set_volume() 938 } else if (hsw->mute[0]) sst_hsw_mixer_set_volume() 940 else if (hsw->mute[1]) sst_hsw_mixer_set_volume() 946 if (hsw->mute[channel]) { sst_hsw_mixer_set_volume()
|
/linux-4.1.27/drivers/media/i2c/cx25840/ |
H A D | cx25840-core.h | 59 struct v4l2_ctrl *mute; member in struct:cx25840_state::__anon5577
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-mixer.c | 149 /* FIXME - add mute switch and balance, bass, treble sliders:
|
H A D | ivtv-cards.h | 231 u16 mute; /* set this value to mute, 0 to unmute */ member in struct:ivtv_gpio_audio_mute
|
H A D | ivtv-gpio.c | 82 * 0 1 1 TV Tuner Audio: mute 269 data = ctrl->val ? itv->card->gpio_audio_mute.mute : 0; subdev_s_ctrl()
|
H A D | ivtv-cards.c | 257 .gpio_audio_mute = { .mask = 0x2000, .mute = 0x2000 }, 300 .gpio_audio_mute = { .mask = 0x0001, .mute = 0x0001 }, 342 .gpio_audio_mute = { .mask = 0x0001, .mute = 0x0001 }, 493 .gpio_audio_mute = { .mask = 0x6000, .mute = 0x6000 }, 859 .gpio_audio_mute = { .mask = 0x6000, .mute = 0x6000 }, 1246 .mute = 0x0000 }, /* 0x200? Disable for now. */
|
/linux-4.1.27/sound/isa/ |
H A D | cmi8330.c | 141 0x40, /* 17 - mute mux (Mode2) */ 143 0x0, /* 17 - mute mux */ 150 0x0, /* 23 - mute/rec mux */ 293 /* mute and zero volume channels */ cmi8330_add_sb_mixers()
|
/linux-4.1.27/sound/pci/trident/ |
H A D | trident_main.c | 1001 evoice->Vol = 0x3ff; /* mute */ snd_trident_playback_prepare() 1002 evoice->RVol = evoice->CVol = 0x7f; /* mute */ snd_trident_playback_prepare() 1003 evoice->Pan = 0x7f; /* mute */ snd_trident_playback_prepare() 1117 voice->Pan = 0x7f; /* mute */ snd_trident_capture_prepare() 1118 voice->Vol = 0x3ff; /* mute */ snd_trident_capture_prepare() 1236 evoice->Vol = 0x3ff; /* mute */ snd_trident_si7018_capture_prepare() 1237 evoice->RVol = evoice->CVol = 0x7f; /* mute */ snd_trident_si7018_capture_prepare() 1238 evoice->Pan = 0x7f; /* mute */ snd_trident_si7018_capture_prepare() 1289 voice->Pan = 0x7f; /* mute */ snd_trident_foldback_prepare() 1290 voice->Vol = 0x3ff; /* mute */ snd_trident_foldback_prepare() 1313 evoice->Vol = 0x3ff; /* mute */ snd_trident_foldback_prepare() 1314 evoice->RVol = evoice->CVol = 0x7f; /* mute */ snd_trident_foldback_prepare() 1315 evoice->Pan = 0x7f; /* mute */ snd_trident_foldback_prepare() 1507 evoice->Vol = 0x3ff; /* mute */ snd_trident_spdif_prepare() 1508 evoice->RVol = evoice->CVol = 0x7f; /* mute */ snd_trident_spdif_prepare() 1509 evoice->Pan = 0x7f; /* mute */ snd_trident_spdif_prepare()
|
/linux-4.1.27/include/linux/mfd/arizona/ |
H A D | pdata.h | 165 /** PDM speaker mute setting */
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | mach-imx27_visstrim_m10.c | 198 .label = "amp-mute-sdl", 203 .label = "amp-mute-sdr",
|
/linux-4.1.27/sound/pci/mixart/ |
H A D | mixart_core.h | 424 u32 mute; member in struct:mixart_get_out_audio_level 450 u32 mute; member in struct:mixart_set_out_audio_level
|
/linux-4.1.27/sound/usb/ |
H A D | mixer_maps.c | 100 /* 28: FU speaker (mute) */ 226 { 3, "Master" }, /* FU: master volume - left / right / mute */
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 166 TP_HKEY_EV_VOL_MUTE = 0x1017, /* Mixer output mute */ 1982 u16 mute:1; member in struct:tp_nvram_state 2340 n->mute = !!(d & TP_NVRAM_MASK_MUTE); hotkey_read_nvram() 2408 * - Pressing MUTE issues mute hotkey message, even when already mute hotkey_compare_and_issue_event() 2421 if (newn->mute) { hotkey_compare_and_issue_event() 2423 if (!oldn->mute || hotkey_compare_and_issue_event() 2426 /* recently muted, or repeated mute keypress, or hotkey_compare_and_issue_event() 2427 * multiple presses ending in mute */ hotkey_compare_and_issue_event() 2434 if (oldn->mute) { hotkey_compare_and_issue_event() 3230 * The mic mute button only sends 0x1a. It does not hotkey_init() 3231 * automatically mute the mic or change the mute light. hotkey_init() 3233 KEY_MICMUTE, /* 0x1a: Mic mute (since ?400 or so) */ hotkey_init() 6690 * mute button to get confused. The hardware MUTE gate is also 6691 * unnecessary, since user code can handle the mute button without 6694 * To avoid confusing userspace, we simply disable all EC-based mute 6745 TPACPI_VOL_CAP_VOLMUTE, /* Output vol and mute */ 6746 TPACPI_VOL_CAP_MUTEONLY, /* Output mute only */ 6860 static int __volume_set_mute_ec(const bool mute) __volume_set_mute_ec() argument 6872 n = (mute) ? s | TP_EC_AUDIO_MUTESW_MSK : __volume_set_mute_ec() 6886 static int volume_alsa_set_mute(const bool mute) volume_alsa_set_mute() argument 6889 (mute) ? "" : "un"); volume_alsa_set_mute() 6890 return __volume_set_mute_ec(mute); volume_alsa_set_mute() 6893 static int volume_set_mute(const bool mute) volume_set_mute() argument 6898 (mute) ? "" : "un"); volume_set_mute() 6900 rc = __volume_set_mute_ec(mute); volume_set_mute() 6959 * In software mute mode, the standard codec controls take volume_set_software_mute() 6970 pr_warn("Failed to unmute the HW mute switch\n"); volume_set_software_mute() 6981 pr_warn("Failed to restore mute mode\n"); volume_exit_software_mute() 7093 pr_warn("Failed to restore software mute\n"); volume_resume() 7173 pr_err("Failed to create ALSA mute control: %d\n", rc); volume_create_alsa_mixer() 7211 /* Whitelist mute-only on all Lenovo by default */ 7296 "mute is supported, volume control is %s\n", volume_init() 7337 seq_printf(m, "mute:\t\t%s\n", volume_read() 7341 seq_printf(m, "commands:\tunmute, mute\n"); volume_read() 7406 if (strlencmp(cmd, "mute") == 0) volume_write() 9308 "0=auto, 1=volume and mute, 2=mute only"); 9317 "Request full software mute control");
|
/linux-4.1.27/sound/pci/ac97/ |
H A D | ac97_codec.c | 1084 /* nothing seems to be here - mute flag is not set */ snd_ac97_try_volume_mix() 1185 * create mute switch(es) for normal stereo controls 1201 /* check whether both mute bits work */ snd_ac97_cmute_new_stereo() 1223 /* mute as default */ snd_ac97_cmute_new_stereo() 1294 * create a mute-switch and a volume for normal stereo/mono controls 1561 /* build PCM out path & mute control */ snd_ac97_mixer_build() 2323 /* some codecs have stereo mute bits */ snd_ac97_powerdown() 2757 snd_ac97_update_bits(ac97, 0x7a, 0x01, 0x01); /* Line-out auto mute */ tune_alc_jack() 2792 /* ac97 tune: EAPD controls mute LED bound with the master mute */ tune_mute_led() 2802 AC97_PD_EAPD, AC97_PD_EAPD /* mute LED on */ tune_mute_led() 2841 AC97_PD_EAPD, AC97_PD_EAPD /* mute LED on */ tune_hp_mute_led()
|
/linux-4.1.27/sound/pci/asihpi/ |
H A D | asihpi.c | 1566 u32 mute; snd_asihpi_volume_mute_get() local 1568 hpi_handle_error(hpi_volume_get_mute(h_control, &mute)); snd_asihpi_volume_mute_get() 1569 ucontrol->value.integer.value[0] = mute ? 0 : 1; snd_asihpi_volume_mute_get() 1580 ALSA Switch element has opposite sense to HPI mute: on==unmuted, off=muted snd_asihpi_volume_mute_put() 1582 int mute = ucontrol->value.integer.value[0] ? 0 : HPI_BITMASK_ALL_CHANNELS; snd_asihpi_volume_mute_put() local 1583 hpi_handle_error(hpi_volume_set_mute(h_control, mute)); snd_asihpi_volume_mute_put() 1593 u32 mute; snd_asihpi_volume_add() local 1607 if (hpi_volume_get_mute(hpi_ctl->h_control, &mute) == 0) { snd_asihpi_volume_add()
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | wm9705.c | 143 * mute VIDEO and AUX as they share X and Y touchscreen wm9705_phy_init()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
H A D | bttv-audio-hook.c | 266 * will mute this cards.
|
H A D | bttv-driver.c | 153 MODULE_PARM_DESC(automute, "mute audio on bad/missing video signal, default is 1 (yes)"); 998 "audio: intern", "audio: mute" 1002 audio_mux_gpio(struct bttv *btv, int input, int mute) audio_mux_gpio() argument 1011 mute_gpio = mute || (btv->opt_automute && (!signal || !btv->users) audio_mux_gpio() 1034 audio_mute(struct bttv *btv, int mute) audio_mute() argument 1038 audio_mux_gpio(btv, btv->audio_input, mute); audio_mute() 1043 v4l2_ctrl_s_ctrl(ctrl, mute); audio_mute() 1048 v4l2_ctrl_s_ctrl(ctrl, mute); audio_mute() 1053 v4l2_ctrl_s_ctrl(ctrl, mute); audio_mute() 1061 audio_mux_gpio(btv, input, btv->mute); audio_input() 1312 btv->mute = c->val; bttv_s_ctrl() 3056 audio_mute(btv, btv->mute); bttv_open() 3117 audio_mute(btv, btv->mute); bttv_release() 3220 audio_mute(btv, btv->mute); radio_open() 3871 audio_mux_gpio(btv, btv->audio_input, btv->mute); bttv_irq() 4208 /* mute device */ bttv_probe()
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
H A D | em28xx-audio.c | 298 /* Sets volume, mute, etc */ snd_em28xx_capture_open() 299 dev->mute = 0; snd_em28xx_capture_open() 331 dev->mute = 1; snd_em28xx_pcm_close() 519 val |= rc & 0x8000; /* Preserve the mute flag */ em28xx_vol_put()
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | mac_psc.h | 117 * output. Possibly a mute flag.
|
/linux-4.1.27/sound/mips/ |
H A D | hal2.h | 162 #define H2I_C2_MUTE 0x400 /* mute */
|