Home
last modified time | relevance | path

Searched refs:dma_addr_arr (Results 1 – 2 of 2) sorted by relevance

/drivers/accel/habanalabs/gaudi/
Dgaudi.c1695 dma_addr_t dma_addr_arr[GAUDI_ALLOC_CPU_MEM_RETRY_CNT] = {}, end_addr; in gaudi_alloc_cpu_accessible_dma_mem() local
1710 &dma_addr_arr[i], 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()
1718 if (GAUDI_CPU_PCI_MSB_ADDR(dma_addr_arr[i]) == in gaudi_alloc_cpu_accessible_dma_mem()
1731 hdev->cpu_accessible_dma_address = dma_addr_arr[i]; in gaudi_alloc_cpu_accessible_dma_mem()
1741 dma_addr_arr[j]); in gaudi_alloc_cpu_accessible_dma_mem()
/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c3276 dma_addr_t dma_addr_arr[GAUDI2_ALLOC_CPU_MEM_RETRY_CNT] = {}, end_addr; in gaudi2_alloc_cpu_accessible_dma_mem() local
3287 &dma_addr_arr[i], GFP_KERNEL | __GFP_ZERO); 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()
3294 if (GAUDI2_ARC_PCI_MSB_ADDR(dma_addr_arr[i]) == GAUDI2_ARC_PCI_MSB_ADDR(end_addr)) in gaudi2_alloc_cpu_accessible_dma_mem()
3306 hdev->cpu_accessible_dma_address = dma_addr_arr[i]; in gaudi2_alloc_cpu_accessible_dma_mem()
3311 dma_addr_arr[j]); in gaudi2_alloc_cpu_accessible_dma_mem()