Lines Matching refs:dai_drv
28 struct snd_soc_dai_driver dai_drv; member
211 drv_data->dai_drv.name = "xlnx_i2s_playback"; in xlnx_i2s_probe()
212 drv_data->dai_drv.playback.stream_name = "Playback"; in xlnx_i2s_probe()
213 drv_data->dai_drv.playback.formats = format; in xlnx_i2s_probe()
214 drv_data->dai_drv.playback.channels_min = drv_data->channels; in xlnx_i2s_probe()
215 drv_data->dai_drv.playback.channels_max = drv_data->channels; in xlnx_i2s_probe()
216 drv_data->dai_drv.playback.rates = SNDRV_PCM_RATE_8000_192000; in xlnx_i2s_probe()
217 drv_data->dai_drv.ops = &xlnx_i2s_dai_ops; in xlnx_i2s_probe()
219 drv_data->dai_drv.name = "xlnx_i2s_capture"; in xlnx_i2s_probe()
220 drv_data->dai_drv.capture.stream_name = "Capture"; in xlnx_i2s_probe()
221 drv_data->dai_drv.capture.formats = format; in xlnx_i2s_probe()
222 drv_data->dai_drv.capture.channels_min = drv_data->channels; in xlnx_i2s_probe()
223 drv_data->dai_drv.capture.channels_max = drv_data->channels; in xlnx_i2s_probe()
224 drv_data->dai_drv.capture.rates = SNDRV_PCM_RATE_8000_192000; in xlnx_i2s_probe()
225 drv_data->dai_drv.ops = &xlnx_i2s_dai_ops; in xlnx_i2s_probe()
235 &drv_data->dai_drv, 1); in xlnx_i2s_probe()
241 dev_info(&pdev->dev, "%s DAI registered\n", drv_data->dai_drv.name); in xlnx_i2s_probe()