Lines Matching full:dai
10 struct snd_soc_dai_link dai; member
35 data->dai.cpus = &comp[0]; in imx_spdif_audio_probe()
36 data->dai.codecs = &comp[1]; in imx_spdif_audio_probe()
37 data->dai.platforms = &comp[2]; in imx_spdif_audio_probe()
39 data->dai.num_cpus = 1; in imx_spdif_audio_probe()
40 data->dai.num_codecs = 1; in imx_spdif_audio_probe()
41 data->dai.num_platforms = 1; in imx_spdif_audio_probe()
43 data->dai.name = "S/PDIF PCM"; in imx_spdif_audio_probe()
44 data->dai.stream_name = "S/PDIF PCM"; in imx_spdif_audio_probe()
45 data->dai.codecs->dai_name = "snd-soc-dummy-dai"; in imx_spdif_audio_probe()
46 data->dai.codecs->name = "snd-soc-dummy"; in imx_spdif_audio_probe()
47 data->dai.cpus->of_node = spdif_np; in imx_spdif_audio_probe()
48 data->dai.platforms->of_node = spdif_np; in imx_spdif_audio_probe()
49 data->dai.playback_only = true; in imx_spdif_audio_probe()
50 data->dai.capture_only = true; in imx_spdif_audio_probe()
53 data->dai.capture_only = false; in imx_spdif_audio_probe()
56 data->dai.playback_only = false; in imx_spdif_audio_probe()
58 if (data->dai.playback_only && data->dai.capture_only) { in imx_spdif_audio_probe()
59 dev_err(&pdev->dev, "no enabled S/PDIF DAI link\n"); in imx_spdif_audio_probe()
64 data->card.dai_link = &data->dai; in imx_spdif_audio_probe()