Searched refs:cpu_accessible_dma_mem (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/accel/habanalabs/goya/ |
H A D | goya.c | 1000 hdev->cpu_accessible_dma_mem = hl_asic_dma_alloc_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, in goya_sw_init() 1004 if (!hdev->cpu_accessible_dma_mem) { in goya_sw_init() 1021 (uintptr_t) hdev->cpu_accessible_dma_mem, in goya_sw_init() 1053 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in goya_sw_init() 1075 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in goya_sw_fini()
|
/openbmc/linux/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi.c | 1730 hdev->cpu_accessible_dma_mem = virt_addr_arr[i]; in gaudi_alloc_cpu_accessible_dma_mem() 1900 (uintptr_t) hdev->cpu_accessible_dma_mem, in gaudi_sw_init() 1933 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in gaudi_sw_init() 1954 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in gaudi_sw_fini()
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | firmware_if.c | 582 (kernel_addr - (u64) (uintptr_t) hdev->cpu_accessible_dma_mem); in hl_fw_cpu_accessible_dma_pool_alloc()
|
H A D | habanalabs.h | 3344 void *cpu_accessible_dma_mem; member
|
/openbmc/linux/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 3305 hdev->cpu_accessible_dma_mem = virt_addr_arr[i]; in gaudi2_alloc_cpu_accessible_dma_mem() 3584 rc = gen_pool_add(hdev->cpu_accessible_dma_pool, (uintptr_t) hdev->cpu_accessible_dma_mem, in gaudi2_sw_init() 3650 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in gaudi2_sw_init() 3672 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, hdev->cpu_accessible_dma_mem, in gaudi2_sw_fini()
|