Lines Matching refs:dais
1082 struct snd_soc_dai_driver *dais, in intel_create_dai() argument
1093 dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, in intel_create_dai()
1096 if (!dais[i].name) in intel_create_dai()
1100 dais[i].playback.channels_min = 1; in intel_create_dai()
1101 dais[i].playback.channels_max = max_ch; in intel_create_dai()
1102 dais[i].playback.rates = SNDRV_PCM_RATE_48000; in intel_create_dai()
1103 dais[i].playback.formats = SNDRV_PCM_FMTBIT_S16_LE; in intel_create_dai()
1107 dais[i].capture.channels_min = 1; in intel_create_dai()
1108 dais[i].capture.channels_max = max_ch; in intel_create_dai()
1109 dais[i].capture.rates = SNDRV_PCM_RATE_48000; in intel_create_dai()
1110 dais[i].capture.formats = SNDRV_PCM_FMTBIT_S16_LE; in intel_create_dai()
1113 dais[i].ops = &intel_pcm_dai_ops; in intel_create_dai()
1125 struct snd_soc_dai_driver *dais; in intel_register_dai() local
1146 dais = devm_kcalloc(cdns->dev, num_dai, sizeof(*dais), GFP_KERNEL); in intel_register_dai()
1147 if (!dais) in intel_register_dai()
1153 ret = intel_create_dai(cdns, dais, INTEL_PDI_IN, cdns->pcm.num_in, in intel_register_dai()
1159 ret = intel_create_dai(cdns, dais, INTEL_PDI_OUT, cdns->pcm.num_out, in intel_register_dai()
1165 ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, cdns->pcm.num_bd, in intel_register_dai()
1171 dais, num_dai); in intel_register_dai()