Home
last modified time | relevance | path

Searched refs:hl_asic_dma_alloc_coherent (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/misc/habanalabs/common/
Dcommand_buffer.c134 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, GFP_ATOMIC); in hl_cb_alloc()
136 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, GFP_KERNEL); in hl_cb_alloc()
138 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, in hl_cb_alloc()
Dirq.c472 p = hl_asic_dma_alloc_coherent(hdev, HL_CQ_SIZE_IN_BYTES, &q->bus_address, in hl_cq_init()
Dhw_queue.c822 p = hl_asic_dma_alloc_coherent(hdev, HL_QUEUE_SIZE_IN_BYTES, &q->bus_address, in ext_and_cpu_queue_init()
888 p = hl_asic_dma_alloc_coherent(hdev, HL_QUEUE_SIZE_IN_BYTES, &q->bus_address, in hw_queue_init()
Dhabanalabs.h148 #define hl_asic_dma_alloc_coherent(hdev, size, dma_handle, flags) \ macro
/linux-6.1.9/drivers/misc/habanalabs/common/mmu/
Dmmu.c882 virt_addr = (uintptr_t) hl_asic_dma_alloc_coherent(hdev, pool_chunk_size, in hl_mmu_hr_init()
1115 virt_addr = hl_asic_dma_alloc_coherent(hdev, SZ_2M, &phys_addr, in hl_mmu_hr_alloc_hop()
/linux-6.1.9/drivers/misc/habanalabs/gaudi/
Dgaudi.c1064 cpu_addr = hl_asic_dma_alloc_coherent(hdev, fw_size, &dma_handle, GFP_KERNEL | __GFP_ZERO); in gaudi_init_tpc_mem()
1705 virt_addr_arr[i] = hl_asic_dma_alloc_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, in gaudi_alloc_cpu_accessible_dma_mem()
1787 q->pq_kernel_addr = hl_asic_dma_alloc_coherent(hdev, q->pq_size, &q->pq_dma_addr, in gaudi_alloc_internal_qmans_pq_mem()
6006 kernel_addr = hl_asic_dma_alloc_coherent(hdev, SZ_2M, &dma_addr, GFP_KERNEL | __GFP_ZERO); in gaudi_debugfs_read_dma()
8371 hdev->internal_cb_pool_virt_addr = hl_asic_dma_alloc_coherent(hdev, in gaudi_internal_cb_pool_init()
/linux-6.1.9/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c2856 virt_addr_arr[i] = hl_asic_dma_alloc_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, in gaudi2_alloc_cpu_accessible_dma_mem()
3029 gaudi2->scratchpad_kernel_address = hl_asic_dma_alloc_coherent(hdev, PAGE_SIZE, in gaudi2_sw_init()
9335 host_mem_virtual_addr = hl_asic_dma_alloc_coherent(hdev, SZ_2M, &host_mem_dma_addr, in gaudi2_debugfs_read_dma()
9414 hdev->internal_cb_pool_virt_addr = hl_asic_dma_alloc_coherent(hdev, in gaudi2_internal_cb_pool_init()
/linux-6.1.9/drivers/misc/habanalabs/goya/
Dgoya.c993 hdev->cpu_accessible_dma_mem = hl_asic_dma_alloc_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, in goya_sw_init()