Searched refs:cpu_accessible_dma_mem (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/misc/habanalabs/goya/ |
D | goya.c | 993 hdev->cpu_accessible_dma_mem = hl_asic_dma_alloc_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, in goya_sw_init() 997 if (!hdev->cpu_accessible_dma_mem) { in goya_sw_init() 1014 (uintptr_t) hdev->cpu_accessible_dma_mem, in goya_sw_init() 1046 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in goya_sw_init() 1068 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in goya_sw_fini()
|
/Linux-v6.1/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 1726 hdev->cpu_accessible_dma_mem = virt_addr_arr[i]; in gaudi_alloc_cpu_accessible_dma_mem() 1896 (uintptr_t) hdev->cpu_accessible_dma_mem, in gaudi_sw_init() 1929 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in gaudi_sw_init() 1950 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in gaudi_sw_fini()
|
/Linux-v6.1/drivers/misc/habanalabs/common/ |
D | firmware_if.c | 473 (kernel_addr - (u64) (uintptr_t) hdev->cpu_accessible_dma_mem); in hl_fw_cpu_accessible_dma_pool_alloc()
|
D | habanalabs.h | 3244 void *cpu_accessible_dma_mem; member
|
/Linux-v6.1/drivers/misc/habanalabs/gaudi2/ |
D | gaudi2.c | 2875 hdev->cpu_accessible_dma_mem = virt_addr_arr[i]; in gaudi2_alloc_cpu_accessible_dma_mem() 3011 rc = gen_pool_add(hdev->cpu_accessible_dma_pool, (uintptr_t) hdev->cpu_accessible_dma_mem, in gaudi2_sw_init() 3058 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in gaudi2_sw_init() 3076 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in gaudi2_sw_fini()
|