Lines Matching defs:runtime
86 struct snd_pcm_runtime *runtime;
113 runtime = substream->runtime;
114 stride = runtime->frame_bits >> 3;
127 if (oldptr + length >= runtime->buffer_size) {
129 runtime->buffer_size - oldptr;
130 memcpy(runtime->dma_area + oldptr * stride, cp,
132 memcpy(runtime->dma_area, cp + cnt * stride,
135 memcpy(runtime->dma_area + oldptr * stride, cp,
143 runtime->buffer_size)
145 runtime->buffer_size;
149 runtime->period_size) {
151 runtime->period_size;
229 struct snd_pcm_runtime *runtime = substream->runtime;
250 runtime->hw = snd_em28xx_hw_capture;
290 snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS);
291 snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIOD_BYTES,