Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dcommand_buffer.c138 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, GFP_ATOMIC); in hl_cb_alloc()
140 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, GFP_KERNEL); in hl_cb_alloc()
142 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, in hl_cb_alloc()
H A 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()
H A Dirq.c515 p = hl_asic_dma_alloc_coherent(hdev, HL_CQ_SIZE_IN_BYTES, &q->bus_address, in hl_cq_init()
H A Dhabanalabs.h145 #define hl_asic_dma_alloc_coherent(hdev, size, dma_handle, flags) \ macro
/openbmc/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu.c847 virt_addr = (uintptr_t) hl_asic_dma_alloc_coherent(hdev, pool_chunk_size, in hl_mmu_hr_init()
1080 virt_addr = hl_asic_dma_alloc_coherent(hdev, SZ_2M, &phys_addr, in hl_mmu_hr_alloc_hop()
/openbmc/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c1069 cpu_addr = hl_asic_dma_alloc_coherent(hdev, fw_size, &dma_handle, GFP_KERNEL | __GFP_ZERO); in gaudi_init_tpc_mem()
1709 virt_addr_arr[i] = hl_asic_dma_alloc_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, in gaudi_alloc_cpu_accessible_dma_mem()
1791 q->pq_kernel_addr = hl_asic_dma_alloc_coherent(hdev, q->pq_size, &q->pq_dma_addr, in gaudi_alloc_internal_qmans_pq_mem()
5934 kernel_addr = hl_asic_dma_alloc_coherent(hdev, SZ_2M, &dma_addr, GFP_KERNEL | __GFP_ZERO); in gaudi_debugfs_read_dma()
8301 hdev->internal_cb_pool_virt_addr = hl_asic_dma_alloc_coherent(hdev, in gaudi_internal_cb_pool_init()
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c3286 virt_addr_arr[i] = hl_asic_dma_alloc_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, in gaudi2_alloc_cpu_accessible_dma_mem()
3602 gaudi2->scratchpad_kernel_address = hl_asic_dma_alloc_coherent(hdev, PAGE_SIZE, in gaudi2_sw_init()
9989 lin_dma_pkts_arr = hl_asic_dma_alloc_coherent(hdev, pkt_size * num_of_pkts, in gaudi2_memset_device_memory()
10314 host_mem_virtual_addr = hl_asic_dma_alloc_coherent(hdev, SZ_2M, &host_mem_dma_addr, in gaudi2_debugfs_read_dma()
10405 hdev->internal_cb_pool_virt_addr = hl_asic_dma_alloc_coherent(hdev, in gaudi2_internal_cb_pool_init()
/openbmc/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c1000 hdev->cpu_accessible_dma_mem = hl_asic_dma_alloc_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, in goya_sw_init()