/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A 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";
|
H A D | qcom,q6asm.yaml | 21 dais: 23 $ref: /schemas/sound/qcom,q6asm-dais.yaml# 29 - dais 46 dais { 47 compatible = "qcom,q6asm-dais";
|
H A 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";
|
H A 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";
|
H A D | qcom,q6afe.yaml | 26 dais: 34 - dais 56 dais { 57 compatible = "qcom,q6afe-dais";
|
H A 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";
|
H A 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>;
|
H A D | qcom,q6dsp-lpass-ports.yaml | 18 - qcom,q6afe-dais 154 dais { 155 compatible = "qcom,q6afe-dais";
|
H A D | audio-graph.yaml | 13 dais: 48 - dais
|
/openbmc/linux/drivers/soundwire/ |
H A D | intel_ace2x.c | 548 struct snd_soc_dai_driver *dais, in intel_create_dai() argument 558 dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, in intel_create_dai() 561 if (!dais[i].name) in intel_create_dai() 565 dais[i].playback.channels_min = 1; in intel_create_dai() 566 dais[i].playback.channels_max = max_ch; in intel_create_dai() 570 dais[i].capture.channels_min = 1; in intel_create_dai() 571 dais[i].capture.channels_max = max_ch; in intel_create_dai() 574 dais[i].ops = &intel_pcm_dai_ops; in intel_create_dai() 586 struct snd_soc_dai_driver *dais; in intel_register_dai() local 599 /* DAIs are created based on total number of PDIs supported */ in intel_register_dai() [all …]
|
H A D | intel.c | 910 * does not throw the TRIGGER_SUSPEND. This leaves the DAIs in an unbalanced state. in intel_component_dais_suspend() 912 * and force the DAIs to release their resources. in intel_component_dais_suspend() 950 struct snd_soc_dai_driver *dais, in intel_create_dai() argument 960 dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, in intel_create_dai() 963 if (!dais[i].name) in intel_create_dai() 967 dais[i].playback.channels_min = 1; in intel_create_dai() 968 dais[i].playback.channels_max = max_ch; in intel_create_dai() 972 dais[i].capture.channels_min = 1; in intel_create_dai() 973 dais[i].capture.channels_max = max_ch; in intel_create_dai() 976 dais[i].ops = &intel_pcm_dai_ops; in intel_create_dai() [all …]
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | sof_sdw.c | 666 * link has more than one codec DAIs. Set codec channel mask and in sdw_hw_free() 714 .dais = { 728 .dais = { 743 .dais = { 758 .dais = { 780 .dais = { 794 .dais = { 809 .dais = { 823 .dais = { 838 .dais [all...] |
H A D | sof_da7219_max98373.c | 322 static struct snd_soc_dai_link dais[] = { variable 389 .dai_link = dais, 390 .num_links = ARRAY_SIZE(dais), 406 .dai_link = dais, 407 .num_links = ARRAY_SIZE(dais), 429 /* By default dais[0] is configured for max98373 */ in audio_probe() 431 dais[0] = (struct snd_soc_dai_link) { in audio_probe()
|
H A D | bytcht_nocodec.c | 115 static struct snd_soc_dai_link dais[] = { variable 157 .dai_link = dais, 158 .num_links = ARRAY_SIZE(dais),
|
/openbmc/linux/Documentation/sound/soc/ |
H A 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.
|
H A 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 …]
|
H A 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
|
/openbmc/linux/Documentation/devicetree/bindings/soc/qcom/ |
H A D | qcom,apr.yaml | 174 dais { 175 compatible = "qcom,q6afe-dais"; 201 dais { 202 compatible = "qcom,q6apm-dais"; 207 compatible = "qcom,q6apm-lpass-dais";
|
/openbmc/linux/sound/soc/generic/ |
H A D | audio-graph-card.c | 344 of_for_each_phandle(&it, rc, node, "dais", NULL, 0) { in __graph_for_each_link() 410 * In Normal sound case, all DAIs are detected in graph_for_each_link() 496 * dais_num : number of DAIs in graph_get_dais_count() 502 * CPU1 --- Codec1 dais : 7 in graph_get_dais_count() 507 * => 7 DAIs = 4xCPU + 3xCodec in graph_get_dais_count() 512 * CPU1 --- Codec1 dais : 6 in graph_get_dais_count() 517 * => 6 DAIs = 4xCPU + 2xCodec in graph_get_dais_count() 522 * CPU1 -/ dais : 6 in graph_get_dais_count() 527 * => 6 DAIs = 4xCPU + 2xCodec in graph_get_dais_count() 532 * CPU1 --- Codec1 dais : 4 in graph_get_dais_count() [all …]
|
H A D | simple-card.c | 477 * In Normal sound case, all DAIs are detected in simple_for_each_link() 634 * dais_num : number of DAIs in simple_get_dais_count() 640 * CPU1 --- Codec1 dais : 7 in simple_get_dais_count() 645 * => 7 DAIs = 4xCPU + 3xCodec in simple_get_dais_count() 650 * CPU1 --- Codec1 dais : 6 in simple_get_dais_count() 655 * => 6 DAIs = 4xCPU + 2xCodec in simple_get_dais_count() 660 * CPU1 -/ dais : 6 in simple_get_dais_count() 665 * => 6 DAIs = 4xCPU + 2xCodec in simple_get_dais_count() 670 * CPU1 --- Codec1 dais : 4 in simple_get_dais_count() 674 * => 4 DAIs = 2xCPU + 2xCodec in simple_get_dais_count()
|
H A D | simple-card-utils.c | 855 struct asoc_simple_dai *dais; in asoc_simple_init_priv() local 866 * dais (= CPU+Codec) in asoc_simple_init_priv() 879 dais = devm_kcalloc(dev, dai_num, sizeof(*dais), GFP_KERNEL); in asoc_simple_init_priv() 881 if (!dais || !dlcs) in asoc_simple_init_priv() 890 dev_dbg(dev, "link %d, dais %d, ccnf %d\n", in asoc_simple_init_priv() 895 priv->dais = dais; in asoc_simple_init_priv() 910 dai_props[i].cpu_dai = dais; in asoc_simple_init_priv() 913 dais += li->num[i].cpus; in asoc_simple_init_priv() 926 dai_props[i].codec_dai = dais; in asoc_simple_init_priv() 929 dais += li->num[i].codecs; in asoc_simple_init_priv()
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | q6apm-lpass-dais.c | 278 struct snd_soc_dai_driver *dais; in q6apm_lpass_dai_dev_probe() local 292 dais = q6dsp_audio_ports_set_config(dev, &cfg, &num_dais); in q6apm_lpass_dai_dev_probe() 294 return devm_snd_soc_register_component(dev, &q6apm_lpass_dai_component, dais, num_dais); in q6apm_lpass_dai_dev_probe() 299 { .compatible = "qcom,q6apm-lpass-dais" }, 307 .name = "q6apm-lpass-dais",
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | pcm.c | 1342 struct snd_soc_dai_driver *dais; in avs_component_hda_probe() local 1359 dais = devm_kcalloc(component->dev, pcm_count, sizeof(*dais), in avs_component_hda_probe() 1361 if (!dais) in avs_component_hda_probe() 1371 memcpy(&dais[i], &hda_cpu_dai, sizeof(*dais)); in avs_component_hda_probe() 1372 dais[i].id = i; in avs_component_hda_probe() 1373 dais[i].name = devm_kasprintf(component->dev, GFP_KERNEL, in avs_component_hda_probe() 1375 if (!dais[i].name) { in avs_component_hda_probe() 1381 dais[i].playback.stream_name = in avs_component_hda_probe() 1384 if (!dais[i].playback.stream_name) { in avs_component_hda_probe() 1391 dais[i].capture.stream_name = in avs_component_hda_probe() [all …]
|
/openbmc/linux/sound/soc/intel/skylake/ |
H A D | skl-pcm.c | 831 /* BE CPU Dais */ 1460 struct snd_soc_dai_driver *dais; in skl_platform_register() local 1465 skl->dais = kmemdup(skl_platform_dai, sizeof(skl_platform_dai), in skl_platform_register() 1467 if (!skl->dais) { in skl_platform_register() 1473 dais = krealloc(skl->dais, sizeof(skl_fe_dai) + in skl_platform_register() 1475 if (!dais) { in skl_platform_register() 1476 kfree(skl->dais); in skl_platform_register() 1481 skl->dais = dais; in skl_platform_register() 1482 memcpy(&skl->dais[ARRAY_SIZE(skl_platform_dai)], skl_fe_dai, in skl_platform_register() 1488 skl->dais, num_dais); in skl_platform_register() [all …]
|
/openbmc/linux/sound/soc/ |
H A D | soc-core.c | 218 debugfs_create_file("dais", 0444, snd_soc_debugfs_root, NULL, in snd_soc_debugfs_init() 544 * for rtd->dais in soc_new_pcm_runtime() 546 rtd->dais = devm_kcalloc(dev, dai_link->num_cpus + dai_link->num_codecs, in soc_new_pcm_runtime() 549 if (!rtd->dais) in soc_new_pcm_runtime() 553 * dais = [][][][][][][][][][][][][][][][][][] in soc_new_pcm_runtime() 880 * This function will search all registered components and their DAIs to 894 /* Find CPU DAI from registered DAIs */ in snd_soc_find_dai() 1146 * Get selectable format from each DAIs. in snd_soc_runtime_get_dai_fmt() 1299 * This function updates the DAI link format for all DAIs connected to the DAI 1555 /* remove all rtd connected DAIs in good order */ in soc_remove_link_dais() [all …]
|