Lines Matching refs:curr_spib_pos
194 dev_dbg(ctx->dev, "spib position: %d\n", ctx->cl_dev.curr_spib_pos); in skl_cldma_fill_buffer()
214 if (ctx->cl_dev.curr_spib_pos == ctx->cl_dev.bufsize) in skl_cldma_fill_buffer()
217 ctx->cl_dev.dma_buffer_offset = ctx->cl_dev.curr_spib_pos; in skl_cldma_fill_buffer()
224 ctx->cl_dev.ops.cl_setup_spb(ctx, ctx->cl_dev.curr_spib_pos, trigger); in skl_cldma_fill_buffer()
267 if (ctx->cl_dev.curr_spib_pos == 0) in skl_cldma_copy_to_buf()
268 ctx->cl_dev.curr_spib_pos = ctx->cl_dev.bufsize; in skl_cldma_copy_to_buf()
284 if ((ctx->cl_dev.curr_spib_pos + bytes_left) in skl_cldma_copy_to_buf()
286 ctx->cl_dev.curr_spib_pos += bytes_left; in skl_cldma_copy_to_buf()
290 ctx->cl_dev.curr_spib_pos); in skl_cldma_copy_to_buf()
291 ctx->cl_dev.curr_spib_pos = excess_bytes; in skl_cldma_copy_to_buf()
363 ctx->cl_dev.curr_spib_pos = 0; in skl_cldma_prepare()