Home
last modified time | relevance | path

Searched +full:spk +full:- +full:mute (Results 1 – 25 of 69) sorted by relevance

123

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Drockchip,rk3328-codec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/rockchip,rk3328-codec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Heiko Stuebner <heiko@sntech.de>
14 const: rockchip,rk3328-codec
21 - description: clock for audio codec
22 - description: clock for I2S master clock
24 clock-names:
26 - const: pclk
[all …]
Dnvidia,tegra-audio-wm8903.txt4 - compatible : "nvidia,tegra-audio-wm8903"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
19 * Int Spk
[all …]
Dwlf,arizona.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
20 '#sound-dai-cells':
28 signals. Valid values are 0 (Differential), 1 (Single-ended) and
35 $ref: /schemas/types.yaml#/definitions/uint32-array
43 wlf,out-mono:
47 (eg. First entry in the list corresponds to output 1). A non-zero
51 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/
Dnvidia,tegra-audio-wm8903.txt4 - compatible : "nvidia,tegra-audio-wm8903"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
19 * Int Spk
[all …]
Dwlf,arizona.txt12 - wlf,inmode : A list of INn_MODE register values, where n is the number
13 of input signals. Valid values are 0 (Differential), 1 (Single-ended) and
20 - wlf,out-mono : A list of boolean values indicating whether each output is
22 (eg. First entry in the list corresponds to output 1). A non-zero value
27 - wlf,dmic-ref : DMIC reference voltage source for each input, can be
29 (ARIZONA_DMIC_xxxx) are provided in <dt-bindings/mfd/arizona.txt>. If
33 - wlf,max-channels-clocked : The maximum number of channels to be clocked on
41 - wlf,spk-fmt : PDM speaker data format, must contain 2 cells (OUT5 and OUT6).
46 - wlf,spk-mute : PDM speaker mute setting, must contain 2 cells (OUT5 and OUT6).
51 - wlf,out-volume-limit : The volume limit value that should be applied to each
/kernel/linux/linux-5.10/sound/soc/pxa/
Dspitz.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * spitz.c -- SoC audio for Sharp SL-Cxx00 models Spitz, Borzoi and Akita
22 #include <asm/mach-types.h>
25 #include "pxa2xx-i2s.h"
35 /* audio clock in Hz - rounded from 12.235MHz */
47 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in spitz_ext_control()
49 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in spitz_ext_control()
63 /* enable mic jack and bias, mute hp */ in spitz_ext_control()
72 /* enable line jack, disable mic bias and mute hp */ in spitz_ext_control()
81 /* enable and unmute headset jack enable mic bias, mute L hp */ in spitz_ext_control()
[all …]
Dpoodle.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * poodle.c -- SoC audio for Poodle
22 #include <asm/mach-types.h>
28 #include "pxa2xx-i2s.h"
35 /* audio clock in Hz - rounded from 12.235MHz */
61 snd_soc_dapm_enable_pin(dapm, "Ext Spk"); in poodle_ext_control()
63 snd_soc_dapm_disable_pin(dapm, "Ext Spk"); in poodle_ext_control()
74 poodle_ext_control(&rtd->card->dapm); in poodle_startup()
79 /* we need to unmute the HP at shutdown as the mute burns power on poodle */
136 ucontrol->value.enumerated.item[0] = poodle_jack_func; in poodle_get_jack()
[all …]
Dcorgi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * corgi.c -- SoC audio for Corgi
23 #include <asm/mach-types.h>
28 #include "pxa2xx-i2s.h"
38 /* audio clock in Hz - rounded from 12.235MHz */
60 /* reset = mute headphone */ in corgi_ext_control()
87 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in corgi_ext_control()
89 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in corgi_ext_control()
102 corgi_ext_control(&rtd->card->dapm); in corgi_startup()
107 /* we need to unmute the HP at shutdown as the mute burns power on corgi */
[all …]
/kernel/linux/linux-4.19/sound/soc/pxa/
Dspitz.c2 * spitz.c -- SoC audio for Sharp SL-Cxx00 models Spitz, Borzoi and Akita
27 #include <asm/mach-types.h>
30 #include "pxa2xx-i2s.h"
40 /* audio clock in Hz - rounded from 12.235MHz */
52 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in spitz_ext_control()
54 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in spitz_ext_control()
68 /* enable mic jack and bias, mute hp */ in spitz_ext_control()
77 /* enable line jack, disable mic bias and mute hp */ in spitz_ext_control()
86 /* enable and unmute headset jack enable mic bias, mute L hp */ in spitz_ext_control()
113 struct snd_soc_pcm_runtime *rtd = substream->private_data; in spitz_startup()
[all …]
Dpoodle.c2 * poodle.c -- SoC audio for Poodle
27 #include <asm/mach-types.h>
33 #include "pxa2xx-i2s.h"
40 /* audio clock in Hz - rounded from 12.235MHz */
66 snd_soc_dapm_enable_pin(dapm, "Ext Spk"); in poodle_ext_control()
68 snd_soc_dapm_disable_pin(dapm, "Ext Spk"); in poodle_ext_control()
76 struct snd_soc_pcm_runtime *rtd = substream->private_data; in poodle_startup()
79 poodle_ext_control(&rtd->card->dapm); in poodle_startup()
84 /* we need to unmute the HP at shutdown as the mute burns power on poodle */
97 struct snd_soc_pcm_runtime *rtd = substream->private_data; in poodle_hw_params()
[all …]
Dcorgi.c2 * corgi.c -- SoC audio for Corgi
27 #include <asm/mach-types.h>
32 #include "pxa2xx-i2s.h"
42 /* audio clock in Hz - rounded from 12.235MHz */
64 /* reset = mute headphone */ in corgi_ext_control()
91 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in corgi_ext_control()
93 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in corgi_ext_control()
103 struct snd_soc_pcm_runtime *rtd = substream->private_data; in corgi_startup()
106 corgi_ext_control(&rtd->card->dapm); in corgi_startup()
111 /* we need to unmute the HP at shutdown as the mute burns power on corgi */
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dcs42l73.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 /* I2C Address: 1001010[R/W] - 10010100 = 0x94(Write); 10010101 = 0x95(Read) */
57 #define CS42L73_LIMRRATESPK 0x2A /* Lmtr Ctl,Release Rate Spk. [A]. */
101 #define CS42L73_SPKMIPMA 0x56 /* SPK Mono Mixer: In. Path */
102 #define CS42L73_SPKMXSPA 0x57 /* SPK Mono Mixer: XSP Mono/L/R Att. */
103 #define CS42L73_SPKMASPA 0x58 /* SPK Mono Mixer: ASP Mono/L/R Att. */
104 #define CS42L73_SPKMVSPMA 0x59 /* SPK Mono Mixer: VSP Mono Atten. */
193 /* HP A/B Analog Mute */
195 /* LO A/B Analog Mute */
197 /* Digital Mute */
Dmax98088.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98088.c -- MAX98088 ALSA SoC Audio driver
90 { 0x2b, 0x00 }, /* 2B left SPK mixer */
91 { 0x2c, 0x00 }, /* 2C right SPK mixer */
92 { 0x2d, 0x00 }, /* 2D SPK control */
109 { 0x3d, 0x00 }, /* 3D left SPK volume */
110 { 0x3e, 0x00 }, /* 3E right SPK volume */
337 "Off", "100Hz", "400Hz", "600Hz", "800Hz", "1000Hz", "200-400Hz",
338 "400-600Hz", "400-800Hz",
385 unsigned int sel = ucontrol->value.integer.value[0]; in max98088_mic1pre_set()
[all …]
Dak4535.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ak4535.c -- AK4535 ALSA Soc Audio driver
65 static const char *ak4535_mono_gain[] = {"+6dB", "-17dB"};
66 static const char *ak4535_mono_out[] = {"(L + R)/2", "Hi-Z"};
174 SND_SOC_DAPM_PGA("Spk Amp", AK4535_PM2, 3, 0, NULL, 0),
232 {"Speaker Enable", "Switch", "Spk Amp"},
233 {"Spk Amp", NULL, "MIN"},
251 struct snd_soc_component *component = codec_dai->component; in ak4535_set_dai_sysclk()
254 ak4535->sysclk = freq; in ak4535_set_dai_sysclk()
262 struct snd_soc_component *component = dai->component; in ak4535_hw_params()
[all …]
Drt700.c1 // SPDX-License-Identifier: GPL-2.0
3 // rt700.c -- rt700 ALSA SoC audio driver
23 #include <sound/soc-dapm.h>
65 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE1, &val80); in rt700_button_detect()
68 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE2, &val81); in rt700_button_detect()
111 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect()
121 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect()
127 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_headset_detect()
136 rt700->jack_type = SND_JACK_HEADPHONE; in rt700_headset_detect()
139 rt700->jack_type = SND_JACK_HEADSET; in rt700_headset_detect()
[all …]
Drk3328_codec.c1 // SPDX-License-Identifier: GPL-2.0
23 * 0: -39dB
35 struct gpio_desc *mute; member
59 regmap_write(rk3328->regmap, CODEC_RESET, 0x00); in rk3328_codec_reset()
61 regmap_write(rk3328->regmap, CODEC_RESET, 0x03); in rk3328_codec_reset()
69 snd_soc_component_get_drvdata(dai->component); in rk3328_set_dai_fmt()
80 return -EINVAL; in rk3328_set_dai_fmt()
83 regmap_update_bits(rk3328->regmap, DAC_INIT_CTRL1, in rk3328_set_dai_fmt()
101 return -EINVAL; in rk3328_set_dai_fmt()
104 regmap_update_bits(rk3328->regmap, DAC_INIT_CTRL2, in rk3328_set_dai_fmt()
[all …]
Drt5631.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5631.c -- RT5631 ALSA Soc Audio driver
22 #include <sound/soc-dapm.h>
68 * rt5631_write_index - write index register of 2nd layer
78 * rt5631_read_index - read index register of 2nd layer
169 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
170 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -95625, 375, 0);
171 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
189 ucontrol->value.integer.value[0] = rt5631->dmic_used_flag; in rt5631_dmic_get()
200 rt5631->dmic_used_flag = ucontrol->value.integer.value[0]; in rt5631_dmic_put()
[all …]
Dcs42l52.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs42l52.c -- CS42L52 ALSA SoC audio driver
28 #include <sound/soc-dapm.h>
130 static DECLARE_TLV_DB_SCALE(hl_tlv, -10200, 50, 0);
132 static DECLARE_TLV_DB_SCALE(hpd_tlv, -9600, 50, 1);
134 static DECLARE_TLV_DB_SCALE(ipd_tlv, -9600, 100, 0);
138 static DECLARE_TLV_DB_SCALE(pga_tlv, -600, 50, 0);
140 static DECLARE_TLV_DB_SCALE(mix_tlv, -50, 50, 0);
142 static DECLARE_TLV_DB_SCALE(beep_tlv, -56, 200, 0);
145 0, 2, TLV_DB_SCALE_ITEM(-3000, 600, 0),
[all …]
/kernel/linux/linux-4.19/sound/soc/codecs/
Dcs42l73.h21 * 02110-1301 USA
29 /* I2C Address: 1001010[R/W] - 10010100 = 0x94(Write); 10010101 = 0x95(Read) */
71 #define CS42L73_LIMRRATESPK 0x2A /* Lmtr Ctl,Release Rate Spk. [A]. */
115 #define CS42L73_SPKMIPMA 0x56 /* SPK Mono Mixer: In. Path */
116 #define CS42L73_SPKMXSPA 0x57 /* SPK Mono Mixer: XSP Mono/L/R Att. */
117 #define CS42L73_SPKMASPA 0x58 /* SPK Mono Mixer: ASP Mono/L/R Att. */
118 #define CS42L73_SPKMVSPMA 0x59 /* SPK Mono Mixer: VSP Mono Atten. */
207 /* HP A/B Analog Mute */
209 /* LO A/B Analog Mute */
211 /* Digital Mute */
Dmax98088.c2 * max98088.c -- MAX98088 ALSA SoC Audio driver
90 { 0x2b, 0x00 }, /* 2B left SPK mixer */
91 { 0x2c, 0x00 }, /* 2C right SPK mixer */
92 { 0x2d, 0x00 }, /* 2D SPK control */
109 { 0x3d, 0x00 }, /* 3D left SPK volume */
110 { 0x3e, 0x00 }, /* 3E right SPK volume */
337 "Off", "100Hz", "400Hz", "600Hz", "800Hz", "1000Hz", "200-400Hz",
338 "400-600Hz", "400-800Hz",
385 unsigned int sel = ucontrol->value.integer.value[0]; in max98088_mic1pre_set()
387 max98088->mic1pre = sel; in max98088_mic1pre_set()
[all …]
Dak4535.c2 * ak4535.c -- AK4535 ALSA Soc Audio driver
68 static const char *ak4535_mono_gain[] = {"+6dB", "-17dB"};
69 static const char *ak4535_mono_out[] = {"(L + R)/2", "Hi-Z"};
177 SND_SOC_DAPM_PGA("Spk Amp", AK4535_PM2, 3, 0, NULL, 0),
235 {"Speaker Enable", "Switch", "Spk Amp"},
236 {"Spk Amp", NULL, "MIN"},
254 struct snd_soc_component *component = codec_dai->component; in ak4535_set_dai_sysclk()
257 ak4535->sysclk = freq; in ak4535_set_dai_sysclk()
265 struct snd_soc_component *component = dai->component; in ak4535_hw_params()
271 fs = ak4535->sysclk / rate; in ak4535_hw_params()
[all …]
Drt5631.c2 * rt5631.c -- RT5631 ALSA Soc Audio driver
26 #include <sound/soc-dapm.h>
72 * rt5631_write_index - write index register of 2nd layer
82 * rt5631_read_index - read index register of 2nd layer
173 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
174 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -95625, 375, 0);
175 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
193 ucontrol->value.integer.value[0] = rt5631->dmic_used_flag; in rt5631_dmic_get()
204 rt5631->dmic_used_flag = ucontrol->value.integer.value[0]; in rt5631_dmic_put()
222 /* SPK Ratio Gain Control */
[all …]
Dcs42l52.c2 * cs42l52.c -- CS42L52 ALSA SoC audio driver
32 #include <sound/soc-dapm.h>
134 static DECLARE_TLV_DB_SCALE(hl_tlv, -10200, 50, 0);
136 static DECLARE_TLV_DB_SCALE(hpd_tlv, -9600, 50, 1);
138 static DECLARE_TLV_DB_SCALE(ipd_tlv, -9600, 100, 0);
142 static DECLARE_TLV_DB_SCALE(pga_tlv, -600, 50, 0);
144 static DECLARE_TLV_DB_SCALE(mix_tlv, -50, 50, 0);
146 static DECLARE_TLV_DB_SCALE(beep_tlv, -56, 200, 0);
149 0, 2, TLV_DB_SCALE_ITEM(-3000, 600, 0),
150 3, 7, TLV_DB_SCALE_ITEM(-1200, 300, 0)
[all …]
/kernel/linux/linux-5.10/Documentation/sound/hd-audio/
Dmodels.rst2 HD-Audio Codec-Specific Models
8 3-jack in back and a headphone out
9 3stack-digout
10 3-jack in back, a HP out and a SPDIF out
12 5-jack in back, 2-jack in front
13 5stack-digout
14 5-jack in back, 2-jack in front, a SPDIF out
16 6-jack in back, 2-jack in front
17 6stack-digout
18 6-jack with a SPDIF out
[all …]
/kernel/linux/linux-4.19/Documentation/sound/hd-audio/
Dmodels.rst2 HD-Audio Codec-Specific Models
8 3-jack in back and a headphone out
9 3stack-digout
10 3-jack in back, a HP out and a SPDIF out
12 5-jack in back, 2-jack in front
13 5stack-digout
14 5-jack in back, 2-jack in front, a SPDIF out
16 6-jack in back, 2-jack in front
17 6stack-digout
18 6-jack with a SPDIF out
[all …]

123