Lines Matching refs:runtime
314 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx23885_pcm_open() local
322 err = snd_pcm_hw_constraint_pow2(runtime, 0, in snd_cx23885_pcm_open()
329 runtime->hw = snd_cx23885_digital_hw; in snd_cx23885_pcm_open()
336 runtime->hw.period_bytes_min = bpl; in snd_cx23885_pcm_open()
337 runtime->hw.period_bytes_max = bpl; in snd_cx23885_pcm_open()
365 if (substream->runtime->dma_area) { in snd_cx23885_hw_params()
367 substream->runtime->dma_area = NULL; in snd_cx23885_hw_params()
403 substream->runtime->dma_area = chip->buf->vaddr; in snd_cx23885_hw_params()
404 substream->runtime->dma_bytes = chip->dma_size; in snd_cx23885_hw_params()
405 substream->runtime->dma_addr = 0; in snd_cx23885_hw_params()
423 if (substream->runtime->dma_area) { in snd_cx23885_hw_free()
425 substream->runtime->dma_area = NULL; in snd_cx23885_hw_free()
475 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx23885_pointer() local
480 return runtime->period_size * (count & (runtime->periods-1)); in snd_cx23885_pointer()
489 void *pageptr = substream->runtime->dma_area + offset; in snd_cx23885_page()