Lines Matching refs:runtime
397 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_playback_open() local
400 runtime->hw = snd_aw2_playback_hw; in snd_aw2_pcm_playback_open()
413 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_capture_open() local
416 runtime->hw = snd_aw2_capture_hw; in snd_aw2_pcm_capture_open()
446 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_playback() local
456 runtime->dma_addr, period_size, in snd_aw2_pcm_prepare_playback()
475 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_capture() local
485 runtime->dma_addr, period_size, in snd_aw2_pcm_prepare_capture()
560 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_playback() local
564 runtime->dma_area, in snd_aw2_pcm_pointer_playback()
565 runtime->buffer_size); in snd_aw2_pcm_pointer_playback()
567 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_playback()
579 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_capture() local
583 runtime->dma_area, in snd_aw2_pcm_pointer_capture()
584 runtime->buffer_size); in snd_aw2_pcm_pointer_capture()
586 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_capture()