Home
last modified time | relevance | path

Searched full:dais (Results 1 – 25 of 122) sorted by relevance

12345

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dqcom,q6asm.txt17 = ASM DAIs (Digial Audio Interface)
18 "dais" subnode of the ASM node represents dai specific configuration
23 Definition: must be "qcom,q6asm-dais".
30 == ASM DAI is subnode of "dais" and represent a dai, it includes board specific
39 Usage: Required for Compress offload dais
47 Usage: Required for Compress offload dais
49 Definition: present for Compress offload dais
58 q6asmdai: dais {
59 compatible = "qcom,q6asm-dais";
Dqcom,q6afe.txt15 = AFE DAIs (Digial Audio Interface)
16 "dais" subnode of the AFE node. It represents afe dais, each afe dai is a
17 subnode of "dais" representing board specific dai setup.
18 "dais" node should have following properties followed by dai children.
23 Definition: must be "qcom,q6afe-dais"
40 == AFE DAI is subnode of "dais" and represent a dai, it includes board specific
125 dais {
126 compatible = "qcom,q6afe-dais";
Daudio-graph-card.txt30 - dais : list of CPU DAI port{s}
42 dais = <&cpu_port>;
75 dais = <&cpu_port0
151 dais = <&cpu_port>;
187 dais = <&cpu_port>;
246 dais = <&snd_port0 /* ak4613 */
Dfsl,audmix.txt36 - dais : Must contain a list of phandles to AUDMIX connected
37 DAIs. The current implementation requires two phandles
49 dais = <&sai4>, <&sai5>;
Dqcom,sdm845.txt37 dailinks would be cpu/codec/platform dais.
44 = CPU, PLATFORM, CODEC dais subnodes
Dqcom,apq8096.txt68 dailinks would be cpu/codec/platform dais.
75 = CPU, PLATFORM, CODEC dais subnodes
/kernel/linux/linux-5.10/sound/soc/generic/
Daudio-graph-card.c245 dai_props->cpu_dai = &priv->dais[li->dais++]; in graph_dai_link_of_dpcm()
276 dai_props->codec_dai = &priv->dais[li->dais++]; in graph_dai_link_of_dpcm()
354 dai_props->cpu_dai = &priv->dais[li->dais++]; in graph_dai_link_of()
356 dai_props->codec_dai = &priv->dais[li->dais++]; in graph_dai_link_of()
431 of_for_each_phandle(&it, rc, node, "dais", NULL, 0) { in graph_for_each_link()
496 * In Normal sound case, all DAIs are detected in graph_parse_of()
523 li->dais += 2; /* 1xCPU + 1xCodec */ in graph_count_noml()
539 li->dais++; /* 1xCPU */ in graph_count_dpcm()
544 li->dais++; /* 1xCodec */ in graph_count_dpcm()
560 * dais_num : number of DAIs in graph_get_dais_count()
[all …]
Dsimple-card.c162 dai_props->cpu_dai = &priv->dais[li->dais++]; in simple_dai_link_of_dpcm()
192 dai_props->codec_dai = &priv->dais[li->dais++]; in simple_dai_link_of_dpcm()
286 dai_props->cpu_dai = &priv->dais[li->dais++]; in simple_dai_link_of()
288 dai_props->codec_dai = &priv->dais[li->dais++]; in simple_dai_link_of()
456 * In Normal sound case, all DAIs are detected in simple_parse_of()
486 li->dais++; /* CPU or Codec */ in simple_count_noml()
498 li->dais++; /* CPU or Codec */ in simple_count_dpcm()
515 * dais_num : number of DAIs in simple_get_dais_count()
521 * CPU1 --- Codec1 dais : 7 in simple_get_dais_count()
526 * => 7 DAIs = 4xCPU + 3xCodec in simple_get_dais_count()
[all …]
Dsimple-card-utils.c604 struct asoc_simple_dai *dais; in asoc_simple_init_priv() local
610 dais = devm_kcalloc(dev, li->dais, sizeof(*dais), GFP_KERNEL); in asoc_simple_init_priv()
611 if (!dai_props || !dai_link || !dais) in asoc_simple_init_priv()
641 priv->dais = dais; in asoc_simple_init_priv()
/kernel/linux/linux-5.10/Documentation/sound/soc/
Dmachine.rst6 component drivers (e.g. codecs, platforms and DAIs). It also describes the
25 * after the codec and DAIs do any PM work. */
48 of any machine audio tasks that have to be done before or after the codec, DAIs
54 The machine DAI configuration glues all the codec and CPU DAIs together. It can
74 struct snd_soc_card then sets up the machine with its DAIs. e.g.
Ddpcm.rst11 drivers that expose several ALSA PCMs and can route to multiple DAIs.
29 | Front End PCMs | SoC DSP | Back End DAIs | Audio devices |
48 supports 6 back end (BE) DAIs. Each FE PCM can digitally route audio data to any
49 of the BE DAIs. The FE PCM devices can also route audio to more than 1 BE DAI.
130 | Front End PCMs | SoC DSP | Back End DAIs | Audio devices |
173 The FE DAI above sets the codec and code DAIs to dummy devices since the BE is
176 The BE DAIs are configured as follows :-
284 1. Front End PCM DAIs - i.e. struct snd_soc_dai_driver.
286 2. DAPM graph showing DSP audio routing from FE DAIs to BEs.
337 between both DAIs.
[all …]
Dcodec-to-codec.rst105 will link and power those dais based on the name.
108 codec to codec when all DAIs on the link belong to codec components.
110 (channels, format, sample rate) supported by all DAIs on the link. Since
/kernel/linux/linux-5.10/drivers/soundwire/
Dintel.c1163 struct snd_soc_dai_driver *dais, in intel_create_dai() argument
1174 dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, in intel_create_dai()
1177 if (!dais[i].name) in intel_create_dai()
1181 dais[i].playback.channels_min = 1; in intel_create_dai()
1182 dais[i].playback.channels_max = max_ch; in intel_create_dai()
1183 dais[i].playback.rates = SNDRV_PCM_RATE_48000; in intel_create_dai()
1184 dais[i].playback.formats = SNDRV_PCM_FMTBIT_S16_LE; in intel_create_dai()
1188 dais[i].capture.channels_min = 1; in intel_create_dai()
1189 dais[i].capture.channels_max = max_ch; in intel_create_dai()
1190 dais[i].capture.rates = SNDRV_PCM_RATE_48000; in intel_create_dai()
[all …]
Dqcom.c690 struct snd_soc_dai_driver *dais; in qcom_swrm_register_dais() local
695 /* PDM dais are only tested for now */ in qcom_swrm_register_dais()
696 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in qcom_swrm_register_dais()
697 if (!dais) in qcom_swrm_register_dais()
701 dais[i].name = devm_kasprintf(dev, GFP_KERNEL, "SDW Pin%d", i); in qcom_swrm_register_dais()
702 if (!dais[i].name) in qcom_swrm_register_dais()
706 stream = &dais[i].playback; in qcom_swrm_register_dais()
708 stream = &dais[i].capture; in qcom_swrm_register_dais()
715 dais[i].ops = &qcom_swrm_pdm_dai_ops; in qcom_swrm_register_dais()
716 dais[i].id = i; in qcom_swrm_register_dais()
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dsof_da7219_max98373.c299 static struct snd_soc_dai_link dais[] = { variable
366 .dai_link = dais,
367 .num_links = ARRAY_SIZE(dais),
383 .dai_link = dais,
384 .num_links = ARRAY_SIZE(dais),
406 /* By default dais[0] is configured for max98373 */ in audio_probe()
408 dais[0] = (struct snd_soc_dai_link) { in audio_probe()
Dbytcht_nocodec.c115 static struct snd_soc_dai_link dais[] = { variable
158 .dai_link = dais,
159 .num_links = ARRAY_SIZE(dais),
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/
Dtda998x.txt27 in question is used. The implementation allows one or two DAIs. If two
28 DAIs are defined, they must be of different type.
/kernel/linux/linux-5.10/sound/soc/
Dsoc-core.c219 debugfs_create_file("dais", 0444, snd_soc_debugfs_root, NULL, in snd_soc_debugfs_init()
479 * for rtd->dais in soc_new_pcm_runtime()
481 rtd->dais = devm_kcalloc(dev, dai_link->num_cpus + dai_link->num_codecs, in soc_new_pcm_runtime()
484 if (!rtd->dais) in soc_new_pcm_runtime()
488 * dais = [][][][][][][][][][][][][][][][][][] in soc_new_pcm_runtime()
804 * This function will search all registered components and their DAIs to
818 /* Find CPU DAI from registered DAIs */ in snd_soc_find_dai()
1277 /* remove all rtd connected DAIs in good order */ in soc_remove_link_dais()
1295 /* probe all rtd connected DAIs in good order */ in soc_probe_link_dais()
1414 * This function updates the DAI link format for all DAIs connected to the DAI
[all …]
Dsoc-devres.c20 * @component: The component the DAIs are registered for
61 * @num_dai: Number of DAIs to register
/kernel/linux/linux-5.10/arch/arm64/boot/dts/zte/
Dzx296718-pcbox.dts39 dais = <&spdif0_port>;
44 dais = <&i2s0_port>;
Dzx296718-evb.dts62 dais = <&spdif0_port>;
67 dais = <&i2s0_port>;
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
Dskl-pcm.c830 /* BE CPU Dais */
1465 struct snd_soc_dai_driver *dais; in skl_platform_register() local
1470 skl->dais = kmemdup(skl_platform_dai, sizeof(skl_platform_dai), in skl_platform_register()
1472 if (!skl->dais) { in skl_platform_register()
1478 dais = krealloc(skl->dais, sizeof(skl_fe_dai) + in skl_platform_register()
1480 if (!dais) { in skl_platform_register()
1485 skl->dais = dais; in skl_platform_register()
1486 memcpy(&skl->dais[ARRAY_SIZE(skl_platform_dai)], skl_fe_dai, in skl_platform_register()
1492 skl->dais, num_dais); in skl_platform_register()
1510 kfree(skl->dais); in skl_platform_unregister()
Dskl.h68 struct snd_soc_dai_driver *dais; member
150 bool use_tplg_pcm; /* use dais and dai links from topology */
/kernel/linux/linux-5.10/sound/soc/codecs/
Dcs43130.c573 switch (cs43130->dais[dai_id].dai_format) { in cs43130_set_sp_fmt()
598 switch (cs43130->dais[dai_id].dai_mode) { in cs43130_set_sp_fmt()
812 if (cs43130->dais[dai->id].dai_mode == SND_SOC_DAIFMT_CBM_CFM) in cs43130_dsd_hw_params()
836 unsigned int sclk = cs43130->dais[dai->id].sclk; in cs43130_hw_params()
912 if (!sclk && cs43130->dais[dai->id].dai_mode == SND_SOC_DAIFMT_CBM_CFM) in cs43130_hw_params()
1476 cs43130->dais[codec_dai->id].dai_mode = SND_SOC_DAIFMT_CBS_CFS; in cs43130_pcm_set_fmt()
1479 cs43130->dais[codec_dai->id].dai_mode = SND_SOC_DAIFMT_CBM_CFM; in cs43130_pcm_set_fmt()
1488 cs43130->dais[codec_dai->id].dai_format = SND_SOC_DAIFMT_I2S; in cs43130_pcm_set_fmt()
1491 cs43130->dais[codec_dai->id].dai_format = SND_SOC_DAIFMT_LEFT_J; in cs43130_pcm_set_fmt()
1494 cs43130->dais[codec_dai->id].dai_format = SND_SOC_DAIFMT_DSP_A; in cs43130_pcm_set_fmt()
[all …]
/kernel/linux/linux-5.10/include/sound/
Dsoc-dpcm.h53 * DSPs require triggering before/after their CPU platform and DAIs.
70 /* FE and BE DAIs*/

12345