Lines Matching refs:ncopy
37 unsigned i, ncopy, count, max_size, sub_cmd, shift; in si_dma_copy_buffer() local
61 ncopy = DIV_ROUND_UP(size, max_size); in si_dma_copy_buffer()
62 si_need_dma_space(&ctx->b, ncopy * 5, rdst, rsrc); in si_dma_copy_buffer()
64 for (i = 0; i < ncopy; i++) { in si_dma_copy_buffer()
86 unsigned i, ncopy, csize; in si_dma_clear_buffer() local
103 ncopy = DIV_ROUND_UP(size, SI_DMA_COPY_MAX_DWORD_ALIGNED_SIZE); in si_dma_clear_buffer()
104 si_need_dma_space(&sctx->b, ncopy * 4, rdst, NULL); in si_dma_clear_buffer()
106 for (i = 0; i < ncopy; i++) { in si_dma_clear_buffer()
146 unsigned ncopy, height, cheight, i; in si_dma_copy_tile() local
192 ncopy = DIV_ROUND_UP(size, SI_DMA_COPY_MAX_DWORD_ALIGNED_SIZE); in si_dma_copy_tile()
193 si_need_dma_space(&ctx->b, ncopy * 9, &rdst->resource, &rsrc->resource); in si_dma_copy_tile()
195 for (i = 0; i < ncopy; i++) { in si_dma_copy_tile()