Lines Matching refs:dw_i2s_dai
580 struct snd_soc_dai_driver *dw_i2s_dai, in dw_configure_dai() argument
607 dw_i2s_dai->playback.channels_min = MIN_CHANNEL_NUM; in dw_configure_dai()
608 dw_i2s_dai->playback.channels_max = in dw_configure_dai()
610 dw_i2s_dai->playback.formats = formats[idx]; in dw_configure_dai()
611 dw_i2s_dai->playback.rates = rates; in dw_configure_dai()
621 dw_i2s_dai->capture.channels_min = MIN_CHANNEL_NUM; in dw_configure_dai()
622 dw_i2s_dai->capture.channels_max = in dw_configure_dai()
624 dw_i2s_dai->capture.formats = formats[idx]; in dw_configure_dai()
625 dw_i2s_dai->capture.rates = rates; in dw_configure_dai()
641 struct snd_soc_dai_driver *dw_i2s_dai, in dw_configure_dai_by_pd() argument
652 ret = dw_configure_dai(dev, dw_i2s_dai, pdata->snd_rates); in dw_configure_dai_by_pd()
696 struct snd_soc_dai_driver *dw_i2s_dai, in dw_configure_dai_by_dt() argument
705 ret = dw_configure_dai(dev, dw_i2s_dai, SNDRV_PCM_RATE_8000_192000); in dw_configure_dai_by_dt()
924 struct snd_soc_dai_driver *dw_i2s_dai; in dw_i2s_probe() local
931 dw_i2s_dai = devm_kzalloc(&pdev->dev, sizeof(*dw_i2s_dai), GFP_KERNEL); in dw_i2s_probe()
932 if (!dw_i2s_dai) in dw_i2s_probe()
935 dw_i2s_dai->ops = &dw_i2s_dai_ops; in dw_i2s_probe()
981 ret = dw_configure_dai_by_pd(dev, dw_i2s_dai, res, pdata); in dw_i2s_probe()
984 ret = dw_configure_dai_by_dt(dev, dw_i2s_dai, res); in dw_i2s_probe()
1012 dw_i2s_dai, 1); in dw_i2s_probe()