Lines Matching defs:runtime
154 struct snd_pcm_runtime *runtime = pcm->runtime;
161 pcm_buffer_pointer %= runtime->buffer_size;
163 src = (void *)runtime->dma_area +
164 frames_to_bytes(runtime, pcm_buffer_pointer);
165 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
175 src = (void *)runtime->dma_area;
185 struct snd_pcm_runtime *runtime = pcm->runtime;
192 pcm_buffer_pointer %= runtime->buffer_size;
194 dst = (void *)runtime->dma_area +
195 frames_to_bytes(runtime, pcm_buffer_pointer);
196 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
205 dst = (void *)runtime->dma_area;
225 * @runtime: the PCM substream runtime
229 struct snd_pcm_runtime *runtime)
233 err = amdtp_stream_add_pcm_hw_constraints(s, runtime);
238 return snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24);