Lines Matching refs:runtime
159 struct snd_pcm_runtime *runtime = pcm->runtime; in write_pcm_s32() local
164 src = (void *)runtime->dma_area + in write_pcm_s32()
165 frames_to_bytes(runtime, s->pcm_buffer_pointer); in write_pcm_s32()
166 remaining_frames = runtime->buffer_size - s->pcm_buffer_pointer; in write_pcm_s32()
176 src = (void *)runtime->dma_area; in write_pcm_s32()
185 struct snd_pcm_runtime *runtime = pcm->runtime; in write_pcm_s16() local
190 src = (void *)runtime->dma_area + in write_pcm_s16()
191 frames_to_bytes(runtime, s->pcm_buffer_pointer); in write_pcm_s16()
192 remaining_frames = runtime->buffer_size - s->pcm_buffer_pointer; in write_pcm_s16()
202 src = (void *)runtime->dma_area; in write_pcm_s16()
211 struct snd_pcm_runtime *runtime = pcm->runtime; in read_pcm_s32() local
216 dst = (void *)runtime->dma_area + in read_pcm_s32()
217 frames_to_bytes(runtime, s->pcm_buffer_pointer); in read_pcm_s32()
218 remaining_frames = runtime->buffer_size - s->pcm_buffer_pointer; in read_pcm_s32()
227 dst = (void *)runtime->dma_area; in read_pcm_s32()
288 struct snd_pcm_runtime *runtime) in amdtp_am824_add_pcm_hw_constraints() argument
292 err = amdtp_stream_add_pcm_hw_constraints(s, runtime); in amdtp_am824_add_pcm_hw_constraints()
297 return snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24); in amdtp_am824_add_pcm_hw_constraints()