Lines Matching defs:runtime
468 struct snd_pcm_runtime *runtime = substream->runtime;
475 runtime->dma_area = (__force void *)chip->mappedbase;
476 runtime->dma_addr = chip->base;
477 runtime->dma_bytes = 0x3000;
480 runtime->hw = snd_msnd_playback;
559 return bytes_to_frames(substream->runtime, chip->playDMAPos);
575 struct snd_pcm_runtime *runtime = substream->runtime;
580 runtime->dma_area = (__force void *)chip->mappedbase + 0x3000;
581 runtime->dma_addr = chip->base + 0x3000;
582 runtime->dma_bytes = 0x3000;
583 memset(runtime->dma_area, 0, runtime->dma_bytes);
585 runtime->hw = snd_msnd_capture;
634 struct snd_pcm_runtime *runtime = substream->runtime;
637 return bytes_to_frames(runtime, chip->captureDMAPos);