| /Linux-v5.15/Documentation/devicetree/bindings/sound/ |
| D | qcom,q6asm.txt | 17 = 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";
|
| D | qcom,q6afe.txt | 15 = 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";
|
| D | fsl,audmix.txt | 36 - dais : Must contain a list of phandles to AUDMIX connected 37 DAIs. The current implementation requires two phandles 49 dais = <&sai4>, <&sai5>;
|
| D | audio-graph.yaml | 13 dais: 43 - dais
|
| D | qcom,sdm845.txt | 37 dailinks would be cpu/codec/platform dais. 44 = CPU, PLATFORM, CODEC dais subnodes
|
| D | qcom,apq8096.txt | 68 dailinks would be cpu/codec/platform dais. 75 = CPU, PLATFORM, CODEC dais subnodes
|
| D | audio-graph-card.yaml | 31 dais = <&cpu_port_a>;
|
| /Linux-v5.15/Documentation/sound/soc/ |
| D | machine.rst | 6 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.
|
| D | dpcm.rst | 11 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 …]
|
| D | codec-to-codec.rst | 105 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
|
| /Linux-v5.15/sound/soc/generic/ |
| D | simple-card-utils.c | 619 struct asoc_simple_dai *dais; in asoc_simple_init_priv() local 630 * dais (= CPU+Codec) in asoc_simple_init_priv() 643 dais = devm_kcalloc(dev, dai_num, sizeof(*dais), GFP_KERNEL); in asoc_simple_init_priv() 645 if (!dais || !dlcs) in asoc_simple_init_priv() 654 dev_dbg(dev, "link %d, dais %d, ccnf %d\n", in asoc_simple_init_priv() 664 priv->dais = dais; in asoc_simple_init_priv() 680 dai_props[i].cpu_dai = dais; in asoc_simple_init_priv() 683 dais += li->num[i].cpus; in asoc_simple_init_priv() 698 dai_props[i].codec_dai = dais; in asoc_simple_init_priv() 701 dais += li->num[i].codecs; in asoc_simple_init_priv()
|
| D | audio-graph-card.c | 445 of_for_each_phandle(&it, rc, node, "dais", NULL, 0) { in __graph_for_each_link() 509 * In Normal sound case, all DAIs are detected in graph_for_each_link() 658 * dais_num : number of DAIs in graph_get_dais_count() 664 * CPU1 --- Codec1 dais : 7 in graph_get_dais_count() 669 * => 7 DAIs = 4xCPU + 3xCodec in graph_get_dais_count() 674 * CPU1 --- Codec1 dais : 6 in graph_get_dais_count() 679 * => 6 DAIs = 4xCPU + 2xCodec in graph_get_dais_count() 684 * CPU1 -/ dais : 6 in graph_get_dais_count() 689 * => 6 DAIs = 4xCPU + 2xCodec in graph_get_dais_count() 694 * CPU1 --- Codec1 dais : 4 in graph_get_dais_count() [all …]
|
| D | simple-card.c | 425 * In Normal sound case, all DAIs are detected in simple_for_each_link() 533 * dais_num : number of DAIs in simple_get_dais_count() 539 * CPU1 --- Codec1 dais : 7 in simple_get_dais_count() 544 * => 7 DAIs = 4xCPU + 3xCodec in simple_get_dais_count() 549 * CPU1 --- Codec1 dais : 6 in simple_get_dais_count() 554 * => 6 DAIs = 4xCPU + 2xCodec in simple_get_dais_count() 559 * CPU1 -/ dais : 6 in simple_get_dais_count() 564 * => 6 DAIs = 4xCPU + 2xCodec in simple_get_dais_count() 569 * CPU1 --- Codec1 dais : 4 in simple_get_dais_count() 573 * => 4 DAIs = 2xCPU + 2xCodec in simple_get_dais_count()
|
| /Linux-v5.15/drivers/soundwire/ |
| D | intel.c | 1088 struct snd_soc_dai_driver *dais, in intel_create_dai() argument 1099 dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, in intel_create_dai() 1102 if (!dais[i].name) in intel_create_dai() 1106 dais[i].playback.channels_min = 1; in intel_create_dai() 1107 dais[i].playback.channels_max = max_ch; in intel_create_dai() 1108 dais[i].playback.rates = SNDRV_PCM_RATE_48000; in intel_create_dai() 1109 dais[i].playback.formats = SNDRV_PCM_FMTBIT_S16_LE; in intel_create_dai() 1113 dais[i].capture.channels_min = 1; in intel_create_dai() 1114 dais[i].capture.channels_max = max_ch; in intel_create_dai() 1115 dais[i].capture.rates = SNDRV_PCM_RATE_48000; in intel_create_dai() [all …]
|
| D | qcom.c | 1060 struct snd_soc_dai_driver *dais; in qcom_swrm_register_dais() local 1065 /* PDM dais are only tested for now */ in qcom_swrm_register_dais() 1066 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in qcom_swrm_register_dais() 1067 if (!dais) in qcom_swrm_register_dais() 1071 dais[i].name = devm_kasprintf(dev, GFP_KERNEL, "SDW Pin%d", i); in qcom_swrm_register_dais() 1072 if (!dais[i].name) in qcom_swrm_register_dais() 1076 stream = &dais[i].playback; in qcom_swrm_register_dais() 1078 stream = &dais[i].capture; in qcom_swrm_register_dais() 1085 dais[i].ops = &qcom_swrm_pdm_dai_ops; in qcom_swrm_register_dais() 1086 dais[i].id = i; in qcom_swrm_register_dais() [all …]
|
| /Linux-v5.15/sound/soc/intel/boards/ |
| D | sof_da7219_max98373.c | 299 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()
|
| D | bytcht_nocodec.c | 115 static struct snd_soc_dai_link dais[] = { variable 157 .dai_link = dais, 158 .num_links = ARRAY_SIZE(dais),
|
| /Linux-v5.15/Documentation/devicetree/bindings/display/bridge/ |
| D | tda998x.txt | 27 in question is used. The implementation allows one or two DAIs. If two 28 DAIs are defined, they must be of different type.
|
| /Linux-v5.15/sound/soc/ |
| D | soc-core.c | 218 debugfs_create_file("dais", 0444, snd_soc_debugfs_root, NULL, in snd_soc_debugfs_init() 488 * for rtd->dais in soc_new_pcm_runtime() 490 rtd->dais = devm_kcalloc(dev, dai_link->num_cpus + dai_link->num_codecs, in soc_new_pcm_runtime() 493 if (!rtd->dais) in soc_new_pcm_runtime() 497 * dais = [][][][][][][][][][][][][][][][][][] in soc_new_pcm_runtime() 805 * This function will search all registered components and their DAIs to 819 /* Find CPU DAI from registered DAIs */ in snd_soc_find_dai() 1067 * Get selectable format from each DAIs. in snd_soc_runtime_get_dai_fmt() 1225 * This function updates the DAI link format for all DAIs connected to the DAI 1486 /* remove all rtd connected DAIs in good order */ in soc_remove_link_dais() [all …]
|
| D | soc-devres.c | 20 * @component: The component the DAIs are registered for 61 * @num_dai: Number of DAIs to register
|
| /Linux-v5.15/sound/soc/intel/skylake/ |
| D | skl-pcm.c | 829 /* BE CPU Dais */ 1456 struct snd_soc_dai_driver *dais; in skl_platform_register() local 1461 skl->dais = kmemdup(skl_platform_dai, sizeof(skl_platform_dai), in skl_platform_register() 1463 if (!skl->dais) { in skl_platform_register() 1469 dais = krealloc(skl->dais, sizeof(skl_fe_dai) + in skl_platform_register() 1471 if (!dais) { in skl_platform_register() 1476 skl->dais = dais; in skl_platform_register() 1477 memcpy(&skl->dais[ARRAY_SIZE(skl_platform_dai)], skl_fe_dai, in skl_platform_register() 1483 skl->dais, num_dais); in skl_platform_register() 1501 kfree(skl->dais); in skl_platform_unregister()
|
| D | skl.h | 68 struct snd_soc_dai_driver *dais; member 150 bool use_tplg_pcm; /* use dais and dai links from topology */
|
| /Linux-v5.15/sound/soc/codecs/ |
| D | cs43130.c | 574 switch (cs43130->dais[dai_id].dai_format) { in cs43130_set_sp_fmt() 599 switch (cs43130->dais[dai_id].dai_mode) { in cs43130_set_sp_fmt() 813 if (cs43130->dais[dai->id].dai_mode == SND_SOC_DAIFMT_CBM_CFM) in cs43130_dsd_hw_params() 837 unsigned int sclk = cs43130->dais[dai->id].sclk; in cs43130_hw_params() 913 if (!sclk && cs43130->dais[dai->id].dai_mode == SND_SOC_DAIFMT_CBM_CFM) in cs43130_hw_params() 1477 cs43130->dais[codec_dai->id].dai_mode = SND_SOC_DAIFMT_CBS_CFS; in cs43130_pcm_set_fmt() 1480 cs43130->dais[codec_dai->id].dai_mode = SND_SOC_DAIFMT_CBM_CFM; in cs43130_pcm_set_fmt() 1489 cs43130->dais[codec_dai->id].dai_format = SND_SOC_DAIFMT_I2S; in cs43130_pcm_set_fmt() 1492 cs43130->dais[codec_dai->id].dai_format = SND_SOC_DAIFMT_LEFT_J; in cs43130_pcm_set_fmt() 1495 cs43130->dais[codec_dai->id].dai_format = SND_SOC_DAIFMT_DSP_A; in cs43130_pcm_set_fmt() [all …]
|
| /Linux-v5.15/include/sound/ |
| D | soc-dpcm.h | 53 * DSPs require triggering before/after their CPU platform and DAIs. 70 /* FE and BE DAIs*/
|
| /Linux-v5.15/sound/soc/qcom/qdsp6/ |
| D | q6asm-dai.c | 78 struct snd_soc_dai_driver *dais; member 1236 dev_err(dev, "No dais found in DT\n"); in of_q6asm_parse_dai_data() 1240 pdata->dais = devm_kcalloc(dev, pdata->num_dais, sizeof(*dai_drv), in of_q6asm_parse_dai_data() 1242 if (!pdata->dais) in of_q6asm_parse_dai_data() 1254 dai_drv = &pdata->dais[idx++]; in of_q6asm_parse_dai_data() 1298 pdata->dais, pdata->num_dais); in q6asm_dai_probe() 1303 { .compatible = "qcom,q6asm-dais" },
|