Lines Matching defs:runtime
36 struct snd_pcm_runtime *runtime = pcm->runtime;
43 pcm_buffer_pointer %= runtime->buffer_size;
45 src = (void *)runtime->dma_area +
46 frames_to_bytes(runtime, pcm_buffer_pointer);
47 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
56 src = (void *)runtime->dma_area;
66 struct snd_pcm_runtime *runtime = pcm->runtime;
73 pcm_buffer_pointer %= runtime->buffer_size;
75 dst = (void *)runtime->dma_area +
76 frames_to_bytes(runtime, pcm_buffer_pointer);
77 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
86 dst = (void *)runtime->dma_area;
104 struct snd_pcm_runtime *runtime)
108 err = snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24);
112 return amdtp_stream_add_pcm_hw_constraints(s, runtime);