Lines Matching defs:runtime
99 struct snd_pcm_runtime *runtime = pcm->runtime;
107 pcm_buffer_pointer %= runtime->buffer_size;
109 dst = (void *)runtime->dma_area +
110 frames_to_bytes(runtime, pcm_buffer_pointer);
111 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
125 dst = (void *)runtime->dma_area;
135 struct snd_pcm_runtime *runtime = pcm->runtime;
143 pcm_buffer_pointer %= runtime->buffer_size;
145 src = (void *)runtime->dma_area +
146 frames_to_bytes(runtime, pcm_buffer_pointer);
147 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
162 src = (void *)runtime->dma_area;
190 struct snd_pcm_runtime *runtime)
195 err = snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24);
199 return amdtp_stream_add_pcm_hw_constraints(s, runtime);