Lines Matching defs:runtime
220 struct snd_pcm_runtime *runtime;
226 runtime = substream->runtime;
230 (unsigned long) (runtime->dma_area +
258 struct snd_pcm_runtime *runtime;
262 runtime = dreamcastcard->substream->runtime;
265 frames_to_bytes(runtime, runtime->buffer_size);
266 if (runtime->channels > 1)
268 aica_dma_transfer(runtime->channels, buffer_size,
272 buffer_size / (AICA_PERIOD_SIZE * runtime->channels);
275 aica_dma_transfer(runtime->channels,
276 AICA_PERIOD_SIZE * runtime->channels,
293 struct snd_pcm_runtime *runtime;
294 runtime = substream->runtime;
298 frames_to_bytes(runtime,
307 if (runtime->channels > 1)
317 struct snd_pcm_runtime *runtime;
318 runtime = substream->runtime;
328 struct snd_pcm_runtime *runtime;
345 runtime = substream->runtime;
346 runtime->hw = snd_pcm_aica_playback_hw;
370 if ((substream->runtime)->format == SNDRV_PCM_FORMAT_S16_LE)
372 dreamcastcard->channel->freq = substream->runtime->rate;