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