Lines Matching full:dais
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()
664 dais = devm_kcalloc(cdns->dev, num_dai, sizeof(*dais), GFP_KERNEL); in intel_register_dai()
665 if (!dais) in intel_register_dai()
668 /* Create PCM DAIs */ in intel_register_dai()
671 ret = intel_create_dai(cdns, dais, INTEL_PDI_IN, cdns->pcm.num_in, in intel_register_dai()
677 ret = intel_create_dai(cdns, dais, INTEL_PDI_OUT, cdns->pcm.num_out, in intel_register_dai()
683 ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, cdns->pcm.num_bd, in intel_register_dai()
689 dais, num_dai); in intel_register_dai()