Lines Matching refs:runtime
157 struct snd_pcm_runtime *runtime = substream->runtime; in au1000_setup_dma_link() local
162 dma_start = virt_to_phys(runtime->dma_area); in au1000_setup_dma_link()
296 substream->runtime->hw = snd_au1000_hw; in snd_au1000_playback_open()
297 return (snd_pcm_hw_constraint_list(substream->runtime, 0, in snd_au1000_playback_open()
309 substream->runtime->hw = snd_au1000_hw; in snd_au1000_capture_open()
310 return (snd_pcm_hw_constraint_list(substream->runtime, 0, in snd_au1000_capture_open()
360 struct snd_pcm_runtime *runtime = substream->runtime; in snd_au1000_playback_prepare() local
362 if (runtime->channels == 1) in snd_au1000_playback_prepare()
366 snd_ac97_set_rate(au1000->ac97, AC97_PCM_FRONT_DAC_RATE, runtime->rate); in snd_au1000_playback_prepare()
374 struct snd_pcm_runtime *runtime = substream->runtime; in snd_au1000_capture_prepare() local
376 if (runtime->channels == 1) in snd_au1000_capture_prepare()
380 snd_ac97_set_rate(au1000->ac97, AC97_PCM_LR_ADC_RATE, runtime->rate); in snd_au1000_capture_prepare()
410 struct snd_pcm_runtime *runtime = substream->runtime; in snd_au1000_pointer() local
419 return bytes_to_frames(runtime,location); in snd_au1000_pointer()