Lines Matching refs:buffer_pos
109 unsigned int buffer_pos; member
219 source = runtime->dma_area + stream->buffer_pos * frame_bytes; in copy_playback_data()
220 if (stream->buffer_pos + frames <= runtime->buffer_size) { in copy_playback_data()
224 frames1 = runtime->buffer_size - stream->buffer_pos; in copy_playback_data()
230 stream->buffer_pos += frames; in copy_playback_data()
231 if (stream->buffer_pos >= runtime->buffer_size) in copy_playback_data()
232 stream->buffer_pos -= runtime->buffer_size; in copy_playback_data()
323 dest = runtime->dma_area + stream->buffer_pos * frame_bytes; in copy_capture_data()
324 if (stream->buffer_pos + frames <= runtime->buffer_size) { in copy_capture_data()
328 frames1 = runtime->buffer_size - stream->buffer_pos; in copy_capture_data()
335 stream->buffer_pos += frames; in copy_capture_data()
336 if (stream->buffer_pos >= runtime->buffer_size) in copy_capture_data()
337 stream->buffer_pos -= runtime->buffer_size; in copy_capture_data()
775 ua->capture.buffer_pos = 0; in capture_pcm_prepare()
803 ua->playback.buffer_pos = 0; in playback_pcm_prepare()
850 pos = stream->buffer_pos; in ua101_pcm_pointer()