Lines Matching defs:runtime
401 struct snd_pcm_runtime *runtime = substream->runtime;
413 runtime->private_data = aacirun;
414 runtime->hw = aaci_hw_info;
415 runtime->hw.rates = aacirun->pcm->rates;
416 snd_pcm_limit_hw_rates(runtime);
419 runtime->hw.channels_max = 6;
422 ret = snd_pcm_hw_rule_add(substream->runtime, 0,
430 snd_ac97_pcm_double_rate_rules(runtime);
438 runtime->hw.fifo_size = aaci->fifo_depth * 2;
459 struct aaci_runtime *aacirun = substream->runtime->private_data;
475 struct aaci_runtime *aacirun = substream->runtime->private_data;
499 struct aaci_runtime *aacirun = substream->runtime->private_data;
535 struct snd_pcm_runtime *runtime = substream->runtime;
536 struct aaci_runtime *aacirun = runtime->private_data;
539 aacirun->start = runtime->dma_area;
549 struct snd_pcm_runtime *runtime = substream->runtime;
550 struct aaci_runtime *aacirun = runtime->private_data;
553 return bytes_to_frames(runtime, bytes);
587 struct aaci_runtime *aacirun = substream->runtime->private_data;
671 struct aaci_runtime *aacirun = substream->runtime->private_data;
711 struct snd_pcm_runtime *runtime = substream->runtime;
718 aaci_ac97_write(aaci->ac97, AC97_PCM_LR_ADC_RATE, runtime->rate);
719 aaci_ac97_write(aaci->ac97, AC97_PCM_MIC_ADC_RATE, runtime->rate);