Lines Matching defs:runtime
407 struct snd_pcm_runtime *runtime = substream->runtime;
415 err = snd_pcm_hw_constraint_pow2(runtime, 0,
422 runtime->hw = snd_cx88_digital_hw;
428 runtime->hw.period_bytes_min = bpl;
429 runtime->hw.period_bytes_max = bpl;
457 if (substream->runtime->dma_area) {
459 substream->runtime->dma_area = NULL;
494 substream->runtime->dma_area = chip->buf->vaddr;
495 substream->runtime->dma_bytes = chip->dma_size;
496 substream->runtime->dma_addr = 0;
511 if (substream->runtime->dma_area) {
513 substream->runtime->dma_area = NULL;
561 struct snd_pcm_runtime *runtime = substream->runtime;
567 // count, new, count & (runtime->periods-1),
568 // runtime->period_size * (count & (runtime->periods-1)));
569 return runtime->period_size * (count & (runtime->periods - 1));
578 void *pageptr = substream->runtime->dma_area + offset;