Lines Matching refs:runtime
80 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_hw_params() local
81 struct imx_pcm_runtime_data *iprtd = runtime->private_data; in snd_imx_pcm_hw_params()
95 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_prepare() local
96 struct imx_pcm_runtime_data *iprtd = runtime->private_data; in snd_imx_pcm_prepare()
114 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_trigger() local
115 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()
175 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_open() local
182 runtime->private_data = iprtd; in snd_imx_open()
191 ret = snd_pcm_hw_constraint_integer(substream->runtime, in snd_imx_open()
204 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_close() local
205 struct imx_pcm_runtime_data *iprtd = runtime->private_data; in snd_imx_close()
217 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_mmap() local
221 runtime->dma_area, runtime->dma_addr, runtime->dma_bytes); in snd_imx_pcm_mmap()
224 runtime->dma_area, in snd_imx_pcm_mmap()
225 runtime->dma_addr, in snd_imx_pcm_mmap()
226 runtime->dma_bytes); in snd_imx_pcm_mmap()