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
76 struct snd_compr_runtime *runtime;
179 wake_up(&stream->runtime->sleep);
189 stream->runtime->state = SNDRV_PCM_STATE_RUNNING;
192 stream->runtime->state = SNDRV_PCM_STATE_SETUP;
195 wake_up(&stream->runtime->sleep);
199 * snd_compr_set_runtime_buffer - Set the Compress runtime buffer
203 * Copy the buffer information to runtime buffer when @bufp is non-NULL.
210 struct snd_compr_runtime *runtime = stream->runtime;
213 runtime->dma_buffer_p = bufp;
214 runtime->dma_area = bufp->area;
215 runtime->dma_addr = bufp->addr;
216 runtime->dma_bytes = bufp->bytes;
218 runtime->dma_buffer_p = NULL;
219 runtime->dma_area = NULL;
220 runtime->dma_addr = 0;
221 runtime->dma_bytes = 0;