Home
last modified time | relevance | path

Searched refs:HL_CPU_ACCESSIBLE_MEM_SIZE (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/accel/habanalabs/goya/
DgoyaP.h135 #if (HL_CPU_ACCESSIBLE_MEM_SIZE != SZ_2M)
Dgoya.c1000 hdev->cpu_accessible_dma_mem = hl_asic_dma_alloc_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, in goya_sw_init()
1022 HL_CPU_ACCESSIBLE_MEM_SIZE, -1); 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()
1362 WREG32(mmCPU_CQ_LENGTH, HL_CPU_ACCESSIBLE_MEM_SIZE); in goya_init_cpu_queues()
/linux-6.6.21/drivers/accel/habanalabs/gaudi/
Dgaudi.c1709 virt_addr_arr[i] = hl_asic_dma_alloc_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, in gaudi_alloc_cpu_accessible_dma_mem()
1717 end_addr = dma_addr_arr[i] + HL_CPU_ACCESSIBLE_MEM_SIZE - 1; in gaudi_alloc_cpu_accessible_dma_mem()
1740 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, virt_addr_arr[j], in gaudi_alloc_cpu_accessible_dma_mem()
1901 HL_CPU_ACCESSIBLE_MEM_SIZE, -1); 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()
3846 WREG32(mmCPU_IF_CQ_LENGTH, HL_CPU_ACCESSIBLE_MEM_SIZE); in gaudi_init_cpu_queues()
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c3286 virt_addr_arr[i] = hl_asic_dma_alloc_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, in gaudi2_alloc_cpu_accessible_dma_mem()
3293 end_addr = dma_addr_arr[i] + HL_CPU_ACCESSIBLE_MEM_SIZE - 1; in gaudi2_alloc_cpu_accessible_dma_mem()
3310 hl_asic_dma_free_coherent(hdev, HL_CPU_ACCESSIBLE_MEM_SIZE, virt_addr_arr[j], in gaudi2_alloc_cpu_accessible_dma_mem()
3585 HL_CPU_ACCESSIBLE_MEM_SIZE, -1); 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()
4801 WREG32(mmCPU_IF_CQ_LENGTH, HL_CPU_ACCESSIBLE_MEM_SIZE); in gaudi2_init_cpu_queues()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dhabanalabs.h996 #define HL_CPU_ACCESSIBLE_MEM_SIZE SZ_2M macro