Lines Matching refs:runtime

404 	struct snd_pcm_runtime *runtime = substream->runtime;  in aaci_pcm_open()  local
416 runtime->private_data = aacirun; in aaci_pcm_open()
417 runtime->hw = aaci_hw_info; in aaci_pcm_open()
418 runtime->hw.rates = aacirun->pcm->rates; in aaci_pcm_open()
419 snd_pcm_limit_hw_rates(runtime); in aaci_pcm_open()
422 runtime->hw.channels_max = 6; in aaci_pcm_open()
425 ret = snd_pcm_hw_rule_add(substream->runtime, 0, in aaci_pcm_open()
433 snd_ac97_pcm_double_rate_rules(runtime); in aaci_pcm_open()
441 runtime->hw.fifo_size = aaci->fifo_depth * 2; in aaci_pcm_open()
462 struct aaci_runtime *aacirun = substream->runtime->private_data; in aaci_pcm_close()
478 struct aaci_runtime *aacirun = substream->runtime->private_data; in aaci_pcm_hw_free()
507 struct aaci_runtime *aacirun = substream->runtime->private_data; in aaci_pcm_hw_params()
548 struct snd_pcm_runtime *runtime = substream->runtime; in aaci_pcm_prepare() local
549 struct aaci_runtime *aacirun = runtime->private_data; in aaci_pcm_prepare()
552 aacirun->start = runtime->dma_area; in aaci_pcm_prepare()
562 struct snd_pcm_runtime *runtime = substream->runtime; in aaci_pcm_pointer() local
563 struct aaci_runtime *aacirun = runtime->private_data; in aaci_pcm_pointer()
566 return bytes_to_frames(runtime, bytes); in aaci_pcm_pointer()
600 struct aaci_runtime *aacirun = substream->runtime->private_data; in aaci_pcm_playback_trigger()
685 struct aaci_runtime *aacirun = substream->runtime->private_data; in aaci_pcm_capture_trigger()
725 struct snd_pcm_runtime *runtime = substream->runtime; in aaci_pcm_capture_prepare() local
732 aaci_ac97_write(aaci->ac97, AC97_PCM_LR_ADC_RATE, runtime->rate); in aaci_pcm_capture_prepare()
733 aaci_ac97_write(aaci->ac97, AC97_PCM_MIC_ADC_RATE, runtime->rate); in aaci_pcm_capture_prepare()