Searched refs:cur_size_in_bytes (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpu/drm/radeon/ |
H A D | si_dma.c | 239 u32 size_in_bytes, cur_size_in_bytes; in si_copy_dma() local 258 cur_size_in_bytes = size_in_bytes; in si_copy_dma() 259 if (cur_size_in_bytes > 0xFFFFF) in si_copy_dma() 260 cur_size_in_bytes = 0xFFFFF; in si_copy_dma() 261 size_in_bytes -= cur_size_in_bytes; in si_copy_dma() 262 radeon_ring_write(ring, DMA_PACKET(DMA_PACKET_COPY, 1, 0, 0, cur_size_in_bytes)); in si_copy_dma() 267 src_offset += cur_size_in_bytes; in si_copy_dma() 268 dst_offset += cur_size_in_bytes; in si_copy_dma()
|
H A D | cik_sdma.c | 587 u32 size_in_bytes, cur_size_in_bytes; in cik_copy_dma() local 606 cur_size_in_bytes = size_in_bytes; in cik_copy_dma() 607 if (cur_size_in_bytes > 0x1fffff) in cik_copy_dma() 608 cur_size_in_bytes = 0x1fffff; in cik_copy_dma() 609 size_in_bytes -= cur_size_in_bytes; in cik_copy_dma() 611 radeon_ring_write(ring, cur_size_in_bytes); in cik_copy_dma() 617 src_offset += cur_size_in_bytes; in cik_copy_dma() 618 dst_offset += cur_size_in_bytes; in cik_copy_dma()
|
H A D | r600.c | 2973 u32 size_in_bytes, cur_size_in_bytes, tmp; in r600_copy_cpdma() local 2995 cur_size_in_bytes = size_in_bytes; in r600_copy_cpdma() 2996 if (cur_size_in_bytes > 0x1fffff) in r600_copy_cpdma() 2997 cur_size_in_bytes = 0x1fffff; in r600_copy_cpdma() 2998 size_in_bytes -= cur_size_in_bytes; in r600_copy_cpdma() 3007 radeon_ring_write(ring, cur_size_in_bytes); in r600_copy_cpdma() 3008 src_offset += cur_size_in_bytes; in r600_copy_cpdma() 3009 dst_offset += cur_size_in_bytes; in r600_copy_cpdma()
|
H A D | cik.c | 3654 u32 size_in_bytes, cur_size_in_bytes, control; in cik_copy_cpdma() local 3673 cur_size_in_bytes = size_in_bytes; in cik_copy_cpdma() 3674 if (cur_size_in_bytes > 0x1fffff) in cik_copy_cpdma() 3675 cur_size_in_bytes = 0x1fffff; in cik_copy_cpdma() 3676 size_in_bytes -= cur_size_in_bytes; in cik_copy_cpdma() 3686 radeon_ring_write(ring, cur_size_in_bytes); in cik_copy_cpdma() 3687 src_offset += cur_size_in_bytes; in cik_copy_cpdma() 3688 dst_offset += cur_size_in_bytes; in cik_copy_cpdma()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 2193 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_copy_buffer() local 2196 dst_offset, cur_size_in_bytes, copy_flags); in amdgpu_copy_buffer() 2197 src_offset += cur_size_in_bytes; in amdgpu_copy_buffer() 2198 dst_offset += cur_size_in_bytes; in amdgpu_copy_buffer() 2199 byte_count -= cur_size_in_bytes; in amdgpu_copy_buffer()
|