Lines Matching refs:dai
65 struct snd_soc_dai_link *dai; in snd_proto_probe() local
84 dai = devm_kzalloc(&pdev->dev, sizeof(*dai), GFP_KERNEL); in snd_proto_probe()
85 if (!dai) in snd_proto_probe()
93 snd_proto.dai_link = dai; in snd_proto_probe()
96 dai->cpus = &comp[0]; in snd_proto_probe()
97 dai->num_cpus = 1; in snd_proto_probe()
98 dai->codecs = &comp[1]; in snd_proto_probe()
99 dai->num_codecs = 1; in snd_proto_probe()
100 dai->platforms = &comp[2]; in snd_proto_probe()
101 dai->num_platforms = 1; in snd_proto_probe()
103 dai->name = "WM8731"; in snd_proto_probe()
104 dai->stream_name = "WM8731 HiFi"; in snd_proto_probe()
105 dai->codecs->dai_name = "wm8731-hifi"; in snd_proto_probe()
106 dai->init = &snd_proto_init; in snd_proto_probe()
113 dai->codecs->of_node = codec_np; in snd_proto_probe()
121 dai->cpus->of_node = cpu_np; in snd_proto_probe()
122 dai->platforms->of_node = cpu_np; in snd_proto_probe()
142 dai->dai_fmt = dai_fmt; in snd_proto_probe()