Lines Matching refs:bytes_left
252 unsigned int bytes_left = total_size; in skl_cldma_copy_to_buf() local
258 dev_dbg(ctx->dev, "%s: Total binary size: %u\n", __func__, bytes_left); in skl_cldma_copy_to_buf()
260 while (bytes_left) { in skl_cldma_copy_to_buf()
261 if (bytes_left > 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()
288 excess_bytes = bytes_left - in skl_cldma_copy_to_buf()
294 size = bytes_left; in skl_cldma_copy_to_buf()
298 bytes_left -= size; in skl_cldma_copy_to_buf()
301 return bytes_left; in skl_cldma_copy_to_buf()
304 return bytes_left; in skl_cldma_copy_to_buf()