Lines Matching defs:runtime
448 struct snd_pcm_runtime *runtime = substream->runtime;
457 err = snd_pcm_hw_constraint_pow2(runtime, 0,
464 runtime->hw = snd_cx25821_digital_hw;
475 runtime->hw.period_bytes_min = bpl;
476 runtime->hw.period_bytes_max = bpl;
503 if (substream->runtime->dma_area) {
505 substream->runtime->dma_area = NULL;
546 substream->runtime->dma_area = chip->buf->vaddr;
547 substream->runtime->dma_bytes = chip->dma_size;
548 substream->runtime->dma_addr = 0;
565 if (substream->runtime->dma_area) {
567 substream->runtime->dma_area = NULL;
617 struct snd_pcm_runtime *runtime = substream->runtime;
622 return runtime->period_size * (count & (runtime->periods - 1));
631 void *pageptr = substream->runtime->dma_area + offset;