Home
last modified time | relevance | path

Searched +full:is +full:- +full:compress +full:- +full:dai (Results 1 – 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dqcom,q6asm.txt3 Q6ASM is one of the APR audio service on Q6DSP.
7 - but must contain the following property:
9 - compatible:
12 Definition: must be "qcom,q6asm-v<MAJOR-NUMBER>.<MINOR-NUMBER>".
15 example "qcom,q6asm-v2.0"
18 "dais" subnode of the ASM node represents dai specific configuration
20 - compatible:
23 Definition: must be "qcom,q6asm-dais".
25 - #sound-dai-cells
30 == ASM DAI is subnode of "dais" and represent a dai, it includes board specific
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dqcom,q6asm-dais.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/sound/qcom,q6asm-dais.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
14 Q6ASM is one of the APR audio services on Q6DSP. Each of its subnodes
15 represent a dai with board specific configuration.
20 - qcom,q6asm-dais
25 "#sound-dai-cells":
[all …]
Dqcom,q6asm.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
14 - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
19 - qcom,q6asm
23 $ref: /schemas/sound/qcom,q6asm-dais.yaml#
28 - compatible
29 - dais
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dcht_bsw_nau8824.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cht-bsw-nau8824.c - ASoc Machine driver for Intel Cherryview-based
10 * Co-author: John Hsu <KCHSU0@nuvoton.com>
11 * This file is based on cht_bsw_rt5672.c and cht-bsw-max98090.c
20 #include <sound/soc-acpi.h>
23 #include "../atom/sst-atom-controls.h"
82 dev_err(codec_dai->dev, "can't set FS clock %d\n", ret); in cht_aif1_hw_params()
88 dev_err(codec_dai->dev, "can't set FLL: %d\n", ret); in cht_aif1_hw_params()
97 struct cht_mc_private *ctx = snd_soc_card_get_drvdata(runtime->card); in cht_codec_init()
98 struct snd_soc_jack *jack = &ctx->jack; in cht_codec_init()
[all …]
/kernel/linux/linux-6.6/sound/soc/
Dsoc-compress.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-compress.c -- ALSA SoC Compress
21 #include <sound/soc-dpcm.h>
22 #include <sound/soc-link.h>
26 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_compr_components_open()
47 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_compr_components_free()
59 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_clean()
62 int stream = cstream->direction; /* SND_COMPRESS_xxx is same as SNDRV_PCM_STREAM_xxx */ in soc_compr_clean()
72 cpu_dai->rate = 0; in soc_compr_clean()
75 codec_dai->rate = 0; in soc_compr_clean()
[all …]
Dsoc-topology.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-topology.c -- ALSA SoC Topology
17 // topology data can contain kcontrols, DAPM graphs, widgets, DAIs, DAI links,
21 // firmware topology data is passed to component drivers for bespoke handling.
29 #include <sound/soc-dapm.h>
30 #include <sound/soc-topology.h>
83 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count()
85 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count()
86 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count()
88 return -EINVAL; in soc_tplg_check_elem_count()
[all …]
/kernel/linux/linux-5.10/include/sound/
Dsoc-dai.h1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc-dai.h -- ALSA SoC Layer
5 * Copyright: 2005-2008 Wolfson Microelectronics. PLC.
7 * Digital Audio Interface (DAI) API.
22 * DAI hardware audio formats.
40 * DAI Clock gating.
42 * DAI bit clocks can be gated (disabled) when the DAI is not
46 #define SND_SOC_DAIFMT_GATED (0 << 4) /* clock is gated */
49 * DAI hardware signal polarity.
51 * Specifies whether the DAI can also support inverted clocks for the specified
[all …]
/kernel/linux/linux-5.10/sound/soc/uniphier/
Daio.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (c) 2016-2018 Socionext Inc.
15 #include <sound/soc-dai.h>
43 /* IEC61937 Repetition period of data-burst in IEC60958 frames */
52 /* IEC61937 Repetition period of Pause data-burst in IEC60958 frames */
70 #define AUD_NAME_PCMIN1 "aio-pcmin1"
71 #define AUD_NAME_PCMIN2 "aio-pcmin2"
72 #define AUD_NAME_PCMIN3 "aio-pcmin3"
73 #define AUD_NAME_IECIN1 "aio-iecin1"
74 #define AUD_NAME_DIECIN1 "aio-diecin1"
[all …]
/kernel/linux/linux-5.10/sound/soc/sof/
Dcompress.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 // This file is provided under a dual BSD/GPLv2 license. When using or
6 // Copyright(c) 2019-2020 Intel Corporation. All rights reserved.
12 #include "compress.h"
22 struct snd_soc_dai *dai) in sof_probe_compr_open() argument
25 snd_soc_component_get_drvdata(dai->component); in sof_probe_compr_open()
28 ret = snd_sof_probe_compr_assign(sdev, cstream, dai); in sof_probe_compr_open()
30 dev_err(dai->dev, "Failed to assign probe stream: %d\n", ret); in sof_probe_compr_open()
34 sdev->extractor_stream_tag = ret; in sof_probe_compr_open()
40 struct snd_soc_dai *dai) in sof_probe_compr_free() argument
[all …]
Dpcm.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 // This file is provided under a dual BSD/GPLv2 license. When using or
16 #include "sof-priv.h"
17 #include "sof-audio.h"
20 #include "compress.h"
31 int stream = substream->stream; in create_page_table()
35 return -EINVAL; in create_page_table()
37 return snd_sof_create_page_table(component->dev, dmab, in create_page_table()
38 spcm->stream[stream].page_table.area, size); in create_page_table()
44 struct snd_soc_component *scomp = spcm->scomp; in sof_pcm_dsp_params()
[all …]
/kernel/linux/linux-6.6/sound/soc/sof/amd/
Dacp-probes.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 // This file is provided under a dual BSD/GPLv2 license. When using or
16 #include "../sof-priv.h"
17 #include "../sof-client-probes.h"
18 #include "../sof-client.h"
21 #include "acp-dsp-offset.h"
25 struct snd_soc_dai *dai, u32 *stream_id) in acp_probes_compr_startup() argument
31 adata = sdev->pdata->hw_pdata; in acp_probes_compr_startup()
34 return -ENODEV; in acp_probes_compr_startup()
36 stream->cstream = cstream; in acp_probes_compr_startup()
[all …]
/kernel/linux/linux-6.6/include/sound/
Dsoc-dai.h1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc-dai.h -- ALSA SoC Layer
5 * Copyright: 2005-2008 Wolfson Microelectronics. PLC.
7 * Digital Audio Interface (DAI) API.
22 * DAI hardware audio formats.
56 * DAI Clock gating.
58 * DAI bit clocks can be gated (disabled) when the DAI is not
62 #define SND_SOC_DAIFMT_GATED (0 << 4) /* clock is gated */
66 * define GATED -> CONT. GATED will be selected if both are selected.
76 * DAI hardware signal polarity.
[all …]
/kernel/linux/linux-6.6/sound/soc/uniphier/
Daio.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (c) 2016-2018 Socionext Inc.
15 #include <sound/soc-dai.h>
43 /* IEC61937 Repetition period of data-burst in IEC60958 frames */
52 /* IEC61937 Repetition period of Pause data-burst in IEC60958 frames */
70 #define AUD_NAME_PCMIN1 "aio-pcmin1"
71 #define AUD_NAME_PCMIN2 "aio-pcmin2"
72 #define AUD_NAME_PCMIN3 "aio-pcmin3"
73 #define AUD_NAME_IECIN1 "aio-iecin1"
74 #define AUD_NAME_DIECIN1 "aio-diecin1"
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-compress.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-compress.c -- ALSA SoC Compress
21 #include <sound/soc-dpcm.h>
22 #include <sound/soc-link.h>
28 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_components_open()
33 if (!component->driver->compress_ops || in soc_compr_components_open()
34 !component->driver->compress_ops->open) in soc_compr_components_open()
37 ret = component->driver->compress_ops->open(component, cstream); in soc_compr_components_open()
39 dev_err(component->dev, in soc_compr_components_open()
40 "Compress ASoC: can't open platform %s: %d\n", in soc_compr_components_open()
[all …]
Dsoc-topology.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-topology.c -- ALSA SoC Topology
17 // topology data can contain kcontrols, DAPM graphs, widgets, DAIs, DAI links,
21 // firmware topology data is passed to component drivers for bespoke handling.
29 #include <sound/soc-dapm.h>
30 #include <sound/soc-topology.h>
90 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count()
92 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count()
93 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count()
95 return -EINVAL; in soc_tplg_check_elem_count()
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sst_mfld_platform.c - Intel MID Platform driver
5 * Copyright (C) 2010-2014 Intel Corp
23 #include "sst-mfld-platform.h"
24 #include "sst-atom-controls.h"
32 return -EINVAL; in sst_register_dsp()
33 if (!try_module_get(dev->dev->driver->owner)) in sst_register_dsp()
34 return -ENODEV; in sst_register_dsp()
37 dev_err(dev->dev, "we already have a device %s\n", sst->name); in sst_register_dsp()
38 module_put(dev->dev->driver->owner); in sst_register_dsp()
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sst_mfld_platform.c - Intel MID Platform driver
5 * Copyright (C) 2010-2014 Intel Corp
23 #include "sst-mfld-platform.h"
24 #include "sst-atom-controls.h"
32 return -EINVAL; in sst_register_dsp()
33 if (!try_module_get(dev->dev->driver->owner)) in sst_register_dsp()
34 return -ENODEV; in sst_register_dsp()
37 dev_err(dev->dev, "we already have a device %s\n", sst->name); in sst_register_dsp()
38 module_put(dev->dev->driver->owner); in sst_register_dsp()
[all …]
Dsst-atom-controls.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sst-atom-controls.c - Intel MID Platform driver DPCM ALSA controls for Mrfld
5 * Copyright (C) 2013-14 Intel Corp
10 * In the dpcm driver modelling when a particular FE/BE/Mixer/Pipe is active
20 #include "sst-mfld-platform.h"
21 #include "sst-atom-controls.h"
28 struct snd_sst_bytes_v2 *byte_data = drv->byte_stream; in sst_fill_byte_control()
30 byte_data->type = SST_CMD_BYTES_SET; in sst_fill_byte_control()
31 byte_data->ipc_msg = ipc_msg; in sst_fill_byte_control()
32 byte_data->block = block; in sst_fill_byte_control()
[all …]
/kernel/linux/linux-5.10/include/uapi/sound/
Dasoc.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM
8 * This program is free software; you can redistribute it and/or modify
42 /* individual kcontrol info types - can be mixed with other types */
53 /* individual widget kcontrol info types - can be mixed with other types */
60 /* DAPM widget types - add new items to the end */
120 /* vendor block IDs - please add new vendor types to end */
137 /* DAI flags */
142 /* DAI clock gating */
147 /* DAI mclk_direction */
[all …]
/kernel/linux/linux-6.6/include/uapi/sound/
Dasoc.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM
38 /* individual kcontrol info types - can be mixed with other types */
49 /* individual widget kcontrol info types - can be mixed with other types */
56 /* DAPM widget types - add new items to the end */
116 /* vendor block IDs - please add new vendor types to end */
133 /* DAI flags */
138 /* DAI clock gating */
143 /* DAI mclk_direction */
144 #define SND_SOC_TPLG_MCLK_CO 0 /* for codec, mclk is output */
[all …]
/kernel/linux/linux-5.10/sound/soc/sof/intel/
Dhda-dai.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 // This file is provided under a dual BSD/GPLv2 license. When using or
13 #include "../sof-priv.h"
14 #include "../sof-audio.h"
35 * to the link DMA stream_tag argument is assigned to one
36 * of the FEs connected to the BE DAI.
46 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, dir); in hda_check_fes()
47 fe_hstream = fe_substream->runtime->private_data; in hda_check_fes()
48 if (fe_hstream->stream_tag == stream_tag) in hda_check_fes()
64 int stream_dir = substream->stream; in hda_link_stream_assign()
[all …]
Dhda.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * This file is provided under a dual BSD/GPLv2 license. When using or
34 /* Legacy HDA registers and bits used - widths are variable */
43 #define SOF_HDA_WAKESTS_INT_MASK ((1 << 8) - 1)
77 #define SOF_HDA_VS_D0I3C_CIP BIT(0) /* Command-In-Progress */
238 /* Intel HD Audio Inter-Processor Communication Registers */
279 /* ADSPCS - Audio DSP Control & Status */
282 * Core Reset - asserted high
289 * Core run/stall - when set to '1' core is stalled
296 * Set Power Active - when set to '1' turn cores on
[all …]
/kernel/linux/linux-6.6/sound/soc/sof/
Dsof-client-probes.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright(c) 2019-2022 Intel Corporation. All rights reserved.
20 #include "sof-client.h"
21 #include "sof-client-probes.h"
34 struct snd_soc_dai *dai) in sof_probes_compr_startup() argument
36 struct snd_soc_card *card = snd_soc_component_get_drvdata(dai->component); in sof_probes_compr_startup()
38 struct sof_probes_priv *priv = cdev->data; in sof_probes_compr_startup()
39 const struct sof_probes_host_ops *ops = priv->host_ops; in sof_probes_compr_startup()
43 return -ENODEV; in sof_probes_compr_startup()
49 ret = ops->startup(cdev, cstream, dai, &priv->extractor_stream_tag); in sof_probes_compr_startup()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dsdm845-db845c.dts1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11 #include <dt-bindings/sound/qcom,q6afe.h>
12 #include <dt-bindings/sound/qcom,q6asm.h>
27 stdout-path = "serial0:115200n8";
30 dc12v: dc12v-regulator {
31 compatible = "regulator-fixed";
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/
Dsdm845-db845c.dts1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11 #include <dt-bindings/sound/qcom,q6afe.h>
12 #include <dt-bindings/sound/qcom,q6asm.h>
14 #include "sdm845-wcd9340.dtsi"
21 qcom,msm-id = <341 0x20001>;
22 qcom,board-id = <8 0>;
[all …]

12