Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-6.6/sound/soc/codecs/
Dcs42l73.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs42l73.c -- CS42L73 ALSA Soc Audio driver
25 #include <sound/soc-dapm.h>
47 { 6, 0xF1 }, /* r06 - Power Ctl 1 */
48 { 7, 0xDF }, /* r07 - Power Ctl 2 */
49 { 8, 0x3F }, /* r08 - Power Ctl 3 */
50 { 9, 0x50 }, /* r09 - Charge Pump Freq */
51 { 10, 0x53 }, /* r0A - Output Load MicBias Short Detect */
52 { 11, 0x00 }, /* r0B - DMIC Master Clock Ctl */
53 { 12, 0x00 }, /* r0C - Aux PCM Ctl */
[all …]
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]. */
100 #define CS42L73_MMIXCTL 0x55 /* Mono Mixer Controls. */
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. */
105 #define CS42L73_ESLMIPMA 0x5A /* Ear/SpLO Mono Mixer: */
106 #define CS42L73_ESLMXSPA 0x5B /* Ear/SpLO Mono Mixer: XSP */
[all …]
Drt5640.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver
27 #include <sound/soc-dapm.h>
340 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
341 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0);
342 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
343 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000);
426 SOC_DOUBLE("Mono ADC Capture Switch", RT5640_DUMMY1,
428 SOC_DOUBLE_TLV("Mono ADC Capture Volume", RT5640_ADC_DATA,
436 SOC_ENUM("Class D SPK Ratio Control", rt5640_clsd_spk_ratio_enum),
[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"};
67 static const char *ak4535_hp_out[] = {"Stereo", "Mono"};
81 SOC_ENUM("Mono 1 Output", ak4535_enum[1]),
82 SOC_ENUM("Mono 1 Gain", ak4535_enum[0]),
101 /* Mono 1 Mixer */
104 SOC_DAPM_SINGLE("Mono Playback Switch", AK4535_SIG1, 5, 1, 0),
132 /* mono 2 switch */
[all …]
Drt5659.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5659.c -- RT5659/RT5658 ALSA SoC audio codec driver
25 #include <sound/soc-dapm.h>
1136 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2325, 75, 0);
1137 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
1138 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0);
1139 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
1140 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0);
1142 static const DECLARE_TLV_DB_SCALE(in_bst_tlv, -1200, 75, 0);
1249 * rt5659_headset_detect - Detect headset.
[all …]
Drt5645.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5645.c -- RT5645 ALSA SoC audio codec driver
26 #include <sound/soc-dapm.h>
41 static unsigned int quirk = -1;
434 /* Some (package) variants have the headset-mic pin not-connected */
666 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
667 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0);
668 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
669 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0);
683 /* {-6, -4.5, -3, -1.5, 0, 0.82, 1.58, 2.28} dB */
[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 …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dcs42l73.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs42l73.c -- CS42L73 ALSA Soc Audio driver
25 #include <sound/soc-dapm.h>
46 { 6, 0xF1 }, /* r06 - Power Ctl 1 */
47 { 7, 0xDF }, /* r07 - Power Ctl 2 */
48 { 8, 0x3F }, /* r08 - Power Ctl 3 */
49 { 9, 0x50 }, /* r09 - Charge Pump Freq */
50 { 10, 0x53 }, /* r0A - Output Load MicBias Short Detect */
51 { 11, 0x00 }, /* r0B - DMIC Master Clock Ctl */
52 { 12, 0x00 }, /* r0C - Aux PCM Ctl */
[all …]
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]. */
100 #define CS42L73_MMIXCTL 0x55 /* Mono Mixer Controls. */
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. */
105 #define CS42L73_ESLMIPMA 0x5A /* Ear/SpLO Mono Mixer: */
106 #define CS42L73_ESLMXSPA 0x5B /* Ear/SpLO Mono Mixer: XSP */
[all …]
Drt5640.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver
28 #include <sound/soc-dapm.h>
341 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
342 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0);
343 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
344 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000);
424 SOC_DOUBLE("Mono ADC Capture Switch", RT5640_DUMMY1,
426 SOC_DOUBLE_TLV("Mono ADC Capture Volume", RT5640_ADC_DATA,
434 SOC_ENUM("Class D SPK Ratio Control", rt5640_clsd_spk_ratio_enum),
[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"};
67 static const char *ak4535_hp_out[] = {"Stereo", "Mono"};
81 SOC_ENUM("Mono 1 Output", ak4535_enum[1]),
82 SOC_ENUM("Mono 1 Gain", ak4535_enum[0]),
101 /* Mono 1 Mixer */
104 SOC_DAPM_SINGLE("Mono Playback Switch", AK4535_SIG1, 5, 1, 0),
132 /* mono 2 switch */
[all …]
Drt5659.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5659.c -- RT5659/RT5658 ALSA SoC audio codec driver
26 #include <sound/soc-dapm.h>
1137 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2325, 75, 0);
1138 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
1139 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0);
1140 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
1141 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0);
1143 static const DECLARE_TLV_DB_SCALE(in_bst_tlv, -1200, 75, 0);
1250 * rt5659_headset_detect - Detect headset.
[all …]
Drt5645.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5645.c -- RT5645 ALSA SoC audio codec driver
27 #include <sound/soc-dapm.h>
41 static unsigned int quirk = -1;
639 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
640 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0);
641 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
642 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0);
656 /* {-6, -4.5, -3, -1.5, 0, 0.82, 1.58, 2.28} dB */
658 0, 4, TLV_DB_SCALE_ITEM(-600, 150, 0),
[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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
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 - $ref: dai-common.yaml#
23 '#sound-dai-cells':
31 signals. Valid values are 0 (Differential), 1 (Single-ended) and
38 $ref: /schemas/types.yaml#/definitions/uint32-array
46 wlf,out-mono:
48 A list of boolean values indicating whether each output is mono
[all …]
Dtlv320aic31xx.txt1 Texas Instruments - tlv320aic31xx Codec module
7 - compatible - "string" - One of:
8 "ti,tlv320aic310x" - Generic TLV320AIC31xx with mono speaker amp
9 "ti,tlv320aic311x" - Generic TLV320AIC31xx with stereo speaker amp
10 "ti,tlv320aic3100" - TLV320AIC3100 (mono speaker amp, no MiniDSP)
11 "ti,tlv320aic3110" - TLV320AIC3110 (stereo speaker amp, no MiniDSP)
12 "ti,tlv320aic3120" - TLV320AIC3120 (mono speaker amp, MiniDSP)
13 "ti,tlv320aic3111" - TLV320AIC3111 (stereo speaker amp, MiniDSP)
14 "ti,tlv320dac3100" - TLV320DAC3100 (no ADC, mono speaker amp, no MiniDSP)
15 "ti,tlv320dac3101" - TLV320DAC3101 (no ADC, stereo speaker amp, no MiniDSP)
[all …]
Dnvidia,tegra-audio-rt5631.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-rt5631.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: nvidia,tegra-audio-common.yaml#
19 - pattern: '^[a-z0-9]+,tegra-audio-rt5631(-[a-z0-9]+)+$'
20 - const: nvidia,tegra-audio-rt5631
22 nvidia,audio-routing:
[all …]
Dwlf,wm8962.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Wolfson WM8962 Ultra-Low Power Stereo CODEC
10 - patches@opensource.cirrus.com
13 - $ref: dai-common.yaml#
28 "#sound-dai-cells":
31 AVDD-supply:
34 CPVDD-supply:
37 DBVDD-supply:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
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:
45 A list of boolean values indicating whether each output is mono
47 (eg. First entry in the list corresponds to output 1). A non-zero
[all …]
Dtlv320aic31xx.txt1 Texas Instruments - tlv320aic31xx Codec module
7 - compatible - "string" - One of:
8 "ti,tlv320aic310x" - Generic TLV320AIC31xx with mono speaker amp
9 "ti,tlv320aic311x" - Generic TLV320AIC31xx with stereo speaker amp
10 "ti,tlv320aic3100" - TLV320AIC3100 (mono speaker amp, no MiniDSP)
11 "ti,tlv320aic3110" - TLV320AIC3110 (stereo speaker amp, no MiniDSP)
12 "ti,tlv320aic3120" - TLV320AIC3120 (mono speaker amp, MiniDSP)
13 "ti,tlv320aic3111" - TLV320AIC3111 (stereo speaker amp, MiniDSP)
14 "ti,tlv320dac3100" - TLV320DAC3100 (no ADC, mono speaker amp, no MiniDSP)
15 "ti,tlv320dac3101" - TLV320DAC3101 (no ADC, stereo speaker amp, no MiniDSP)
[all …]
Dwm8962.txt7 - compatible : "wlf,wm8962"
9 - reg : the I2C address of the device.
12 - spk-mono: This is a boolean property. If present, the SPK_MONO bit
14 in mono mode.
16 - mic-cfg : Default register value for R48 (Additional Control 4).
19 - gpio-cfg : A list of GPIO configuration register values. The list must
31 gpio-cfg = <
/kernel/linux/linux-5.10/sound/soc/pxa/
Dz2.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #include <asm/mach-types.h>
29 #include "pxa2xx-i2s.h"
84 .pin = "Ext Spk",
94 .name = "hsdet-gpio",
105 SND_SOC_DAPM_SPK("Ext Spk", NULL),
107 /* headset is a mic and mono headphone */
119 {"Ext Spk", NULL, "ROUT2"},
120 {"Ext Spk", NULL, "LOUT2"},
122 /* mic is connected to R input 2 - with bias */
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/boards/
Dbytcht_es8316.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bytcht_es8316.c - ASoc Machine driver for Intel Baytrail/Cherrytrail
7 * Authors: David Yang <yangxiaohua@everest-semi.com>,
29 #include <sound/soc-acpi.h>
30 #include "../atom/sst-atom-controls.h"
31 #include "../common/soc-intel-quirks.h"
33 /* jd-inv + terminating entry */
56 static int quirk_override = -1;
58 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
77 struct snd_soc_card *card = w->dapm->card; in byt_cht_es8316_speaker_power_event()
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dbytcht_es8316.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bytcht_es8316.c - ASoc Machine driver for Intel Baytrail/Cherrytrail
7 * Authors: David Yang <yangxiaohua@everest-semi.com>,
29 #include <sound/soc-acpi.h>
30 #include "../atom/sst-atom-controls.h"
31 #include "../common/soc-intel-quirks.h"
33 /* jd-inv + terminating entry */
55 static int quirk_override = -1;
57 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
76 struct snd_soc_card *card = w->dapm->card; in byt_cht_es8316_speaker_power_event()
[all …]
/kernel/linux/linux-6.6/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>
24 #include "pxa2xx-i2s.h"
34 /* audio clock in Hz - rounded from 12.235MHz */
46 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in spitz_ext_control()
48 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in spitz_ext_control()
110 spitz_ext_control(&rtd->card->dapm); in spitz_startup()
161 ucontrol->value.enumerated.item[0] = spitz_jack_func; in spitz_get_jack()
170 if (spitz_jack_func == ucontrol->value.enumerated.item[0]) in spitz_set_jack()
[all …]

1234