Lines Matching refs:runtime
461 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx25821_pcm_open() local
470 err = snd_pcm_hw_constraint_pow2(runtime, 0, in snd_cx25821_pcm_open()
477 runtime->hw = snd_cx25821_digital_hw; in snd_cx25821_pcm_open()
488 runtime->hw.period_bytes_min = bpl; in snd_cx25821_pcm_open()
489 runtime->hw.period_bytes_max = bpl; in snd_cx25821_pcm_open()
516 if (substream->runtime->dma_area) { in snd_cx25821_hw_params()
518 substream->runtime->dma_area = NULL; in snd_cx25821_hw_params()
559 substream->runtime->dma_area = chip->buf->vaddr; in snd_cx25821_hw_params()
560 substream->runtime->dma_bytes = chip->dma_size; in snd_cx25821_hw_params()
561 substream->runtime->dma_addr = 0; in snd_cx25821_hw_params()
578 if (substream->runtime->dma_area) { in snd_cx25821_hw_free()
580 substream->runtime->dma_area = NULL; in snd_cx25821_hw_free()
630 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx25821_pointer() local
635 return runtime->period_size * (count & (runtime->periods - 1)); in snd_cx25821_pointer()
644 void *pageptr = substream->runtime->dma_area + offset; in snd_cx25821_page()