Lines Matching defs:runtime
208 struct snd_pcm_runtime *runtime = substream->runtime;
212 err = snd_pcm_hw_constraint_integer(runtime,
218 runtime->hw = snd_at73c213_playback_hw;
253 struct snd_pcm_runtime *runtime = substream->runtime;
256 block_size = frames_to_bytes(runtime, runtime->period_size);
261 (long)runtime->dma_addr);
263 runtime->period_size * runtime->channels);
265 (long)runtime->dma_addr + block_size);
267 runtime->period_size * runtime->channels);
304 struct snd_pcm_runtime *runtime = substream->runtime;
309 - (unsigned long)runtime->dma_addr;
311 pos = bytes_to_frames(runtime, bytes);
312 if (pos >= runtime->buffer_size)
313 pos -= runtime->buffer_size;
354 struct snd_pcm_runtime *runtime = chip->substream->runtime;
363 block_size = frames_to_bytes(runtime, runtime->period_size);
368 if (chip->period == runtime->periods)
371 if (next_period == runtime->periods)
377 (long)runtime->dma_addr + offset);
379 runtime->period_size * runtime->channels);