/linux-6.12.1/sound/soc/sdw_utils/ |
D | soc_sdw_utils.c | 62 .dais = { 80 .dais = { 100 .dais = { 120 .dais = { 153 .dais = { 167 .dais = { 187 .dais = { 201 .dais = { 221 .dais = { 240 .dais = { [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | qcom,q6apm.yaml | 24 $ref: /schemas/sound/qcom,q6apm-lpass-dais.yaml# 28 dais: 40 - dais 58 dais { 59 compatible = "qcom,q6apm-dais"; 64 compatible = "qcom,q6apm-lpass-dais";
|
D | qcom,q6asm.yaml | 21 dais: 23 $ref: /schemas/sound/qcom,q6asm-dais.yaml# 29 - dais 46 dais { 47 compatible = "qcom,q6asm-dais";
|
D | qcom,q6apm-dai.yaml | 13 This binding describes the Qualcomm APM DAIs in DSP 17 const: qcom,q6apm-dais 31 dais { 32 compatible = "qcom,q6apm-dais";
|
D | qcom,q6apm-lpass-dais.yaml | 4 $id: http://devicetree.org/schemas/sound/qcom,q6apm-lpass-dais.yaml# 19 - qcom,q6apm-lpass-dais 32 dais { 33 compatible = "qcom,q6apm-lpass-dais";
|
D | qcom,q6afe.yaml | 26 dais: 34 - dais 56 dais { 57 compatible = "qcom,q6afe-dais";
|
D | qcom,q6asm-dais.yaml | 4 $id: http://devicetree.org/schemas/sound/qcom,q6asm-dais.yaml# 20 - qcom,q6asm-dais 76 dais { 77 compatible = "qcom,q6asm-dais";
|
D | fsl,audmix.yaml | 52 dais: 53 description: contain a list of phandles to AUDMIX connected DAIs. 70 - dais 82 dais = <&sai4>, <&sai5>;
|
D | qcom,q6dsp-lpass-ports.yaml | 18 - qcom,q6afe-dais 154 dais { 155 compatible = "qcom,q6afe-dais";
|
D | audio-graph.yaml | 16 dais: 45 - dais
|
/linux-6.12.1/drivers/soundwire/ |
D | intel_ace2x.c | 603 struct snd_soc_dai_driver *dais, in intel_create_dai() argument 613 dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, in intel_create_dai() 616 if (!dais[i].name) in intel_create_dai() 620 dais[i].playback.channels_min = 1; in intel_create_dai() 621 dais[i].playback.channels_max = max_ch; in intel_create_dai() 625 dais[i].capture.channels_min = 1; in intel_create_dai() 626 dais[i].capture.channels_max = max_ch; in intel_create_dai() 629 dais[i].ops = &intel_pcm_dai_ops; in intel_create_dai() 641 struct snd_soc_dai_driver *dais; in intel_register_dai() local 654 /* DAIs are created based on total number of PDIs supported */ in intel_register_dai() [all …]
|
D | intel.c | 960 * does not throw the TRIGGER_SUSPEND. This leaves the DAIs in an unbalanced state. in intel_component_dais_suspend() 962 * and force the DAIs to release their resources. in intel_component_dais_suspend() 1000 struct snd_soc_dai_driver *dais, in intel_create_dai() argument 1010 dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, in intel_create_dai() 1013 if (!dais[i].name) in intel_create_dai() 1017 dais[i].playback.channels_min = 1; in intel_create_dai() 1018 dais[i].playback.channels_max = max_ch; in intel_create_dai() 1022 dais[i].capture.channels_min = 1; in intel_create_dai() 1023 dais[i].capture.channels_max = max_ch; in intel_create_dai() 1026 dais[i].ops = &intel_pcm_dai_ops; in intel_create_dai() [all …]
|
D | amd_manager.c | 728 struct snd_soc_dai_driver *dais; in amd_sdw_register_dais() local 735 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in amd_sdw_register_dais() 736 if (!dais) in amd_sdw_register_dais() 746 dais[i].name = devm_kasprintf(dev, GFP_KERNEL, "SDW%d Pin%d", amd_manager->instance, in amd_sdw_register_dais() 748 if (!dais[i].name) in amd_sdw_register_dais() 751 stream = &dais[i].playback; in amd_sdw_register_dais() 753 stream = &dais[i].capture; in amd_sdw_register_dais() 760 dais[i].ops = &amd_sdw_dai_ops; in amd_sdw_register_dais() 761 dais[i].id = i; in amd_sdw_register_dais() 765 dais, num_dais); in amd_sdw_register_dais()
|
/linux-6.12.1/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 | 107 will link and power those dais based on the name. 110 codec to codec when all DAIs on the link belong to codec components. 112 (channels, format, sample rate) supported by all DAIs on the link. Since
|
/linux-6.12.1/sound/soc/intel/avs/ |
D | pcm.c | 1479 struct snd_soc_dai_driver *dais; in avs_component_hda_probe() local 1496 dais = devm_kcalloc(component->dev, pcm_count, sizeof(*dais), in avs_component_hda_probe() 1498 if (!dais) in avs_component_hda_probe() 1508 memcpy(&dais[i], &hda_cpu_dai, sizeof(*dais)); in avs_component_hda_probe() 1509 dais[i].id = i; in avs_component_hda_probe() 1510 dais[i].name = devm_kasprintf(component->dev, GFP_KERNEL, in avs_component_hda_probe() 1512 if (!dais[i].name) { in avs_component_hda_probe() 1518 dais[i].playback.stream_name = in avs_component_hda_probe() 1521 if (!dais[i].playback.stream_name) { in avs_component_hda_probe() 1527 dais[i].playback.formats = pcm->stream[0].formats; in avs_component_hda_probe() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,apr.yaml | 174 dais { 175 compatible = "qcom,q6afe-dais"; 201 dais { 202 compatible = "qcom,q6apm-dais"; 207 compatible = "qcom,q6apm-lpass-dais";
|
/linux-6.12.1/sound/soc/generic/ |
D | audio-graph-card.c | 371 of_for_each_phandle(&it, rc, node, "dais", NULL, 0) { in __graph_for_each_link() 430 * In Normal sound case, all DAIs are detected in graph_for_each_link() 516 * dais_num : number of DAIs in graph_get_dais_count() 522 * CPU1 --- Codec1 dais : 7 in graph_get_dais_count() 527 * => 7 DAIs = 4xCPU + 3xCodec in graph_get_dais_count() 532 * CPU1 --- Codec1 dais : 6 in graph_get_dais_count() 537 * => 6 DAIs = 4xCPU + 2xCodec in graph_get_dais_count() 542 * CPU1 -/ dais : 6 in graph_get_dais_count() 547 * => 6 DAIs = 4xCPU + 2xCodec in graph_get_dais_count() 552 * CPU1 --- Codec1 dais : 4 in graph_get_dais_count() [all …]
|
D | simple-card.c | 489 * In Normal sound case, all DAIs are detected in simple_for_each_link() 646 * dais_num : number of DAIs in simple_get_dais_count() 652 * CPU1 --- Codec1 dais : 7 in simple_get_dais_count() 657 * => 7 DAIs = 4xCPU + 3xCodec in simple_get_dais_count() 662 * CPU1 --- Codec1 dais : 6 in simple_get_dais_count() 667 * => 6 DAIs = 4xCPU + 2xCodec in simple_get_dais_count() 672 * CPU1 -/ dais : 6 in simple_get_dais_count() 677 * => 6 DAIs = 4xCPU + 2xCodec in simple_get_dais_count() 682 * CPU1 --- Codec1 dais : 4 in simple_get_dais_count() 686 * => 4 DAIs = 2xCPU + 2xCodec in simple_get_dais_count()
|
D | simple-card-utils.c | 868 struct simple_util_dai *dais; in simple_util_init_priv() local 879 * dais (= CPU+Codec) in simple_util_init_priv() 892 dais = devm_kcalloc(dev, dai_num, sizeof(*dais), GFP_KERNEL); in simple_util_init_priv() 894 if (!dais || !dlcs) in simple_util_init_priv() 903 dev_dbg(dev, "link %d, dais %d, ccnf %d\n", in simple_util_init_priv() 908 priv->dais = dais; in simple_util_init_priv() 923 dai_props[i].cpu_dai = dais; in simple_util_init_priv() 926 dais += li->num[i].cpus; in simple_util_init_priv() 939 dai_props[i].codec_dai = dais; in simple_util_init_priv() 942 dais += li->num[i].codecs; in simple_util_init_priv()
|
/linux-6.12.1/sound/soc/qcom/qdsp6/ |
D | q6apm-lpass-dais.c | 284 struct snd_soc_dai_driver *dais; in q6apm_lpass_dai_dev_probe() local 298 dais = q6dsp_audio_ports_set_config(dev, &cfg, &num_dais); in q6apm_lpass_dai_dev_probe() 300 return devm_snd_soc_register_component(dev, &q6apm_lpass_dai_component, dais, num_dais); in q6apm_lpass_dai_dev_probe() 305 { .compatible = "qcom,q6apm-lpass-dais" }, 313 .name = "q6apm-lpass-dais",
|
/linux-6.12.1/sound/soc/codecs/ |
D | cs43130.c | 596 switch (cs43130->dais[dai_id].dai_format) { in cs43130_set_sp_fmt() 621 switch (cs43130->dais[dai_id].dai_invert) { in cs43130_set_sp_fmt() 642 switch (cs43130->dais[dai_id].dai_mode) { in cs43130_set_sp_fmt() 854 if (cs43130->dais[dai->id].dai_mode == SND_SOC_DAIFMT_CBM_CFM) in cs43130_dsd_hw_params() 878 unsigned int sclk = cs43130->dais[dai->id].sclk; in cs43130_hw_params() 954 if (!sclk && cs43130->dais[dai->id].dai_mode == SND_SOC_DAIFMT_CBM_CFM) in cs43130_hw_params() 1520 cs43130->dais[codec_dai->id].dai_mode = SND_SOC_DAIFMT_CBS_CFS; in cs43130_pcm_set_fmt() 1523 cs43130->dais[codec_dai->id].dai_mode = SND_SOC_DAIFMT_CBM_CFM; in cs43130_pcm_set_fmt() 1532 cs43130->dais[codec_dai->id].dai_invert = SND_SOC_DAIFMT_NB_NF; in cs43130_pcm_set_fmt() 1535 cs43130->dais[codec_dai->id].dai_invert = SND_SOC_DAIFMT_IB_NF; in cs43130_pcm_set_fmt() [all …]
|
/linux-6.12.1/sound/soc/intel/boards/ |
D | bytcht_nocodec.c | 115 static struct snd_soc_dai_link dais[] = { variable 157 .dai_link = dais, 158 .num_links = ARRAY_SIZE(dais),
|
/linux-6.12.1/sound/soc/ |
D | soc-core.c | 218 debugfs_create_file("dais", 0444, snd_soc_debugfs_root, NULL, in snd_soc_debugfs_init() 543 * for rtd->dais in soc_new_pcm_runtime() 545 rtd->dais = devm_kcalloc(dev, dai_link->num_cpus + dai_link->num_codecs, in soc_new_pcm_runtime() 548 if (!rtd->dais) in soc_new_pcm_runtime() 552 * dais = [][][][][][][][][][][][][][][][][][] in soc_new_pcm_runtime() 902 * This function will search all registered components and their DAIs to 916 /* Find CPU DAI from registered DAIs */ in snd_soc_find_dai() 1264 * Get selectable format from each DAIs. in snd_soc_runtime_get_dai_fmt() 1417 * This function updates the DAI link format for all DAIs connected to the DAI 1673 /* remove all rtd connected DAIs in good order */ in soc_remove_link_dais() [all …]
|