Lines Matching refs:buffer_pos
93 int buffer_pos; /* current frame position in the buffer */ member
214 strm->buffer_pos = 0; in rz_ssi_stream_init()
396 strm->buffer_pos += frames; in rz_ssi_pointer_update()
397 WARN_ON(strm->buffer_pos > runtime->buffer_size); in rz_ssi_pointer_update()
400 if (strm->buffer_pos == runtime->buffer_size) in rz_ssi_pointer_update()
401 strm->buffer_pos = 0; in rz_ssi_pointer_update()
403 current_period = strm->buffer_pos / runtime->period_size; in rz_ssi_pointer_update()
425 frames_left = runtime->period_size - (strm->buffer_pos % in rz_ssi_pio_recv()
447 buf += strm->buffer_pos * runtime->channels; in rz_ssi_pio_recv()
481 frames_left = runtime->period_size - (strm->buffer_pos % in rz_ssi_pio_send()
503 buf += strm->buffer_pos * runtime->channels; in rz_ssi_pio_send()
881 return strm->buffer_pos; in rz_ssi_pcm_pointer()