Lines Matching refs:rtm
77 struct snd_soc_pcm_runtime *rtm = asoc_substream_to_rtd(substream); in catpt_get_stream_template() local
78 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtm, 0); in catpt_get_stream_template()
156 struct snd_pcm_runtime *rtm = substream->runtime; in catpt_arrange_page_table() local
160 pages = snd_sgbuf_aligned_pages(rtm->dma_bytes); in catpt_arrange_page_table()
377 struct snd_pcm_runtime *rtm = substream->runtime; in catpt_dai_hw_params() local
403 rinfo.num_pages = DIV_ROUND_UP(rtm->dma_bytes, PAGE_SIZE); in catpt_dai_hw_params()
404 rinfo.size = rtm->dma_bytes; in catpt_dai_hw_params()
581 struct snd_soc_pcm_runtime *rtm) in catpt_component_pcm_construct() argument
585 snd_pcm_set_managed_buffer_all(rtm->pcm, SNDRV_DMA_TYPE_DEV_SG, in catpt_component_pcm_construct()
596 struct snd_soc_pcm_runtime *rtm = asoc_substream_to_rtd(substream); in catpt_component_open() local
598 if (!rtm->dai_link->no_pcm) in catpt_component_open()
607 struct snd_soc_pcm_runtime *rtm = asoc_substream_to_rtd(substream); in catpt_component_pointer() local
608 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtm, 0); in catpt_component_pointer()
613 if (rtm->dai_link->no_pcm) in catpt_component_pointer()
631 static int catpt_dai_pcm_new(struct snd_soc_pcm_runtime *rtm, in catpt_dai_pcm_new() argument
634 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtm, 0); in catpt_dai_pcm_new()