Lines Matching defs:runtime
156 struct snd_pcm_runtime *runtime = pcm->runtime;
163 pcm_buffer_pointer %= runtime->buffer_size;
165 src = (void *)runtime->dma_area +
166 frames_to_bytes(runtime, pcm_buffer_pointer);
167 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
177 src = (void *)runtime->dma_area;
187 struct snd_pcm_runtime *runtime = pcm->runtime;
194 pcm_buffer_pointer %= runtime->buffer_size;
196 dst = (void *)runtime->dma_area +
197 frames_to_bytes(runtime, pcm_buffer_pointer);
198 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
207 dst = (void *)runtime->dma_area;
227 * @runtime: the PCM substream runtime
231 struct snd_pcm_runtime *runtime)
235 err = amdtp_stream_add_pcm_hw_constraints(s, runtime);
240 return snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24);