Lines Matching refs:rtm
77 struct snd_soc_pcm_runtime *rtm = substream->private_data;
78 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtm, 0);
156 struct snd_pcm_runtime *rtm = substream->runtime;
160 pages = snd_sgbuf_aligned_pages(rtm->dma_bytes);
335 struct snd_pcm_runtime *rtm = substream->runtime;
357 rinfo.num_pages = DIV_ROUND_UP(rtm->dma_bytes, PAGE_SIZE);
358 rinfo.size = rtm->dma_bytes;
583 struct snd_soc_pcm_runtime *rtm)
587 snd_pcm_set_managed_buffer_all(rtm->pcm, SNDRV_DMA_TYPE_DEV_SG,
598 struct snd_soc_pcm_runtime *rtm = substream->private_data;
600 if (rtm->dai_link->no_pcm)
612 struct snd_soc_pcm_runtime *rtm = substream->private_data;
613 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtm, 0);
616 if (rtm->dai_link->no_pcm)
634 static int catpt_dai_pcm_new(struct snd_soc_pcm_runtime *rtm,
637 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtm, 0);