Lines Matching defs:runtime
468 struct snd_pcm_runtime *runtime = substream->runtime;
475 runtime->dma_area = (__force void *)chip->mappedbase;
476 runtime->dma_bytes = 0x3000;
479 runtime->hw = snd_msnd_playback;
558 return bytes_to_frames(substream->runtime, chip->playDMAPos);
573 struct snd_pcm_runtime *runtime = substream->runtime;
578 runtime->dma_area = (__force void *)chip->mappedbase + 0x3000;
579 runtime->dma_bytes = 0x3000;
580 memset(runtime->dma_area, 0, runtime->dma_bytes);
582 runtime->hw = snd_msnd_capture;
631 struct snd_pcm_runtime *runtime = substream->runtime;
634 return bytes_to_frames(runtime, chip->captureDMAPos);