Searched refs:bytes_left (Results 1 – 3 of 3) sorted by relevance
/sound/soc/intel/skylake/ |
D | skl-sst-cldma.c | 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() [all …]
|
D | skl-sst.c | 334 int ret, bytes_left, curr_pos; in skl_transfer_module() local 338 bytes_left = ctx->cl_dev.ops.cl_copy_to_dmabuf(ctx, data, size, false); in skl_transfer_module() 339 if (bytes_left < 0) in skl_transfer_module() 340 return bytes_left; in skl_transfer_module() 359 while (bytes_left > 0) { in skl_transfer_module() 360 curr_pos = size - bytes_left; in skl_transfer_module() 366 bytes_left = ctx->cl_dev.ops.cl_copy_to_dmabuf(ctx, in skl_transfer_module() 368 bytes_left, false); in skl_transfer_module()
|
/sound/soc/sof/intel/ |
D | hda-loader-skl.c | 459 unsigned int bytes_left = total_size; in cl_skl_cldma_copy_to_buf() local 466 while (bytes_left > 0) { in cl_skl_cldma_copy_to_buf() 467 if (bytes_left > bufsize) { in cl_skl_cldma_copy_to_buf() 475 __func__, bytes_left); in cl_skl_cldma_copy_to_buf() 479 bytes_left -= bufsize; in cl_skl_cldma_copy_to_buf() 482 dev_dbg(sdev->dev, "cldma copy %#x bytes\n", bytes_left); in cl_skl_cldma_copy_to_buf() 485 cl_skl_cldma_fill_buffer(sdev, dmab, bufsize, bytes_left, curr_pos, false); in cl_skl_cldma_copy_to_buf() 490 return bytes_left; in cl_skl_cldma_copy_to_buf()
|