Lines Matching refs:runtime
326 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx23885_pcm_open() local
335 err = snd_pcm_hw_constraint_pow2(runtime, 0, in snd_cx23885_pcm_open()
342 runtime->hw = snd_cx23885_digital_hw; in snd_cx23885_pcm_open()
349 runtime->hw.period_bytes_min = bpl; in snd_cx23885_pcm_open()
350 runtime->hw.period_bytes_max = bpl; in snd_cx23885_pcm_open()
378 if (substream->runtime->dma_area) { in snd_cx23885_hw_params()
380 substream->runtime->dma_area = NULL; in snd_cx23885_hw_params()
416 substream->runtime->dma_area = chip->buf->vaddr; in snd_cx23885_hw_params()
417 substream->runtime->dma_bytes = chip->dma_size; in snd_cx23885_hw_params()
418 substream->runtime->dma_addr = 0; in snd_cx23885_hw_params()
436 if (substream->runtime->dma_area) { in snd_cx23885_hw_free()
438 substream->runtime->dma_area = NULL; in snd_cx23885_hw_free()
488 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx23885_pointer() local
493 return runtime->period_size * (count & (runtime->periods-1)); in snd_cx23885_pointer()
502 void *pageptr = substream->runtime->dma_area + offset; in snd_cx23885_page()