Lines Matching full:runtime

52 	struct snd_pcm_runtime *runtime = substream->runtime;  in sprd_pcm_open()  local
60 ret = snd_pcm_hw_constraint_step(runtime, 0, in sprd_pcm_open()
66 ret = snd_pcm_hw_constraint_step(runtime, 0, in sprd_pcm_open()
72 ret = snd_pcm_hw_constraint_integer(runtime, in sprd_pcm_open()
81 size = runtime->hw.periods_max * SPRD_PCM_DMA_LINKLIST_SIZE; in sprd_pcm_open()
95 runtime->private_data = dma_private; in sprd_pcm_open()
115 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_close() local
116 struct sprd_pcm_dma_private *dma_private = runtime->private_data; in sprd_pcm_close()
118 int size = runtime->hw.periods_max * SPRD_PCM_DMA_LINKLIST_SIZE; in sprd_pcm_close()
142 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_release_dma_channel() local
143 struct sprd_pcm_dma_private *dma_private = runtime->private_data; in sprd_pcm_release_dma_channel()
160 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_request_dma_channel() local
161 struct sprd_pcm_dma_private *dma_private = runtime->private_data; in sprd_pcm_request_dma_channel()
191 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_hw_params() local
192 struct sprd_pcm_dma_private *dma_private = runtime->private_data; in sprd_pcm_hw_params()
239 config.src_addr = runtime->dma_addr + in sprd_pcm_hw_params()
245 config.dst_addr = runtime->dma_addr + in sprd_pcm_hw_params()
255 sg_dma_address(sgt) = runtime->dma_addr + in sprd_pcm_hw_params()
288 if (!runtime->no_period_wakeup) { in sprd_pcm_hw_params()
317 substream->runtime->private_data; in sprd_pcm_trigger()
380 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_pointer() local
381 struct sprd_pcm_dma_private *dma_private = runtime->private_data; in sprd_pcm_pointer()
405 pointer[i] = state.residue - runtime->dma_addr - in sprd_pcm_pointer()
425 x = bytes_to_frames(runtime, bytes_of_pointer); in sprd_pcm_pointer()
426 if (x == runtime->buffer_size) in sprd_pcm_pointer()