Lines Matching full:dais

1479 	struct snd_soc_dai_driver *dais;  in avs_component_hda_probe()  local
1496 dais = devm_kcalloc(component->dev, pcm_count, sizeof(*dais), in avs_component_hda_probe()
1498 if (!dais) in avs_component_hda_probe()
1508 memcpy(&dais[i], &hda_cpu_dai, sizeof(*dais)); in avs_component_hda_probe()
1509 dais[i].id = i; in avs_component_hda_probe()
1510 dais[i].name = devm_kasprintf(component->dev, GFP_KERNEL, in avs_component_hda_probe()
1512 if (!dais[i].name) { in avs_component_hda_probe()
1518 dais[i].playback.stream_name = in avs_component_hda_probe()
1521 if (!dais[i].playback.stream_name) { in avs_component_hda_probe()
1527 dais[i].playback.formats = pcm->stream[0].formats; in avs_component_hda_probe()
1528 dais[i].playback.subformats = pcm->stream[0].subformats; in avs_component_hda_probe()
1529 dais[i].playback.rates = pcm->stream[0].rates; in avs_component_hda_probe()
1530 dais[i].playback.channels_min = pcm->stream[0].channels_min; in avs_component_hda_probe()
1531 dais[i].playback.channels_max = pcm->stream[0].channels_max; in avs_component_hda_probe()
1532 dais[i].playback.sig_bits = pcm->stream[0].maxbps; in avs_component_hda_probe()
1537 dais[i].capture.stream_name = in avs_component_hda_probe()
1540 if (!dais[i].capture.stream_name) { in avs_component_hda_probe()
1546 dais[i].capture.formats = pcm->stream[1].formats; in avs_component_hda_probe()
1547 dais[i].capture.subformats = pcm->stream[1].subformats; in avs_component_hda_probe()
1548 dais[i].capture.rates = pcm->stream[1].rates; in avs_component_hda_probe()
1549 dais[i].capture.channels_min = pcm->stream[1].channels_min; in avs_component_hda_probe()
1550 dais[i].capture.channels_max = pcm->stream[1].channels_max; in avs_component_hda_probe()
1551 dais[i].capture.sig_bits = pcm->stream[1].maxbps; in avs_component_hda_probe()
1555 dai = snd_soc_register_dai(component, &dais[i], false); in avs_component_hda_probe()