Lines Matching full:rtd
53 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_dmaengine_pcm_prepare_slave_config() local
57 if (rtd->num_cpus > 1) { in snd_dmaengine_pcm_prepare_slave_config()
58 dev_err(rtd->dev, in snd_dmaengine_pcm_prepare_slave_config()
63 dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in snd_dmaengine_pcm_prepare_slave_config()
112 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in dmaengine_pcm_set_runtime_hwparams() local
119 if (rtd->num_cpus > 1) { in dmaengine_pcm_set_runtime_hwparams()
120 dev_err(rtd->dev, in dmaengine_pcm_set_runtime_hwparams()
129 dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in dmaengine_pcm_set_runtime_hwparams()
185 struct snd_soc_pcm_runtime *rtd, in dmaengine_pcm_compat_request_channel() argument
192 if (rtd->num_cpus > 1) { in dmaengine_pcm_compat_request_channel()
193 dev_err(rtd->dev, in dmaengine_pcm_compat_request_channel()
198 dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in dmaengine_pcm_compat_request_channel()
204 return pcm->config->compat_request_channel(rtd, substream); in dmaengine_pcm_compat_request_channel()
232 struct snd_soc_pcm_runtime *rtd) in dmaengine_pcm_new() argument
251 substream = rtd->pcm->streams[i].substream; in dmaengine_pcm_new()
261 component, rtd, substream); in dmaengine_pcm_new()
279 if (rtd->pcm->streams[i].pcm->name[0] == '\0') { in dmaengine_pcm_new()
280 strscpy_pad(rtd->pcm->streams[i].pcm->name, in dmaengine_pcm_new()
281 rtd->pcm->streams[i].pcm->id, in dmaengine_pcm_new()
282 sizeof(rtd->pcm->streams[i].pcm->name)); in dmaengine_pcm_new()