Lines Matching defs:runtime
205 struct snd_pcm_runtime *runtime =
206 get_substream(line6pcm, SNDRV_PCM_STREAM_PLAYBACK)->runtime;
208 if (line6pcm->out.pos + urb_frames > runtime->buffer_size) {
215 len = runtime->buffer_size - line6pcm->out.pos;
219 runtime->dma_area +
223 len * bytes_per_frame, runtime->dma_area,
230 runtime->dma_area +
236 if (line6pcm->out.pos >= runtime->buffer_size)
237 line6pcm->out.pos -= runtime->buffer_size;
333 struct snd_pcm_runtime *runtime = substream->runtime;
338 if (line6pcm->out.pos_done >= runtime->buffer_size)
339 line6pcm->out.pos_done -= runtime->buffer_size;
373 struct snd_pcm_runtime *runtime = substream->runtime;
376 err = snd_pcm_hw_constraint_ratdens(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
381 runtime->hw = line6pcm->properties->playback_hw;