Lines Matching defs:runtime
82 struct snd_pcm_runtime *runtime = priv->chan.substream->runtime;
91 runtime->dma_area + priv->chan.nextpos, count);
105 runtime->delay = runtime->period_size;
188 struct snd_pcm_runtime *runtime = substream->runtime;
191 runtime->hw = n64audio_pcm_hw;
192 err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS);
196 err = snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, 2);
200 err = snd_pcm_hw_rule_add(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_SIZE,
210 struct snd_pcm_runtime *runtime = substream->runtime;
214 rate = ((2 * AI_NTSC_DACRATE / runtime->rate) + 1) / 2 - 1;
261 return bytes_to_frames(substream->runtime,