Home
last modified time | relevance | path

Searched +full:mic1 +full:- +full:src (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.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 …]
Dnau8540.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include <sound/soc-dapm.h>
70 { 32, 3 }, /* OSR 32, SRC 1/8 */
71 { 64, 2 }, /* OSR 64, SRC 1/4 */
72 { 128, 1 }, /* OSR 128, SRC 1/2 */
73 { 256, 0 }, /* OSR 256, SRC 1 */
182 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -12800, 3600);
183 static const DECLARE_TLV_DB_MINMAX(fepga_gain_tlv, -100, 3600);
186 SOC_SINGLE_TLV("Mic1 Volume", NAU8540_REG_DIGITAL_GAIN_CH1,
235 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in nau8540_fepga_event()
[all …]
Dlm49453.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * lm49453.c - LM49453 ALSA Soc Audio driver
23 #include <sound/soc-dapm.h>
208 static const char *lm49453_adcl_mux_text[] = { "MIC1", "Aux_L" };
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 */
514 SOC_SINGLE_TLV("Mic1 Volume", LM49453_P0_MICL_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 …]
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 …]
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>
56 regmap_read(es8326->regmap, ES8326_DAC_RAMPRATE, &crosstalk_h); in es8326_crosstalk1_get()
57 regmap_read(es8326->regmap, ES8326_DAC_CROSSTALK, &crosstalk_l); in es8326_crosstalk1_get()
61 ucontrol->value.integer.value[0] = crosstalk; in es8326_crosstalk1_get()
74 crosstalk = ucontrol->value.integer.value[0]; in es8326_crosstalk1_set()
75 regmap_read(es8326->regmap, ES8326_DAC_CROSSTALK, &crosstalk_l); in es8326_crosstalk1_set()
79 regmap_update_bits(es8326->regmap, ES8326_DAC_RAMPRATE, in es8326_crosstalk1_set()
[all …]
Dmt6351.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt6351.c -- mt6351 ALSA SoC audio codec driver
8 #include <linux/dma-mapping.h>
202 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero()
204 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero()
225 dev_warn(cmpnt->dev, "%s(), error rate %d, return 3", in get_cap_reg_val()
256 dev_warn(cmpnt->dev, "%s(), error rate %d, return 8", in get_play_reg_val()
266 struct snd_soc_component *cmpnt = dai->component; in mt6351_codec_dai_hw_params()
270 dev_dbg(priv->dev, "%s(), substream->stream %d, rate %d\n", in mt6351_codec_dai_hw_params()
271 __func__, substream->stream, rate); in mt6351_codec_dai_hw_params()
[all …]
/linux-6.12.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 …]
Drt5665.txt7 - compatible : One of "realtek,rt5665", "realtek,rt5666".
9 - reg : The I2C address of the device.
11 - interrupts : The CODEC's interrupt output.
15 - realtek,in1-differential
16 - realtek,in2-differential
17 - realtek,in3-differential
18 - realtek,in4-differential
19 Boolean. Indicate MIC1/2/3/4 input are differential, rather than single-ended.
21 - realtek,dmic1-data-pin
26 - realtek,dmic2-data-pin
[all …]
/linux-6.12.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
161 { 0x54524123, 0xffffffff, "TR28602", NULL, NULL }, // only guess --jk [TR28023 = eMicro EM28023 (…
197 ((ac97->scaps & AC97_SCAP_POWER_SAVE) && power_save)
203 dev_err((ac97)->bus->card->dev, fmt, ##args)
205 dev_warn((ac97)->bus->card->dev, fmt, ##args)
[all …]
/linux-6.12.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 …]