Lines Matching refs:runtime
76 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_hw_params() local
77 struct imx_pcm_runtime_data *iprtd = runtime->private_data; in snd_imx_pcm_hw_params()
92 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_prepare() local
93 struct imx_pcm_runtime_data *iprtd = runtime->private_data; in snd_imx_pcm_prepare()
112 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_trigger() local
113 struct imx_pcm_runtime_data *iprtd = runtime->private_data; in snd_imx_pcm_trigger()
151 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_pointer() local
152 struct imx_pcm_runtime_data *iprtd = runtime->private_data; in snd_imx_pcm_pointer()
154 return bytes_to_frames(substream->runtime, iprtd->offset); in snd_imx_pcm_pointer()
176 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_open() local
183 runtime->private_data = iprtd; in snd_imx_open()
192 ret = snd_pcm_hw_constraint_integer(substream->runtime, in snd_imx_open()
206 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_close() local
207 struct imx_pcm_runtime_data *iprtd = runtime->private_data; in snd_imx_close()
220 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_mmap() local
223 ret = dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in snd_imx_pcm_mmap()
224 runtime->dma_addr, runtime->dma_bytes); in snd_imx_pcm_mmap()
227 runtime->dma_area, in snd_imx_pcm_mmap()
228 &runtime->dma_addr, in snd_imx_pcm_mmap()
229 runtime->dma_bytes); in snd_imx_pcm_mmap()