Home
last modified time | relevance | path

Searched refs:cpu_accessible_dma_pool (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/common/
Dfirmware_if.c237 kernel_addr = gen_pool_alloc(hdev->cpu_accessible_dma_pool, size); in hl_fw_cpu_accessible_dma_pool_alloc()
248 gen_pool_free(hdev->cpu_accessible_dma_pool, (u64) (uintptr_t) vaddr, in hl_fw_cpu_accessible_dma_pool_free()
Dhabanalabs.h1621 struct gen_pool *cpu_accessible_dma_pool; member
/Linux-v5.10/drivers/misc/habanalabs/goya/
Dgoya.c838 hdev->cpu_accessible_dma_pool = gen_pool_create(ilog2(32), -1); in goya_sw_init()
839 if (!hdev->cpu_accessible_dma_pool) { in goya_sw_init()
846 rc = gen_pool_add(hdev->cpu_accessible_dma_pool, in goya_sw_init()
863 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in goya_sw_init()
887 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in goya_sw_fini()
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c1014 hdev->cpu_accessible_dma_pool = gen_pool_create(ilog2(32), -1); in gaudi_sw_init()
1015 if (!hdev->cpu_accessible_dma_pool) { in gaudi_sw_init()
1022 rc = gen_pool_add(hdev->cpu_accessible_dma_pool, in gaudi_sw_init()
1045 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in gaudi_sw_init()
1066 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in gaudi_sw_fini()