Lines Matching refs:runtime
45 struct snd_pcm_runtime *runtime = pcm->runtime; in write_pcm_s32() local
50 src = (void *)runtime->dma_area + in write_pcm_s32()
51 frames_to_bytes(runtime, s->pcm_buffer_pointer); in write_pcm_s32()
52 remaining_frames = runtime->buffer_size - s->pcm_buffer_pointer; in write_pcm_s32()
61 src = (void *)runtime->dma_area; in write_pcm_s32()
70 struct snd_pcm_runtime *runtime = pcm->runtime; in write_pcm_s16() local
75 src = (void *)runtime->dma_area + in write_pcm_s16()
76 frames_to_bytes(runtime, s->pcm_buffer_pointer); in write_pcm_s16()
77 remaining_frames = runtime->buffer_size - s->pcm_buffer_pointer; in write_pcm_s16()
86 src = (void *)runtime->dma_area; in write_pcm_s16()
95 struct snd_pcm_runtime *runtime = pcm->runtime; in read_pcm_s32() local
100 dst = (void *)runtime->dma_area + in read_pcm_s32()
101 frames_to_bytes(runtime, s->pcm_buffer_pointer); in read_pcm_s32()
102 remaining_frames = runtime->buffer_size - s->pcm_buffer_pointer; in read_pcm_s32()
114 dst = (void *)runtime->dma_area; in read_pcm_s32()
134 struct snd_pcm_runtime *runtime) in amdtp_tscm_add_pcm_hw_constraints() argument
142 err = snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24); in amdtp_tscm_add_pcm_hw_constraints()
146 return amdtp_stream_add_pcm_hw_constraints(s, runtime); in amdtp_tscm_add_pcm_hw_constraints()