Searched refs:cpu_accessible_dma_pool (Results 1 – 4 of 4) sorted by relevance
237 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()
1621 struct gen_pool *cpu_accessible_dma_pool; member
838 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()
1020 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()