Lines Matching defs:runtime
76 struct snd_pcm_runtime *runtime;
103 runtime = substream->runtime;
104 stride = runtime->frame_bits >> 3;
117 if (oldptr + length >= runtime->buffer_size) {
119 runtime->buffer_size - oldptr;
120 memcpy(runtime->dma_area + oldptr * stride, cp,
122 memcpy(runtime->dma_area, cp + cnt * stride,
125 memcpy(runtime->dma_area + oldptr * stride, cp,
133 runtime->buffer_size)
135 runtime->buffer_size;
139 runtime->period_size) {
141 runtime->period_size;
219 struct snd_pcm_runtime *runtime = substream->runtime;
240 runtime->hw = snd_em28xx_hw_capture;
280 snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS);
281 snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIOD_BYTES,