Lines Matching full:runtime
66 struct snd_pcm_runtime *runtime = substream->runtime; in idma_enqueue() local
67 struct idma_ctrl *prtd = substream->runtime->private_data; in idma_enqueue()
88 val |= (((runtime->dma_bytes >> 2) & in idma_enqueue()
102 struct idma_ctrl *prtd = substream->runtime->private_data; in idma_setcallbk()
134 struct idma_ctrl *prtd = substream->runtime->private_data; in idma_done()
144 struct snd_pcm_runtime *runtime = substream->runtime; in idma_hw_params() local
145 struct idma_ctrl *prtd = substream->runtime->private_data; in idma_hw_params()
155 runtime->dma_bytes = params_buffer_bytes(params); in idma_hw_params()
157 prtd->start = prtd->pos = runtime->dma_addr; in idma_hw_params()
160 prtd->end = runtime->dma_addr + runtime->dma_bytes; in idma_hw_params()
178 struct idma_ctrl *prtd = substream->runtime->private_data; in idma_prepare()
192 struct idma_ctrl *prtd = substream->runtime->private_data; in idma_trigger()
226 struct snd_pcm_runtime *runtime = substream->runtime; in idma_pointer() local
227 struct idma_ctrl *prtd = runtime->private_data; in idma_pointer()
238 return bytes_to_frames(substream->runtime, res); in idma_pointer()
245 struct snd_pcm_runtime *runtime = substream->runtime; in idma_mmap() local
253 (runtime->dma_addr + offset) >> PAGE_SHIFT, in idma_mmap()
287 struct snd_pcm_runtime *runtime = substream->runtime; in idma_open() local
306 runtime->private_data = prtd; in idma_open()
314 struct snd_pcm_runtime *runtime = substream->runtime; in idma_close() local
315 struct idma_ctrl *prtd = runtime->private_data; in idma_close()