Lines Matching defs:runtime
151 struct snd_pcm_runtime *runtime = pcm->runtime;
158 pcm_buffer_pointer %= runtime->buffer_size;
160 src = (void *)runtime->dma_area +
161 frames_to_bytes(runtime, pcm_buffer_pointer);
162 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
173 src = (void *)runtime->dma_area;
183 struct snd_pcm_runtime *runtime = pcm->runtime;
190 pcm_buffer_pointer %= runtime->buffer_size;
192 dst = (void *)runtime->dma_area +
193 frames_to_bytes(runtime, pcm_buffer_pointer);
194 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
204 dst = (void *)runtime->dma_area;
323 struct snd_pcm_runtime *runtime)
328 err = snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24);
332 return amdtp_stream_add_pcm_hw_constraints(s, runtime);