Home
last modified time | relevance | path

Searched refs:size_to_dma (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c5877 u32 size_to_dma, dma_addr_t dma_addr) in gaudi_dma_core_transfer() argument
5889 WREG32(mmDMA0_CORE_DST_TSIZE_0 + dma_offset, size_to_dma); in gaudi_dma_core_transfer()
5926 u32 dma_core_sts0, err_cause, cfg1, size_left, pos, size_to_dma; in gaudi_debugfs_read_dma() local
5989 size_to_dma = SZ_2M; in gaudi_debugfs_read_dma()
5994 size_to_dma = size_left; in gaudi_debugfs_read_dma()
5996 rc = gaudi_dma_core_transfer(hdev, dma_id, addr, size_to_dma, in gaudi_debugfs_read_dma()
6001 memcpy(blob_addr + pos, kernel_addr, size_to_dma); in gaudi_debugfs_read_dma()
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c10302 u32 pos, size_left, size_to_dma; in gaudi2_debugfs_read_dma() local
10355 size_to_dma = SZ_2M; in gaudi2_debugfs_read_dma()
10359 size_to_dma = size_left; in gaudi2_debugfs_read_dma()
10361 rc = gaudi2_send_job_to_kdma(hdev, addr, reserved_va_base, size_to_dma, false); in gaudi2_debugfs_read_dma()
10365 memcpy(blob_addr + pos, host_mem_virtual_addr, size_to_dma); in gaudi2_debugfs_read_dma()