Lines Matching defs:runtime
41 struct snd_pcm_runtime *runtime = pcm->runtime;
48 pcm_buffer_pointer %= runtime->buffer_size;
50 src = (void *)runtime->dma_area +
51 frames_to_bytes(runtime, pcm_buffer_pointer);
52 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
61 src = (void *)runtime->dma_area;
71 struct snd_pcm_runtime *runtime = pcm->runtime;
78 pcm_buffer_pointer %= runtime->buffer_size;
80 dst = (void *)runtime->dma_area +
81 frames_to_bytes(runtime, pcm_buffer_pointer);
82 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
94 dst = (void *)runtime->dma_area;
114 struct snd_pcm_runtime *runtime)
122 err = snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24);
126 return amdtp_stream_add_pcm_hw_constraints(s, runtime);