Lines Matching full:runtime
49 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_hw_params() local
52 runtime->dma_bytes = params_buffer_bytes(params); in bcm63xx_pcm_hw_params()
152 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_prepare() local
157 dma_desc->dma_addr = runtime->dma_addr; in bcm63xx_pcm_prepare()
158 dma_desc->dma_area = runtime->dma_area; in bcm63xx_pcm_prepare()
182 struct bcm63xx_runtime_data *prtd = substream->runtime->private_data; in bcm63xx_pcm_pointer()
185 prtd->dma_addr_next = substream->runtime->dma_addr; in bcm63xx_pcm_pointer()
187 x = bytes_to_frames(substream->runtime, in bcm63xx_pcm_pointer()
188 prtd->dma_addr_next - substream->runtime->dma_addr); in bcm63xx_pcm_pointer()
190 return x == substream->runtime->buffer_size ? 0 : x; in bcm63xx_pcm_pointer()
197 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_mmap() local
200 runtime->dma_area, in bcm63xx_pcm_mmap()
201 runtime->dma_addr, in bcm63xx_pcm_mmap()
202 runtime->dma_bytes); in bcm63xx_pcm_mmap()
210 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_open() local
213 runtime->hw = bcm63xx_pcm_hardware; in bcm63xx_pcm_open()
214 ret = snd_pcm_hw_constraint_step(runtime, 0, in bcm63xx_pcm_open()
219 ret = snd_pcm_hw_constraint_step(runtime, 0, in bcm63xx_pcm_open()
224 ret = snd_pcm_hw_constraint_integer(runtime, in bcm63xx_pcm_open()
234 runtime->private_data = prtd; in bcm63xx_pcm_open()
243 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_close() local
244 struct bcm63xx_runtime_data *prtd = runtime->private_data; in bcm63xx_pcm_close()
255 struct snd_pcm_runtime *runtime; in i2s_dma_isr() local
269 runtime = substream->runtime; in i2s_dma_isr()
271 prtd = runtime->private_data; in i2s_dma_isr()
291 if (dma_desc->dma_addr - runtime->dma_addr >= in i2s_dma_isr()
292 runtime->dma_bytes) { in i2s_dma_isr()
293 dma_desc->dma_addr = runtime->dma_addr; in i2s_dma_isr()
294 dma_desc->dma_area = runtime->dma_area; in i2s_dma_isr()
317 runtime = substream->runtime; in i2s_dma_isr()
319 prtd = runtime->private_data; in i2s_dma_isr()
341 if (dma_desc->dma_addr - runtime->dma_addr >= in i2s_dma_isr()
342 runtime->dma_bytes) { in i2s_dma_isr()
343 dma_desc->dma_addr = runtime->dma_addr; in i2s_dma_isr()
344 dma_desc->dma_area = runtime->dma_area; in i2s_dma_isr()