Lines Matching defs:runtime
23 * struct snd_compr_runtime: runtime stream description
39 * @dma_buffer_p: runtime dma buffer pointer
63 * @runtime: pointer to runtime structure
77 struct snd_compr_runtime *runtime;
193 wake_up(&stream->runtime->sleep);
203 stream->runtime->state = SNDRV_PCM_STATE_RUNNING;
206 stream->runtime->state = SNDRV_PCM_STATE_SETUP;
209 wake_up(&stream->runtime->sleep);
213 * snd_compr_set_runtime_buffer - Set the Compress runtime buffer
217 * Copy the buffer information to runtime buffer when @bufp is non-NULL.
224 struct snd_compr_runtime *runtime = stream->runtime;
227 runtime->dma_buffer_p = bufp;
228 runtime->dma_area = bufp->area;
229 runtime->dma_addr = bufp->addr;
230 runtime->dma_bytes = bufp->bytes;
232 runtime->dma_buffer_p = NULL;
233 runtime->dma_area = NULL;
234 runtime->dma_addr = 0;
235 runtime->dma_bytes = 0;