Lines Matching defs:rtm
77 struct snd_soc_pcm_runtime *rtm = snd_soc_substream_to_rtd(substream);
78 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtm, 0);
156 struct snd_pcm_runtime *rtm = substream->runtime;
160 pages = snd_sgbuf_aligned_pages(rtm->dma_bytes);
377 struct snd_pcm_runtime *rtm = substream->runtime;
403 rinfo.num_pages = DIV_ROUND_UP(rtm->dma_bytes, PAGE_SIZE);
404 rinfo.size = rtm->dma_bytes;
581 struct snd_soc_pcm_runtime *rtm)
585 snd_pcm_set_managed_buffer_all(rtm->pcm, SNDRV_DMA_TYPE_DEV_SG,
596 struct snd_soc_pcm_runtime *rtm = snd_soc_substream_to_rtd(substream);
598 if (!rtm->dai_link->no_pcm)
607 struct snd_soc_pcm_runtime *rtm = snd_soc_substream_to_rtd(substream);
608 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtm, 0);
613 if (rtm->dai_link->no_pcm)
631 static int catpt_dai_pcm_new(struct snd_soc_pcm_runtime *rtm,
634 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtm, 0);