Lines Matching refs:runtime
480 struct snd_pcm_runtime *runtime = substream->runtime; in snd_msnd_playback_open() local
487 runtime->dma_area = chip->mappedbase; in snd_msnd_playback_open()
488 runtime->dma_bytes = 0x3000; in snd_msnd_playback_open()
491 runtime->hw = snd_msnd_playback; in snd_msnd_playback_open()
570 return bytes_to_frames(substream->runtime, chip->playDMAPos); in snd_msnd_playback_pointer()
586 struct snd_pcm_runtime *runtime = substream->runtime; in snd_msnd_capture_open() local
591 runtime->dma_area = chip->mappedbase + 0x3000; in snd_msnd_capture_open()
592 runtime->dma_bytes = 0x3000; in snd_msnd_capture_open()
593 memset(runtime->dma_area, 0, runtime->dma_bytes); in snd_msnd_capture_open()
595 runtime->hw = snd_msnd_capture; in snd_msnd_capture_open()
644 struct snd_pcm_runtime *runtime = substream->runtime; in snd_msnd_capture_pointer() local
647 return bytes_to_frames(runtime, chip->captureDMAPos); in snd_msnd_capture_pointer()