Lines Matching refs:bufsize
83 int remaining = ctx->cl_dev.bufsize; in skl_cldma_setup_bdle()
206 if (ctx->cl_dev.dma_buffer_offset + size > ctx->cl_dev.bufsize) { in skl_cldma_fill_buffer()
207 unsigned int size_b = ctx->cl_dev.bufsize - in skl_cldma_fill_buffer()
219 if (ctx->cl_dev.curr_spib_pos == ctx->cl_dev.bufsize) in skl_cldma_fill_buffer()
266 if (bytes_left > ctx->cl_dev.bufsize) { in skl_cldma_copy_to_buf()
273 ctx->cl_dev.curr_spib_pos = ctx->cl_dev.bufsize; in skl_cldma_copy_to_buf()
275 size = ctx->cl_dev.bufsize; in skl_cldma_copy_to_buf()
290 <= ctx->cl_dev.bufsize) { in skl_cldma_copy_to_buf()
294 (ctx->cl_dev.bufsize - in skl_cldma_copy_to_buf()
333 ctx->cl_dev.bufsize = SKL_MAX_BUFFER_SIZE; in skl_cldma_prepare()
346 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV_SG, ctx->dev, ctx->cl_dev.bufsize, in skl_cldma_prepare()
364 &bdl, ctx->cl_dev.bufsize, 1); in skl_cldma_prepare()
366 ctx->cl_dev.bufsize, ctx->cl_dev.frags); in skl_cldma_prepare()