Home
last modified time | relevance | path

Searched +full:mic2 +full:- +full:src (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/sound/
Deverest,es8326.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David Yang <yangxiaohua@everest-semi.com>
21 - description: clock for master clock (MCLK)
23 clock-names:
25 - const: mclk
27 "#sound-dai-cells":
30 everest,jack-pol:
40 everest,mic1-src:
[all …]
/Linux-v6.1/sound/soc/codecs/
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 …]
Des8326.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // es8326.c -- es8326 ALSA SoC audio driver
6 // Authors: David Yang <yangxiaohua@everest-semi.com>
17 #include <sound/soc-dapm.h>
43 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9550, 50, 0);
44 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9550, 50, 0);
48 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(drc_target_tlv, -3200, 200, 0);
49 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(drc_recovery_tlv, -125, 250, 0);
104 SND_SOC_DAPM_INPUT("MIC2"),
157 {"ADC R1", NULL, "MIC2"},
[all …]
Dnau8540.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include <sound/soc-dapm.h>
71 { 32, 3 }, /* OSR 32, SRC 1/8 */
72 { 64, 2 }, /* OSR 64, SRC 1/4 */
73 { 128, 1 }, /* OSR 128, SRC 1/2 */
74 { 256, 0 }, /* OSR 256, SRC 1 */
183 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -12800, 3600);
184 static const DECLARE_TLV_DB_MINMAX(fepga_gain_tlv, -100, 3600);
189 SOC_SINGLE_TLV("Mic2 Volume", NAU8540_REG_DIGITAL_GAIN_CH2,
236 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in adc_power_control()
[all …]
Drt711.c1 // SPDX-License-Identifier: GPL-2.0
3 // rt711.c -- rt711 ALSA SoC audio driver
23 #include <sound/soc-dapm.h>
88 struct regmap *regmap = rt711->regmap; in rt711_calibration()
91 mutex_lock(&rt711->calibrate_mutex); in rt711_calibration()
92 regmap_write(rt711->regmap, in rt711_calibration()
112 pr_err("%s, calibration time-out!\n", in rt711_calibration()
114 ret = -ETIMEDOUT; in rt711_calibration()
128 regmap_write(rt711->regmap, in rt711_calibration()
130 mutex_unlock(&rt711->calibrate_mutex); in rt711_calibration()
[all …]
Dlm49453.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * lm49453.c - LM49453 ALSA Soc Audio driver
23 #include <sound/soc-dapm.h>
210 static const char *lm49453_adcr_mux_text[] = { "MIC2", "Aux_R" };
491 static const DECLARE_TLV_DB_SCALE(adc_dac_tlv, -7650, 150, 1);
493 static const DECLARE_TLV_DB_SCALE(port_tlv, -1800, 600, 0);
494 static const DECLARE_TLV_DB_SCALE(stn_tlv, -7200, 150, 0);
513 /* mic1 and mic2 supports mono only */
515 SOC_SINGLE_TLV("Mic2 Volume", LM49453_P0_MICR_REG, 0, 15, 0, mic_tlv),
528 SOC_DAPM_ENUM("DMIC12 SRC", lm49453_dmic12_cfg_enum),
[all …]
Dnau8824.c1 // SPDX-License-Identifier: GPL-2.0-only
35 static int quirk_override = -1;
37 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
91 { 64, 2 }, /* OSR 64, SRC 1/4 */
92 { 256, 0 }, /* OSR 256, SRC 1 */
93 { 128, 1 }, /* OSR 128, SRC 1/2 */
95 { 32, 3 }, /* OSR 32, SRC 1/8 */
99 { 32, 3 }, /* OSR 32, SRC 1/8 */
100 { 64, 2 }, /* OSR 64, SRC 1/4 */
101 { 128, 1 }, /* OSR 128, SRC 1/2 */
[all …]
Drt711-sdca.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // rt711-sdca.c -- rt711 SDCA ALSA SoC audio driver
21 #include <sound/soc-dapm.h>
26 #include "rt711-sdca.h"
32 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_write()
37 dev_err(&rt711->slave->dev, in rt711_sdca_index_write()
48 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_read()
53 dev_err(&rt711->slave->dev, in rt711_sdca_index_read()
87 struct regmap *regmap = rt711->regmap; in rt711_sdca_calibration()
91 mutex_lock(&rt711->calibrate_mutex); in rt711_sdca_calibration()
[all …]
Dwm8994.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8994.c -- WM8994 ALSA SoC Audio driver
5 * Copyright 2009-12 Wolfson Microelectronics plc
114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate()
120 idle = !wm8994->jack_mic; in wm8958_micd_set_rate()
124 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate()
126 sysclk = wm8994->aifclk[0]; in wm8958_micd_set_rate()
128 if (control->pdata.micd_rates) { in wm8958_micd_set_rate()
129 rates = control->pdata.micd_rates; in wm8958_micd_set_rate()
130 num_rates = control->pdata.num_micd_rates; in wm8958_micd_set_rate()
[all …]
/Linux-v6.1/sound/soc/intel/boards/
Dsof_sdw_rt711_sdca.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * sof_sdw_rt711_sdca - Helpers to handle RT711-SDCA from generic machine driver
15 #include <sound/soc-acpi.h>
16 #include <sound/soc-dapm.h>
33 props[0] = PROPERTY_ENTRY_U32("realtek,jd-src", SOF_RT711_JDSRC(sof_sdw_quirk)); in rt711_sdca_add_codec_device_props()
54 { "rt711 MIC2", NULL, "Headset Mic" },
75 struct snd_soc_card *card = rtd->card; in rt711_sdca_rtd_init()
78 struct snd_soc_component *component = codec_dai->component; in rt711_sdca_rtd_init()
82 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in rt711_sdca_rtd_init()
83 "%s hs:rt711-sdca", in rt711_sdca_rtd_init()
[all …]
Dsof_sdw_rt711.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * sof_sdw_rt711 - Helpers to handle RT711 from generic machine driver
15 #include <sound/soc-acpi.h>
16 #include <sound/soc-dapm.h>
32 props[0] = PROPERTY_ENTRY_U32("realtek,jd-src", SOF_RT711_JDSRC(sof_sdw_quirk)); in rt711_add_codec_device_props()
53 { "rt711 MIC2", NULL, "Headset Mic" },
74 struct snd_soc_card *card = rtd->card; in rt711_rtd_init()
77 struct snd_soc_component *component = codec_dai->component; in rt711_rtd_init()
81 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in rt711_rtd_init()
83 card->components); in rt711_rtd_init()
[all …]
/Linux-v6.1/sound/pci/ac97/
Dac97_codec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
38 MODULE_PARM_DESC(power_save, "Automatic power-saving timeout "
62 * currently used by the AC97 emulation of the almost-AC97 PCI168 card.
65 { 0x434d4900, 0xffffff00, "C-Media Electronics", NULL, NULL },
139 { 0x43585430, 0xffffffff, "Cx20468-31", patch_conexant, NULL },
152 { 0x4e534300, 0xffffffff, "LM4540,43,45,46,48", NULL, NULL }, // only guess --jk
162 { 0x54524123, 0xffffffff, "TR28602", NULL, NULL }, // only guess --jk [TR28023 = eMicro EM28023 (…
198 ((ac97->scaps & AC97_SCAP_POWER_SAVE) && power_save)
204 dev_err((ac97)->bus->card->dev, fmt, ##args)
206 dev_warn((ac97)->bus->card->dev, fmt, ##args)
[all …]
/Linux-v6.1/sound/pci/hda/
Dpatch_ca0132.c1 // SPDX-License-Identifier: GPL-2.0-or-later
74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin"
75 #define R3DI_EFX_FILE "ctefx-r3di.bin"
115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID)
126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NID)
134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NID)
154 #define EFFECTS_COUNT (EFFECT_END_NID - EFFECT_START_NID)
163 * X-bass.
182 int params; /* number of default non-on/off params */
223 { .name = "X-Bass",
[all …]