Lines Matching refs:dai_drv
99 struct snd_soc_dai_driver *dai_drv; in xlnx_i2s_probe() local
105 dai_drv = devm_kzalloc(&pdev->dev, sizeof(*dai_drv), GFP_KERNEL); in xlnx_i2s_probe()
106 if (!dai_drv) in xlnx_i2s_probe()
137 dai_drv->name = "xlnx_i2s_playback"; in xlnx_i2s_probe()
138 dai_drv->playback.stream_name = "Playback"; in xlnx_i2s_probe()
139 dai_drv->playback.formats = format; in xlnx_i2s_probe()
140 dai_drv->playback.channels_min = ch; in xlnx_i2s_probe()
141 dai_drv->playback.channels_max = ch; in xlnx_i2s_probe()
142 dai_drv->playback.rates = SNDRV_PCM_RATE_8000_192000; in xlnx_i2s_probe()
143 dai_drv->ops = &xlnx_i2s_dai_ops; in xlnx_i2s_probe()
145 dai_drv->name = "xlnx_i2s_capture"; in xlnx_i2s_probe()
146 dai_drv->capture.stream_name = "Capture"; in xlnx_i2s_probe()
147 dai_drv->capture.formats = format; in xlnx_i2s_probe()
148 dai_drv->capture.channels_min = ch; in xlnx_i2s_probe()
149 dai_drv->capture.channels_max = ch; in xlnx_i2s_probe()
150 dai_drv->capture.rates = SNDRV_PCM_RATE_8000_192000; in xlnx_i2s_probe()
151 dai_drv->ops = &xlnx_i2s_dai_ops; in xlnx_i2s_probe()
159 dai_drv, 1); in xlnx_i2s_probe()
165 dev_info(&pdev->dev, "%s DAI registered\n", dai_drv->name); in xlnx_i2s_probe()