/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,q6asm-dais.yaml | 1 # 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 …]
|
H A D | qcom,q6asm.yaml | 1 # 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 …]
|
/linux/sound/soc/ |
H A D | soc-compress.c | 1 // 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 …]
|
H A D | soc-topology.c | 1 // 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-topolog 291 soc_tplg_dai_load(struct soc_tplg * tplg,struct snd_soc_dai_driver * dai_drv,struct snd_soc_tplg_pcm * pcm,struct snd_soc_dai * dai) soc_tplg_dai_load() argument 412 struct snd_soc_dai *dai, *_dai; soc_tplg_remove_dai() local 1397 struct snd_soc_dai *dai; soc_tplg_dai_create() local 1866 struct snd_soc_dai *dai; soc_tplg_dai_config() local 1934 struct snd_soc_tplg_dai *dai = (struct snd_soc_tplg_dai *)tplg->pos; soc_tplg_dai_elems_load() local [all...] |
H A D | soc-topology-test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * soc-topology-test.c -- ALSA SoC Topology Kernel Unit Tests 11 #include <sound/soc-topology.h> 20 * device_driver name is used in some of the prints (fmt_single_name) so 27 test_dev = kunit_device_register(test, "sound-soc-topology-test"); in snd_soc_tplg_test_init() 30 return -ENODEV; in snd_soc_tplg_test_init() 59 ret = snd_soc_tplg_component_load(component, NULL, &kunit_comp->fw); in d_probe() 60 KUNIT_EXPECT_EQ_MSG(kunit_comp->kunit, kunit_comp->expect, ret, in d_probe() 73 KUNIT_EXPECT_EQ(kunit_comp->kunit, 0, ret); in d_remove() 81 SND_SOC_DAILINK_DEF(platform, DAILINK_COMP_ARRAY(COMP_PLATFORM("sound-soc-topology-test"))); [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-modem-qdsp6.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 * msm8916-modem-qdsp6.dtsi describes the typical modem setup on MSM8916 devices 5 * modem firmware. The digital/analog codec in the SoC/PMIC is used by default, 6 * but boards can define additional codecs by adding additional backend DAI links. 9 #include <dt-bindings/sound/qcom,q6afe.h> 10 #include <dt-bindings/sound/qcom,q6asm.h> 49 dai@16 { 51 qcom,sd-lines = <0 1>; 53 dai@20 { 55 qcom,sd-lines = <0 1>; [all …]
|
H A D | sdm845-db845c.dts | 1 // 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 …]
|
H A D | msm8953.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 4 #include <dt-bindings/clock/qcom,gcc-msm8953.h> 5 #include <dt-bindings/clock/qcom,rpmcc.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/power/qcom-rpmpd.h> 9 #include <dt-bindings/soc/qcom,apr.h> 10 #include <dt-bindings/sound/qcom,q6afe.h> 11 #include <dt-bindings/sound/qcom,q6asm.h> 12 #include <dt-bindings/thermal/thermal.h> [all …]
|
/linux/include/sound/ |
H A D | soc-dai.h | 1 /* 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 …]
|
/linux/sound/soc/sof/amd/ |
H A D | acp-probes.c | 1 // 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 …]
|
/linux/sound/soc/uniphier/ |
H A D | aio.h | 1 /* 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 …]
|
/linux/sound/soc/intel/atom/ |
H A D | sst-mfld-platform-pcm.c | 1 // 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 …]
|
H A D | sst-atom-controls.c | 1 // 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 …]
|
/linux/sound/soc/sof/ |
H A D | sof-client-probes.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2019-2022 Intel Corporation 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 in sof_probes_compr_startup() 60 sof_probes_compr_shutdown(struct snd_compr_stream * cstream,struct snd_soc_dai * dai) sof_probes_compr_shutdown() argument 99 sof_probes_compr_set_params(struct snd_compr_stream * cstream,struct snd_compr_params * params,struct snd_soc_dai * dai) sof_probes_compr_set_params() argument 129 sof_probes_compr_trigger(struct snd_compr_stream * cstream,int cmd,struct snd_soc_dai * dai) sof_probes_compr_trigger() argument 141 sof_probes_compr_pointer(struct snd_compr_stream * cstream,struct snd_compr_tstamp * tstamp,struct snd_soc_dai * dai) sof_probes_compr_pointer() argument [all...] |
H A D | topology.c | 1 // 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 18 #include "sof-priv.h" 19 #include "sof-audio.h" 25 * from dB gain 20th root of 10 in Q1.16 fixed-point notation 28 /* 40th root of 10 in Q1.16 fixed-point notation*/ 40 * sof_update_ipc_object - Parse multiple sets of tokens within the token array associated with the 62 token_list = tplg_ops ? tplg_ops->token_list : NULL; in sof_update_ipc_object() 63 /* nothing to do if token_list is NULL */ in sof_update_ipc_object() 68 dev_err(scomp->dev, "Invalid token count for token ID: %d\n", token_id); in sof_update_ipc_object() [all …]
|
H A D | sof-priv.h | 1 /* 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 48 #define SOF_DBG_FORCE_NOCODEC BIT(10) /* ignore all codec-related 61 /* Output this dump (at the DEBUG level) only when SOF_DBG_PRINT_ALL_DUMPS is set */ 79 /* convenience constructor for DAI driver streams */ 95 u32 substate; /* platform-specific */ 134 * struct snd_sof_platform_stream_params - platform dependent stream parameters 136 * is true 151 * struct sof_firmware - Container struct for SOF firmware 267 * the DSP on the DAI side (link/codec/DMIC/etc). [all …]
|
/linux/include/uapi/sound/ |
H A D | asoc.h | 1 /* 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 …]
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6asm-dai.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved. 5 #include <dt-bindings/sound/qcom,q6asm.h> 13 #include <sound/soc-dapm.h> 18 #include <linux/dma-mapping.h> 22 #include "q6dsp-errno.h" 24 #define DRV_NAME "q6asm-fe-dai" 180 struct snd_pcm_substream *substream = prtd->substream; in event_handler() 184 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in event_handler() 185 q6asm_write_async(prtd->audio_client, prtd->stream_id, in event_handler() [all …]
|
/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 10 L: *Mailing list* that is relevant to this area 12 Supported: Someone is actually paid to look after this. 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 32 Type is one of: git, hg, quilt, stgit, topgit 46 N: [^a-z]tegra all files whose path contains tegra 52 match occurs. When an N: match occurs, git log history is used [all …]
|