Home
last modified time | relevance | path

Searched +full:playback +full:- +full:codecs (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dskl_hda_dsp_generic.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2015-18 Intel Corporation.
5 * Machine Driver for SKL+ platforms with DSP and iDisp, HDA Codecs
15 #include <sound/soc-acpi.h>
16 #include "../../codecs/hdac_hdmi.h"
49 { "Analog Codec Playback", NULL, "Analog CPU Playback" },
50 { "Analog CPU Playback", NULL, "codec0_out" },
51 { "Digital Codec Playback", NULL, "Digital CPU Playback" },
52 { "Digital CPU Playback", NULL, "codec1_out" },
53 { "Alt Analog Codec Playback", NULL, "Alt Analog CPU Playback" },
[all …]
Dsof_sdw.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * sof_sdw - ASOC Machine driver for Intel SoundWire platforms
14 #include <sound/soc-acpi.h>
16 #include "../../codecs/rt711.h"
19 static int quirk_override = -1;
21 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
28 dev_dbg(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks()
47 sof_sdw_quirk = (unsigned long)id->driver_data; in sof_sdw_quirk_cb()
168 * (e.g. 15-eb1xxx, 14t-ea000 or 13-aw2xxx)
179 /* TigerLake-SDCA devices */
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/boards/
Dskl_hda_dsp_generic.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2015-18 Intel Corporation.
5 * Machine Driver for SKL+ platforms with DSP and iDisp, HDA Codecs
15 #include <sound/soc-acpi.h>
16 #include "../../codecs/hdac_hdmi.h"
49 { "Analog Codec Playback", NULL, "Analog CPU Playback" },
50 { "Analog CPU Playback", NULL, "codec0_out" },
51 { "Digital Codec Playback", NULL, "Digital CPU Playback" },
52 { "Digital CPU Playback", NULL, "codec1_out" },
53 { "Alt Analog Codec Playback", NULL, "Alt Analog CPU Playback" },
[all …]
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8173/
Dmt8173-rt5650.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8173-rt5650.c -- MT8173 machine driver with RT5650 codecs
14 #include "../../codecs/rt5645.h"
105 struct snd_soc_card *card = runtime->card; in mt8173_rt5650_init()
106 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_rt5650_init()
107 const char *codec_capture_dai = asoc_rtd_to_codec(runtime, 1)->name; in mt8173_rt5650_init()
114 if (!strcmp(codec_capture_dai, "rt5645-aif1")) { in mt8173_rt5650_init()
118 } else if (!strcmp(codec_capture_dai, "rt5645-aif2")) { in mt8173_rt5650_init()
123 dev_warn(card->dev, in mt8173_rt5650_init()
137 dev_err(card->dev, "Can't new Headset Jack %d\n", ret); in mt8173_rt5650_init()
[all …]
Dmt8173-rt5650-rt5514.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8173-rt5650-rt5514.c -- MT8173 machine driver with RT5650/5514 codecs
14 #include "../../codecs/rt5645.h"
75 struct snd_soc_card *card = runtime->card; in mt8173_rt5650_rt5514_init()
76 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_rt5650_rt5514_init()
91 dev_err(card->dev, "Can't new Headset Jack %d\n", ret); in mt8173_rt5650_rt5514_init()
107 SND_SOC_DAILINK_DEFS(playback,
119 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "rt5645-aif1"),
120 COMP_CODEC(NULL, "rt5514-aif1")),
123 /* Digital audio interface glue - connects codec <---> CPU */
[all …]
Dmt8173-rt5650-rt5676.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8173-rt5650-rt5676.c -- MT8173 machine driver with RT5650/5676 codecs
14 #include "../../codecs/rt5645.h"
15 #include "../../codecs/rt5677.h"
79 struct snd_soc_card *card = runtime->card; in mt8173_rt5650_rt5676_init()
80 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_rt5650_rt5676_init()
81 struct snd_soc_component *component_sub = asoc_rtd_to_codec(runtime, 1)->component; in mt8173_rt5650_rt5676_init()
104 dev_err(card->dev, "Can't new Headset Jack %d\n", ret); in mt8173_rt5650_rt5676_init()
124 SND_SOC_DAILINK_DEFS(playback,
141 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "rt5645-aif1"),
[all …]
Dmt8173-max98090.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8173-max98090.c -- MT8173 MAX98090 ALSA SoC machine driver
13 #include "../../codecs/max98090.h"
69 struct snd_soc_card *card = runtime->card; in mt8173_max98090_init()
70 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_max98090_init()
78 dev_err(card->dev, "Can't create a new Jack %d\n", ret); in mt8173_max98090_init()
85 SND_SOC_DAILINK_DEFS(playback,
100 /* Digital audio interface glue - connects codec <---> CPU */
104 .name = "MAX98090 Playback",
105 .stream_name = "MAX98090 Playback",
[all …]
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8173/
Dmt8173-rt5650-rt5514.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8173-rt5650-rt5514.c -- MT8173 machine driver with RT5650/5514 codecs
14 #include "../../codecs/rt5645.h"
86 struct snd_soc_card *card = runtime->card; in mt8173_rt5650_rt5514_init()
87 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_rt5650_rt5514_init()
104 dev_err(card->dev, "Can't new Headset Jack %d\n", ret); in mt8173_rt5650_rt5514_init()
120 SND_SOC_DAILINK_DEFS(playback,
132 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "rt5645-aif1"),
133 COMP_CODEC(NULL, "rt5514-aif1")),
136 /* Digital audio interface glue - connects codec <---> CPU */
[all …]
Dmt8173-rt5650-rt5676.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8173-rt5650-rt5676.c -- MT8173 machine driver with RT5650/5676 codecs
14 #include "../../codecs/rt5645.h"
15 #include "../../codecs/rt5677.h"
90 struct snd_soc_card *card = runtime->card; in mt8173_rt5650_rt5676_init()
91 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_rt5650_rt5676_init()
92 struct snd_soc_component *component_sub = asoc_rtd_to_codec(runtime, 1)->component; in mt8173_rt5650_rt5676_init()
117 dev_err(card->dev, "Can't new Headset Jack %d\n", ret); in mt8173_rt5650_rt5676_init()
137 SND_SOC_DAILINK_DEFS(playback,
154 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "rt5645-aif1"),
[all …]
Dmt8173-rt5650.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8173-rt5650.c -- MT8173 machine driver with RT5650 codecs
14 #include "../../codecs/rt5645.h"
116 struct snd_soc_card *card = runtime->card; in mt8173_rt5650_init()
117 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_rt5650_init()
118 const char *codec_capture_dai = asoc_rtd_to_codec(runtime, 1)->name; in mt8173_rt5650_init()
125 if (!strcmp(codec_capture_dai, "rt5645-aif1")) { in mt8173_rt5650_init()
129 } else if (!strcmp(codec_capture_dai, "rt5645-aif2")) { in mt8173_rt5650_init()
134 dev_warn(card->dev, in mt8173_rt5650_init()
150 dev_err(card->dev, "Can't new Headset Jack %d\n", ret); in mt8173_rt5650_init()
[all …]
Dmt8173-max98090.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt8173-max98090.c -- MT8173 MAX98090 ALSA SoC machine driver
13 #include "../../codecs/max98090.h"
69 struct snd_soc_card *card = runtime->card; in mt8173_max98090_init()
70 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_max98090_init()
78 dev_err(card->dev, "Can't create a new Jack %d\n", ret); in mt8173_max98090_init()
85 SND_SOC_DAILINK_DEFS(playback,
100 /* Digital audio interface glue - connects codec <---> CPU */
104 .name = "MAX98090 Playback",
105 .stream_name = "MAX98090 Playback",
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dmt8186-mt6366-da7219-max98357.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-da7219-max98357.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
18 - mediatek,mt8186-mt6366-da7219-max98357-sound
24 headset-codec:
28 sound-dai:
31 - sound-dai
33 playback-codecs:
[all …]
Dmt8186-mt6366-rt1019-rt5682s.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-rt1019-rt5682s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
18 - mediatek,mt8186-mt6366-rt1019-rt5682s-sound
19 - mediatek,mt8186-mt6366-rt5682s-max98360-sound
25 dmic-gpios:
28 dmic-gpios optional prop for switching between two DMICs.
32 headset-codec:
[all …]
/kernel/linux/linux-6.6/sound/soc/fsl/
Dp1022_rdk.c1 // SPDX-License-Identifier: GPL-2.0
10 // to be enabled, because they control the clock. So for playback, for
28 /* P1022-specific PMUXCR and DMUXCR bit definitions */
56 unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch)); in guts_set_dmuxcr()
58 clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift); in guts_set_dmuxcr()
65 * machine_data: machine-specific ASoC device data
85 * This function is used to initialize the board-specific hardware.
97 dev_err(card->dev, "could not map global utilities\n"); in p1022_rdk_machine_probe()
98 return -ENOMEM; in p1022_rdk_machine_probe()
102 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK, in p1022_rdk_machine_probe()
[all …]
Dfsl-asoc-card.c1 // SPDX-License-Identifier: GPL-2.0
23 #include "imx-audmux.h"
25 #include "../codecs/sgtl5000.h"
26 #include "../codecs/wm8962.h"
27 #include "../codecs/wm8960.h"
28 #include "../codecs/wm8994.h"
29 #include "../codecs/tlv320aic31xx.h"
30 #include "../codecs/nau8822.h"
32 #define DRIVER_NAME "fsl-asoc-card"
43 * struct codec_priv - CODEC private data
[all …]
Dp1022_ds.c1 // SPDX-License-Identifier: GPL-2.0
21 /* P1022-specific PMUXCR and DMUXCR bit definitions */
49 unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch)); in guts_set_dmuxcr()
51 clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift); in guts_set_dmuxcr()
58 * machine_data: machine-specific ASoC device data
79 * This function is used to initialize the board-specific hardware.
91 dev_err(card->dev, "could not map global utilities\n"); in p1022_ds_machine_probe()
92 return -ENOMEM; in p1022_ds_machine_probe()
96 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK, in p1022_ds_machine_probe()
100 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK, in p1022_ds_machine_probe()
[all …]
Dmpc8610_hpcd.c1 // SPDX-License-Identifier: GPL-2.0
7 // Copyright 2007-2010 Freescale Semiconductor, Inc.
25 * mpc8610_hpcd_data: machine-specific ASoC device data
47 * This function is used to initialize the board-specific hardware.
59 dev_err(card->dev, "could not map global utilities\n"); in mpc8610_hpcd_machine_probe()
60 return -ENOMEM; in mpc8610_hpcd_machine_probe()
64 guts_set_dmacr(guts, machine_data->dma_id[0], in mpc8610_hpcd_machine_probe()
65 machine_data->dma_channel_id[0], in mpc8610_hpcd_machine_probe()
67 guts_set_dmacr(guts, machine_data->dma_id[1], in mpc8610_hpcd_machine_probe()
68 machine_data->dma_channel_id[1], in mpc8610_hpcd_machine_probe()
[all …]
/kernel/linux/linux-5.10/sound/soc/fsl/
Dp1022_rdk.c1 // SPDX-License-Identifier: GPL-2.0
10 // to be enabled, because they control the clock. So for playback, for
28 /* P1022-specific PMUXCR and DMUXCR bit definitions */
56 unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch)); in guts_set_dmuxcr()
58 clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift); in guts_set_dmuxcr()
65 * machine_data: machine-specific ASoC device data
85 * This function is used to initialize the board-specific hardware.
97 dev_err(card->dev, "could not map global utilities\n"); in p1022_rdk_machine_probe()
98 return -ENOMEM; in p1022_rdk_machine_probe()
102 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK, in p1022_rdk_machine_probe()
[all …]
Dfsl-asoc-card.c1 // SPDX-License-Identifier: GPL-2.0
23 #include "imx-audmux.h"
25 #include "../codecs/sgtl5000.h"
26 #include "../codecs/wm8962.h"
27 #include "../codecs/wm8960.h"
38 * struct codec_priv - CODEC private data
52 * struct cpu_priv - CPU private data
68 * struct fsl_asoc_card_priv - Freescale Generic ASOC card private data
79 * @asrc_rate: ASRC sample rate used by Back-Ends
80 * @asrc_format: ASRC sample format used by Back-Ends
[all …]
Dp1022_ds.c1 // SPDX-License-Identifier: GPL-2.0
21 /* P1022-specific PMUXCR and DMUXCR bit definitions */
49 unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch)); in guts_set_dmuxcr()
51 clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift); in guts_set_dmuxcr()
58 * machine_data: machine-specific ASoC device data
79 * This function is used to initialize the board-specific hardware.
91 dev_err(card->dev, "could not map global utilities\n"); in p1022_ds_machine_probe()
92 return -ENOMEM; in p1022_ds_machine_probe()
96 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK, in p1022_ds_machine_probe()
100 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK, in p1022_ds_machine_probe()
[all …]
Dmpc8610_hpcd.c1 // SPDX-License-Identifier: GPL-2.0
7 // Copyright 2007-2010 Freescale Semiconductor, Inc.
25 * mpc8610_hpcd_data: machine-specific ASoC device data
47 * This function is used to initialize the board-specific hardware.
59 dev_err(card->dev, "could not map global utilities\n"); in mpc8610_hpcd_machine_probe()
60 return -ENOMEM; in mpc8610_hpcd_machine_probe()
64 guts_set_dmacr(guts, machine_data->dma_id[0], in mpc8610_hpcd_machine_probe()
65 machine_data->dma_channel_id[0], in mpc8610_hpcd_machine_probe()
67 guts_set_dmacr(guts, machine_data->dma_id[1], in mpc8610_hpcd_machine_probe()
68 machine_data->dma_channel_id[1], in mpc8610_hpcd_machine_probe()
[all …]
Dimx-audmix.c1 // SPDX-License-Identifier: GPL-2.0
9 * https://www.opensource.org/licenses/gpl-license.html
17 #include <sound/soc-dapm.h>
48 struct imx_audmix *priv = snd_soc_card_get_drvdata(rtd->card); in imx_audmix_fe_startup()
49 struct snd_pcm_runtime *runtime = substream->runtime; in imx_audmix_fe_startup()
50 struct device *dev = rtd->card->dev; in imx_audmix_fe_startup()
51 unsigned long clk_rate = clk_get_rate(priv->cpu_mclk); in imx_audmix_fe_startup()
77 struct device *dev = rtd->card->dev; in imx_audmix_fe_hw_params()
78 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in imx_audmix_fe_hw_params()
83 /* For playback the AUDMIX is slave, and for record is master */ in imx_audmix_fe_hw_params()
[all …]
/kernel/linux/linux-5.10/sound/soc/mediatek/mt2701/
Dmt2701-wm8960.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt2701-wm8960.c -- MT2701 WM8960 ALSA SoC machine driver
12 #include "mt2701-afe-common.h"
47 SND_SOC_DAILINK_DEFS(playback,
59 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8960-hifi")),
65 .name = "wm8960-playback",
66 .stream_name = "wm8960-playback",
71 SND_SOC_DAILINK_REG(playback),
74 .name = "wm8960-capture",
75 .stream_name = "wm8960-capture",
[all …]
/kernel/linux/linux-6.6/sound/soc/mediatek/mt2701/
Dmt2701-wm8960.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt2701-wm8960.c -- MT2701 WM8960 ALSA SoC machine driver
12 #include "mt2701-afe-common.h"
47 SND_SOC_DAILINK_DEFS(playback,
59 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8960-hifi")),
65 .name = "wm8960-playback",
66 .stream_name = "wm8960-playback",
71 SND_SOC_DAILINK_REG(playback),
74 .name = "wm8960-capture",
75 .stream_name = "wm8960-capture",
[all …]
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dsound.patch1 diff --git a/sound/Makefile b/sound/Makefile
3 --- a/sound/Makefile
5 @@ -5,7 +5,8 @@
6 obj-$(CONFIG_SOUND) += soundcore.o
7 obj-$(CONFIG_DMASOUND) += oss/dmasound/
8 obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
9 - firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/ xen/
12 obj-$(CONFIG_SND_AOA) += aoa/
15 diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c
17 --- a/sound/drivers/aloop.c
[all …]

12345678910>>...14