Home
last modified time | relevance | path

Searched refs:cur_size_in_bytes (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/radeon/
Dsi_dma.c239 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()
Dcik_sdma.c587 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()
Dr600.c2973 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()
Dcik.c3654 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-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c2161 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_copy_buffer() local
2164 dst_offset, cur_size_in_bytes, tmz); in amdgpu_copy_buffer()
2166 src_offset += cur_size_in_bytes; in amdgpu_copy_buffer()
2167 dst_offset += cur_size_in_bytes; in amdgpu_copy_buffer()
2168 byte_count -= cur_size_in_bytes; in amdgpu_copy_buffer()