Lines Matching refs:daidrv
1008 struct snd_soc_dai_driver *daidrv; in hdmi_codec_probe() local
1039 daidrv = devm_kcalloc(dev, dai_count, sizeof(*daidrv), GFP_KERNEL); in hdmi_codec_probe()
1040 if (!daidrv) in hdmi_codec_probe()
1044 daidrv[i] = hdmi_i2s_dai; in hdmi_codec_probe()
1045 daidrv[i].playback.channels_max = hcd->max_i2s_channels; in hdmi_codec_probe()
1047 memset(&daidrv[i].playback, 0, in hdmi_codec_probe()
1048 sizeof(daidrv[i].playback)); in hdmi_codec_probe()
1050 memset(&daidrv[i].capture, 0, in hdmi_codec_probe()
1051 sizeof(daidrv[i].capture)); in hdmi_codec_probe()
1056 daidrv[i] = hdmi_spdif_dai; in hdmi_codec_probe()
1058 memset(&daidrv[i].playback, 0, in hdmi_codec_probe()
1059 sizeof(daidrv[i].playback)); in hdmi_codec_probe()
1061 memset(&daidrv[i].capture, 0, in hdmi_codec_probe()
1062 sizeof(daidrv[i].capture)); in hdmi_codec_probe()
1067 ret = devm_snd_soc_register_component(dev, &hdmi_driver, daidrv, in hdmi_codec_probe()