| /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/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 …] 
 | 
| /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 hardwar 220 snd_soc_dai_activate(struct snd_soc_dai * dai,int stream) snd_soc_dai_activate()  argument  225 snd_soc_dai_deactivate(struct snd_soc_dai * dai,int stream) snd_soc_dai_deactivate()  argument  472 snd_soc_dai_get_pcm_stream(const struct snd_soc_dai * dai,int stream) snd_soc_dai_get_pcm_stream()  argument  478 snd_soc_dai_get_widget_playback(dai) global()  argument  479 snd_soc_dai_get_widget_capture(dai) global()  argument  481 snd_soc_dai_get_widget(struct snd_soc_dai * dai,int stream) snd_soc_dai_get_widget()  argument  486 snd_soc_dai_set_widget_playback(dai,widget) global()  argument  487 snd_soc_dai_set_widget_capture(dai,widget) global()  argument  489 snd_soc_dai_set_widget(struct snd_soc_dai * dai,int stream,struct snd_soc_dapm_widget * widget) snd_soc_dai_set_widget()  argument  494 snd_soc_dai_dma_data_get_playback(dai) global()  argument  495 snd_soc_dai_dma_data_get_capture(dai) global()  argument  496 snd_soc_dai_get_dma_data(dai,ss) global()  argument  497 snd_soc_dai_dma_data_get(const struct snd_soc_dai * dai,int stream) snd_soc_dai_dma_data_get()  argument  502 snd_soc_dai_dma_data_set_playback(dai,data) global()  argument  503 snd_soc_dai_dma_data_set_capture(dai,data) global()  argument  504 snd_soc_dai_set_dma_data(dai,ss,data) global()  argument  505 snd_soc_dai_dma_data_set(struct snd_soc_dai * dai,int stream,void * data) snd_soc_dai_dma_data_set()  argument  510 snd_soc_dai_init_dma_data(struct snd_soc_dai * dai,void * playback,void * capture) snd_soc_dai_init_dma_data()  argument  516 snd_soc_dai_tdm_mask_get(const struct snd_soc_dai * dai,int stream) snd_soc_dai_tdm_mask_get()  argument  522 snd_soc_dai_tdm_mask_set(struct snd_soc_dai * dai,int stream,unsigned int tdm_mask) snd_soc_dai_tdm_mask_set()  argument  528 snd_soc_dai_stream_active(const struct snd_soc_dai * dai,int stream) snd_soc_dai_stream_active()  argument  535 snd_soc_dai_set_drvdata(struct snd_soc_dai * dai,void * data) snd_soc_dai_set_drvdata()  argument  541 snd_soc_dai_get_drvdata(struct snd_soc_dai * dai) snd_soc_dai_get_drvdata()  argument  558 snd_soc_dai_set_stream(struct snd_soc_dai * dai,void * stream,int direction) snd_soc_dai_set_stream()  argument  578 snd_soc_dai_get_stream(struct snd_soc_dai * dai,int direction) snd_soc_dai_get_stream()  argument  [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-probe 25 acp_probes_compr_startup(struct sof_client_dev * cdev,struct snd_compr_stream * cstream,struct snd_soc_dai * dai,u32 * stream_id) acp_probes_compr_startup()  argument  47 acp_probes_compr_shutdown(struct sof_client_dev * cdev,struct snd_compr_stream * cstream,struct snd_soc_dai * dai) acp_probes_compr_shutdown()  argument  71 acp_probes_compr_set_params(struct sof_client_dev * cdev,struct snd_compr_stream * cstream,struct snd_compr_params * params,struct snd_soc_dai * dai) acp_probes_compr_set_params()  argument  103 acp_probes_compr_trigger(struct sof_client_dev * cdev,struct snd_compr_stream * cstream,int cmd,struct snd_soc_dai * dai) acp_probes_compr_trigger()  argument  112 acp_probes_compr_pointer(struct sof_client_dev * cdev,struct snd_compr_stream * cstream,struct snd_compr_tstamp * tstamp,struct snd_soc_dai * dai) acp_probes_compr_pointer()  argument  [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 21 #include "sof-client.h" 22 #include "sof-client-probes.h" 23 #include "sof-audio.h" 26 #include "ipc4-pri 34 sof_probes_compr_startup(struct snd_compr_stream * cstream,struct snd_soc_dai * dai) sof_probes_compr_startup()  argument  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" 29  * from dB gain 20th root of 10 in Q1.16 fixed-point notation 32 /* 40th root of 10 in Q1.16 fixed-point notation*/ 44  * sof_update_ipc_object - Parse multiple sets of tokens within the token array associated with the 66 	token_list = tplg_ops ? tplg_ops->token_list : NULL;  in sof_update_ipc_object() 67 	/* nothing to do if token_list is NULL */  in sof_update_ipc_object() 72 		dev_err(scomp->dev, "Invalid token count for token ID: %d\n", token_id);  in sof_update_ipc_object() [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/ | 
| 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-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 …] 
 | 
| 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/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> 19 #include <linux/dma-mapping.h> 23 #include "q6dsp-errno.h" 25 #define DRV_NAME	"q6asm-fe-da [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 …] 
 |