Lines Matching defs:runtime
88 struct snd_pcm_runtime *runtime = substream->runtime;
94 if (runtime == NULL)
97 if (line6pcm->in.pos_done + frames > runtime->buffer_size) {
104 len = runtime->buffer_size - line6pcm->in.pos_done;
107 memcpy(runtime->dma_area +
110 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame,
119 memcpy(runtime->dma_area +
124 if (line6pcm->in.pos_done >= runtime->buffer_size)
125 line6pcm->in.pos_done -= runtime->buffer_size;
222 struct snd_pcm_runtime *runtime = substream->runtime;
225 err = snd_pcm_hw_constraint_ratdens(runtime, 0,
233 runtime->hw = line6pcm->properties->capture_hw;