Home
last modified time | relevance | path

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

12345678

/linux-6.14.4/sound/soc/sdw_utils/
Dsoc_sdw_utils.c62 .dais = {
80 .dais = {
100 .dais = {
120 .dais = {
160 .dais = {
174 .dais = {
201 .dais = {
215 .dais = {
235 .dais = {
254 .dais = {
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/sound/
Dqcom,q6apm.yaml24 $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";
Dqcom,q6asm.yaml21 dais:
23 $ref: /schemas/sound/qcom,q6asm-dais.yaml#
29 - dais
46 dais {
47 compatible = "qcom,q6asm-dais";
Dqcom,q6apm-dai.yaml13 This binding describes the Qualcomm APM DAIs in DSP
17 const: qcom,q6apm-dais
31 dais {
32 compatible = "qcom,q6apm-dais";
Dqcom,q6apm-lpass-dais.yaml4 $id: http://devicetree.org/schemas/sound/qcom,q6apm-lpass-dais.yaml#
19 - qcom,q6apm-lpass-dais
32 dais {
33 compatible = "qcom,q6apm-lpass-dais";
Dqcom,q6afe.yaml26 dais:
34 - dais
56 dais {
57 compatible = "qcom,q6afe-dais";
Dqcom,q6asm-dais.yaml4 $id: http://devicetree.org/schemas/sound/qcom,q6asm-dais.yaml#
20 - qcom,q6asm-dais
76 dais {
77 compatible = "qcom,q6asm-dais";
Dfsl,audmix.yaml52 dais:
53 description: contain a list of phandles to AUDMIX connected DAIs.
70 - dais
82 dais = <&sai4>, <&sai5>;
Dqcom,q6dsp-lpass-ports.yaml18 - qcom,q6afe-dais
154 dais {
155 compatible = "qcom,q6afe-dais";
Daudio-graph.yaml16 dais:
51 - dais
/linux-6.14.4/drivers/soundwire/
Dintel_ace2x.c610 struct snd_soc_dai_driver *dais, in intel_create_dai() argument
620 dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, in intel_create_dai()
623 if (!dais[i].name) in intel_create_dai()
627 dais[i].playback.channels_min = 1; in intel_create_dai()
628 dais[i].playback.channels_max = max_ch; in intel_create_dai()
632 dais[i].capture.channels_min = 1; in intel_create_dai()
633 dais[i].capture.channels_max = max_ch; in intel_create_dai()
636 dais[i].ops = &intel_pcm_dai_ops; in intel_create_dai()
648 struct snd_soc_dai_driver *dais; in intel_register_dai() local
661 /* DAIs are created based on total number of PDIs supported */ in intel_register_dai()
[all …]
Dintel.c960 * 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 …]
Damd_manager.c750 struct snd_soc_dai_driver *dais; in amd_sdw_register_dais() local
757 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in amd_sdw_register_dais()
758 if (!dais) in amd_sdw_register_dais()
768 dais[i].name = devm_kasprintf(dev, GFP_KERNEL, "SDW%d Pin%d", amd_manager->instance, in amd_sdw_register_dais()
770 if (!dais[i].name) in amd_sdw_register_dais()
773 stream = &dais[i].playback; in amd_sdw_register_dais()
775 stream = &dais[i].capture; in amd_sdw_register_dais()
782 dais[i].ops = &amd_sdw_dai_ops; in amd_sdw_register_dais()
783 dais[i].id = i; in amd_sdw_register_dais()
787 dais, num_dais); in amd_sdw_register_dais()
/linux-6.14.4/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
76 for cpu/codec/platform dais should be globally unique.
86 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 |
171 The FE DAI above sets the codec and code DAIs to dummy devices since the BE is
174 The BE DAIs are configured as follows :-
279 1. Front End PCM DAIs - i.e. struct snd_soc_dai_driver.
281 2. DAPM graph showing DSP audio routing from FE DAIs to BEs.
332 between both DAIs.
[all …]
Dcodec-to-codec.rst107 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.14.4/sound/soc/intel/avs/
Dpcm.c1482 struct snd_soc_dai_driver *dais; in avs_component_hda_probe() local
1499 dais = devm_kcalloc(component->dev, pcm_count, sizeof(*dais), in avs_component_hda_probe()
1501 if (!dais) in avs_component_hda_probe()
1511 memcpy(&dais[i], &hda_cpu_dai, sizeof(*dais)); in avs_component_hda_probe()
1512 dais[i].id = i; in avs_component_hda_probe()
1513 dais[i].name = devm_kasprintf(component->dev, GFP_KERNEL, in avs_component_hda_probe()
1515 if (!dais[i].name) { in avs_component_hda_probe()
1521 dais[i].playback.stream_name = in avs_component_hda_probe()
1524 if (!dais[i].playback.stream_name) { in avs_component_hda_probe()
1530 dais[i].playback.formats = pcm->stream[0].formats; in avs_component_hda_probe()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/soc/qcom/
Dqcom,apr.yaml174 dais {
175 compatible = "qcom,q6afe-dais";
201 dais {
202 compatible = "qcom,q6apm-dais";
207 compatible = "qcom,q6apm-lpass-dais";
/linux-6.14.4/sound/soc/generic/
Daudio-graph-card.c354 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 …]
Dsimple-card.c467 * In Normal sound case, all DAIs are detected in simple_for_each_link()
622 * dais_num : number of DAIs in simple_get_dais_count()
628 * CPU1 --- Codec1 dais : 7 in simple_get_dais_count()
633 * => 7 DAIs = 4xCPU + 3xCodec in simple_get_dais_count()
638 * CPU1 --- Codec1 dais : 6 in simple_get_dais_count()
643 * => 6 DAIs = 4xCPU + 2xCodec in simple_get_dais_count()
648 * CPU1 -/ dais : 6 in simple_get_dais_count()
653 * => 6 DAIs = 4xCPU + 2xCodec in simple_get_dais_count()
658 * CPU1 --- Codec1 dais : 4 in simple_get_dais_count()
662 * => 4 DAIs = 2xCPU + 2xCodec in simple_get_dais_count()
Dsimple-card-utils.c871 struct simple_util_dai *dais; in simple_util_init_priv() local
882 * dais (= CPU+Codec) in simple_util_init_priv()
895 dais = devm_kcalloc(dev, dai_num, sizeof(*dais), GFP_KERNEL); in simple_util_init_priv()
897 if (!dais || !dlcs) in simple_util_init_priv()
906 dev_dbg(dev, "link %d, dais %d, ccnf %d\n", in simple_util_init_priv()
911 priv->dais = dais; in simple_util_init_priv()
926 dai_props[i].cpu_dai = dais; in simple_util_init_priv()
929 dais += li->num[i].cpus; in simple_util_init_priv()
943 dai_props[i].codec_dai = dais; in simple_util_init_priv()
946 dais += li->num[i].codecs; in simple_util_init_priv()
/linux-6.14.4/sound/soc/qcom/qdsp6/
Dq6apm-lpass-dais.c284 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.14.4/sound/soc/codecs/
Dcs43130.c596 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.14.4/sound/soc/intel/boards/
Dbytcht_nocodec.c115 static struct snd_soc_dai_link dais[] = { variable
153 .dai_link = dais,
154 .num_links = ARRAY_SIZE(dais),
/linux-6.14.4/sound/soc/
Dsoc-core.c218 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()
1286 * Get selectable format from each DAIs. in snd_soc_runtime_get_dai_fmt()
1439 * This function updates the DAI link format for all DAIs connected to the DAI
1690 /* remove all rtd connected DAIs in good order */ in soc_remove_link_dais()
[all …]

12345678