Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c1020 hdev->cpu_accessible_dma_pool = gen_pool_create(ilog2(32), -1); in gaudi_sw_init()
1021 if (!hdev->cpu_accessible_dma_pool) { in gaudi_sw_init()
1028 rc = gen_pool_add(hdev->cpu_accessible_dma_pool, in gaudi_sw_init()
1051 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in gaudi_sw_init()
1072 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in gaudi_sw_fini()