Lines Matching defs:runtime
122 struct snd_pcm_runtime *runtime = pcm->runtime;
130 pcm_buffer_pointer %= runtime->buffer_size;
132 dst = (void *)runtime->dma_area +
133 frames_to_bytes(runtime, pcm_buffer_pointer);
134 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
148 dst = (void *)runtime->dma_area;
158 struct snd_pcm_runtime *runtime = pcm->runtime;
166 pcm_buffer_pointer %= runtime->buffer_size;
168 src = (void *)runtime->dma_area +
169 frames_to_bytes(runtime, pcm_buffer_pointer);
170 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
185 src = (void *)runtime->dma_area;
213 struct snd_pcm_runtime *runtime)
218 err = snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24);
222 return amdtp_stream_add_pcm_hw_constraints(s, runtime);