Lines Matching defs:runtime
449 struct snd_pcm_runtime *runtime = substream->runtime;
458 err = snd_pcm_hw_constraint_pow2(runtime, 0,
465 runtime->hw = snd_cx25821_digital_hw;
476 runtime->hw.period_bytes_min = bpl;
477 runtime->hw.period_bytes_max = bpl;
504 if (substream->runtime->dma_area) {
506 substream->runtime->dma_area = NULL;
547 substream->runtime->dma_area = chip->buf->vaddr;
548 substream->runtime->dma_bytes = chip->dma_size;
549 substream->runtime->dma_addr = 0;
566 if (substream->runtime->dma_area) {
568 substream->runtime->dma_area = NULL;
618 struct snd_pcm_runtime *runtime = substream->runtime;
623 return runtime->period_size * (count & (runtime->periods - 1));
632 void *pageptr = substream->runtime->dma_area + offset;