| /linux/sound/soc/sdw_utils/ |
| H A D | soc_sdw_utils.c | 78 .dais = { 97 .dais = { 116 .dais = { 137 .dais = { 158 .dais = { 200 .dais = { 215 .dais = { 243 .dais = { 258 .dais = { 280 .dais = { [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| 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,q6dsp-lpass-ports.yaml | 18 - qcom,q6afe-dais 154 dais { 155 compatible = "qcom,q6afe-dais";
|
| H A D | audio-graph-card.yaml | 31 dais = <&cpu_port_a>;
|
| H A D | qcom,q6usb.yaml | 50 dais {
|
| H A D | allwinner,sun8i-a33-codec.yaml | 22 the ADC/DAC and AIF1 (the CPU DAI), not the other two AIFs/DAIs.
|
| /linux/drivers/soundwire/ |
| H A D | intel.c | 959 * does not throw the TRIGGER_SUSPEND. This leaves the DAIs in an unbalanced state. in intel_component_dais_suspend() 961 * and force the DAIs to release their resources. in intel_component_dais_suspend() 999 struct snd_soc_dai_driver *dais, in intel_create_dai() argument 1009 dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, in intel_create_dai() 1012 if (!dais[i].name) in intel_create_dai() 1016 dais[i].playback.channels_min = 1; in intel_create_dai() 1017 dais[i].playback.channels_max = max_ch; in intel_create_dai() 1021 dais[i].capture.channels_min = 1; in intel_create_dai() 1022 dais[i].capture.channels_max = max_ch; in intel_create_dai() 1025 dais[i].ops = &intel_pcm_dai_ops; in intel_create_dai() [all …]
|
| H A D | intel_ace2x.c | 992 struct snd_soc_dai_driver *dais, in intel_create_dai() argument 1002 dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, in intel_create_dai() 1005 if (!dais[i].name) in intel_create_dai() 1009 dais[i].playback.channels_min = 1; in intel_create_dai() 1010 dais[i].playback.channels_max = max_ch; in intel_create_dai() 1014 dais[i].capture.channels_min = 1; in intel_create_dai() 1015 dais[i].capture.channels_max = max_ch; in intel_create_dai() 1018 dais[i].ops = &intel_pcm_dai_ops; in intel_create_dai() 1030 struct snd_soc_dai_driver *dais; in intel_register_dai() local 1043 /* DAIs are created based on total number of PDIs supported */ in intel_register_dai() [all …]
|
| H A D | amd_manager.c | 819 struct snd_soc_dai_driver *dais; in amd_sdw_register_dais() local 826 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in amd_sdw_register_dais() 827 if (!dais) in amd_sdw_register_dais() 837 dais[i].name = devm_kasprintf(dev, GFP_KERNEL, "SDW%d Pin%d", amd_manager->instance, in amd_sdw_register_dais() 839 if (!dais[i].name) in amd_sdw_register_dais() 842 stream = &dais[i].playback; in amd_sdw_register_dais() 844 stream = &dais[i].capture; in amd_sdw_register_dais() 851 dais[i].ops = &amd_sdw_dai_ops; in amd_sdw_register_dais() 852 dais[i].id = i; in amd_sdw_register_dais() 856 dais, num_dais); in amd_sdw_register_dais()
|
| H A D | qcom.c | 1382 struct snd_soc_dai_driver *dais; in qcom_swrm_register_dais() local 1387 /* PDM dais are only tested for now */ in qcom_swrm_register_dais() 1388 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in qcom_swrm_register_dais() 1389 if (!dais) in qcom_swrm_register_dais() 1393 dais[i].name = devm_kasprintf(dev, GFP_KERNEL, "SDW Pin%d", i); in qcom_swrm_register_dais() 1394 if (!dais[i].name) in qcom_swrm_register_dais() 1398 stream = &dais[i].playback; in qcom_swrm_register_dais() 1400 stream = &dais[i].capture; in qcom_swrm_register_dais() 1407 dais[i].ops = &qcom_swrm_pdm_dai_ops; in qcom_swrm_register_dais() 1408 dais[i].id = i; in qcom_swrm_register_dais() [all …]
|
| /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";
|
| /linux/sound/soc/intel/avs/ |
| H A D | pcm.c | 1602 struct snd_soc_dai_driver *dais; in avs_component_hda_probe() local 1621 dais = devm_kcalloc(component->dev, pcm_count, sizeof(*dais), in avs_component_hda_probe() 1623 if (!dais) in avs_component_hda_probe() 1633 memcpy(&dais[i], &hda_cpu_dai, sizeof(*dais)); in avs_component_hda_probe() 1634 dais[i].id = i; in avs_component_hda_probe() 1635 dais[i].name = devm_kasprintf(component->dev, GFP_KERNEL, in avs_component_hda_probe() 1637 if (!dais[i].name) { in avs_component_hda_probe() 1643 dais[i].playback.stream_name = in avs_component_hda_probe() 1646 if (!dais[i].playback.stream_name) { in avs_component_hda_probe() 1652 dais[i].playback.formats = pcm->stream[0].formats; in avs_component_hda_probe() [all …]
|
| /linux/sound/soc/generic/ |
| H A D | audio-graph-card.c | 361 of_for_each_phandle(&it, rc, node, "dais", NULL, 0) { in __graph_for_each_link() 417 * In Normal sound case, all DAIs are detected in graph_for_each_link() 503 * dais_num : number of DAIs in graph_get_dais_count() 509 * CPU1 --- Codec1 dais : 7 in graph_get_dais_count() 514 * => 7 DAIs = 4xCPU + 3xCodec in graph_get_dais_count() 519 * CPU1 --- Codec1 dais : 6 in graph_get_dais_count() 524 * => 6 DAIs = 4xCPU + 2xCodec in graph_get_dais_count() 529 * CPU1 -/ dais : 6 in graph_get_dais_count() 534 * => 6 DAIs = 4xCPU + 2xCodec in graph_get_dais_count() 539 * CPU1 --- Codec1 dais : 4 in graph_get_dais_count() [all …]
|
| H A D | simple-card.c | 479 * 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 | 898 struct simple_util_dai *dais; in simple_util_init_priv() local 909 * dais (= CPU+Codec) in simple_util_init_priv() 922 dais = devm_kcalloc(dev, dai_num, sizeof(*dais), GFP_KERNEL); in simple_util_init_priv() 924 if (!dais || !dlcs) in simple_util_init_priv() 933 dev_dbg(dev, "link %d, dais %d, ccnf %d\n", in simple_util_init_priv() 938 priv->dais = dais; in simple_util_init_priv() 953 dai_props[i].cpu_dai = dais; in simple_util_init_priv() 956 dais += li->num[i].cpus; in simple_util_init_priv() 970 dai_props[i].codec_dai = dais; in simple_util_init_priv() 973 dais += li->num[i].codecs; in simple_util_init_priv()
|
| /linux/sound/soc/qcom/qdsp6/ |
| H A D | q6apm-lpass-dais.c | 288 struct snd_soc_dai_driver *dais; in q6apm_lpass_dai_dev_probe() local 302 dais = q6dsp_audio_ports_set_config(dev, &cfg, &num_dais); in q6apm_lpass_dai_dev_probe() 304 return devm_snd_soc_register_component(dev, &q6apm_lpass_dai_component, dais, num_dais); in q6apm_lpass_dai_dev_probe() 309 { .compatible = "qcom,q6apm-lpass-dais" }, 317 .name = "q6apm-lpass-dais",
|
| H A D | q6asm-dai.c | 80 struct snd_soc_dai_driver *dais; member 1260 dev_err(dev, "No dais found in DT\n"); in of_q6asm_parse_dai_data() 1264 pdata->dais = devm_kcalloc(dev, pdata->num_dais, sizeof(*dai_drv), in of_q6asm_parse_dai_data() 1266 if (!pdata->dais) in of_q6asm_parse_dai_data() 1278 dai_drv = &pdata->dais[idx++]; in of_q6asm_parse_dai_data() 1322 pdata->dais, pdata->num_dais); in q6asm_dai_probe() 1327 { .compatible = "qcom,q6asm-dais" },
|
| H A D | Makefile | 17 obj-$(CONFIG_SND_SOC_QDSP6_APM_LPASS_DAI) += q6apm-lpass-dais.o
|
| /linux/sound/soc/ |
| H A D | soc-core.c | 219 debugfs_create_file("dais", 0444, snd_soc_debugfs_root, NULL, in snd_soc_debugfs_init() 548 dev_err(dev, "ASoC: it has no CPU or codec DAIs\n"); in soc_new_pcm_runtime() 553 * for rtd->dais in soc_new_pcm_runtime() 555 rtd->dais = devm_kcalloc(dev, dai_link->num_cpus + dai_link->num_codecs, in soc_new_pcm_runtime() 558 if (!rtd->dais) in soc_new_pcm_runtime() 562 * dais = [][][][][][][][][][][][][][][][][][] in soc_new_pcm_runtime() 911 * This function will search all registered components and their DAIs to 925 /* Find CPU DAI from registered DAIs */ in snd_soc_find_dai() 1298 * Get selectable format from each DAIs. in snd_soc_runtime_get_dai_fmt() 1451 * This function updates the DAI link format for all DAIs connected to the DAI [all …]
|
| H A D | soc-pcm.c | 350 * Increments/Decrements the active count for all the DAIs and components 368 /* Increments/Decrements the active count for components without DAIs */ in snd_soc_runtime_action() 628 * Calculates the subset of stream parameters supported by all DAIs 688 * chan min/max cannot be enforced if there are multiple CODEC DAIs in snd_soc_runtime_calc_hw() 889 /* Check that the codec and cpu DAIs are compatible */ in __soc_pcm_open() 1016 /* clear the corresponding DAIs parameters when going to be inactive */ in soc_pcm_hw_clean() 1036 /* now free hw params for the DAIs */ in soc_pcm_hw_clean() 1686 /* only startup BE DAIs that are either sinks or sources to this FE DAI */ in dpcm_be_dai_startup() 1850 * DAIs connected to a single CPU DAI, use CPU DAI's directly in dpcm_runtime_setup_be_chan() 1885 * Skip DAIs which don't support the current stream in dpcm_runtime_setup_be_rate() [all …]
|
| /linux/sound/soc/sdca/ |
| H A D | sdca_asoc.c | 65 * required number of ASoC DAIs for the Function. 1159 * @dais: Array of DAI drivers to be populated. 1170 struct snd_soc_dai_driver *dais, in sdca_asoc_populate_dais() argument 1183 stream = &dais[j].playback; in sdca_asoc_populate_dais() 1187 stream = &dais[j].capture; in sdca_asoc_populate_dais() 1210 dais[j].id = i; in sdca_asoc_populate_dais() 1211 dais[j].name = entity->label; in sdca_asoc_populate_dais() 1212 dais[j].ops = ops; in sdca_asoc_populate_dais() 1245 struct snd_soc_dai_driver *dais; in sdca_asoc_populate_component() local 1266 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in sdca_asoc_populate_component() [all …]
|
| /linux/sound/soc/fsl/ |
| H A D | imx-audmix.c | 158 num_dai = of_count_phandle_with_args(audmix_np, "dais", NULL); in imx_audmix_probe() 160 dev_err(&pdev->dev, "Need 2 dais to be provided for %s\n", in imx_audmix_probe() 199 ret = of_parse_phandle_with_args(audmix_np, "dais", NULL, 0, in imx_audmix_probe() 202 ret = of_parse_phandle_with_args(audmix_np, "dais", NULL, i, in imx_audmix_probe()
|
| H A D | fsl_qmc_audio.c | 36 struct qmc_dai *dais; member 363 return qmc_audio->dais + index; in qmc_dai_get_data() 920 qmc_audio->dais = devm_kcalloc(&pdev->dev, qmc_audio->num_dais, in qmc_audio_probe() 921 sizeof(*qmc_audio->dais), in qmc_audio_probe() 923 if (!qmc_audio->dais) in qmc_audio_probe() 936 qmc_audio->dais + i, in qmc_audio_probe()
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | ulcb-audio-graph-card2.dtsi | 22 /delete-property/ dais;
|
| H A D | ulcb-kf-audio-graph-card2.dtsi | 26 /delete-property/ dais;
|