Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/habanalabs/goya/
Dgoya.c1007 hdev->cpu_accessible_dma_pool = gen_pool_create(ilog2(32), -1); in goya_sw_init()
1008 if (!hdev->cpu_accessible_dma_pool) { in goya_sw_init()
1015 rc = gen_pool_add(hdev->cpu_accessible_dma_pool, in goya_sw_init()
1046 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in goya_sw_init()
1068 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in goya_sw_fini()
/linux-6.12.1/drivers/accel/habanalabs/common/
Dfirmware_if.c633 kernel_addr = gen_pool_alloc(hdev->cpu_accessible_dma_pool, size); in hl_fw_cpu_accessible_dma_pool_alloc()
644 gen_pool_free(hdev->cpu_accessible_dma_pool, (u64) (uintptr_t) vaddr, in hl_fw_cpu_accessible_dma_pool_free()
Dhabanalabs.h3450 struct gen_pool *cpu_accessible_dma_pool; member
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c1892 hdev->cpu_accessible_dma_pool = gen_pool_create(ilog2(32), -1); in gaudi_sw_init()
1893 if (!hdev->cpu_accessible_dma_pool) { in gaudi_sw_init()
1900 rc = gen_pool_add(hdev->cpu_accessible_dma_pool, in gaudi_sw_init()
1929 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in gaudi_sw_init()
1949 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in gaudi_sw_fini()
/linux-6.12.1/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c3744 hdev->cpu_accessible_dma_pool = gen_pool_create(ilog2(32), -1); in gaudi2_sw_init()
3745 if (!hdev->cpu_accessible_dma_pool) { in gaudi2_sw_init()
3751 rc = gen_pool_add(hdev->cpu_accessible_dma_pool, (uintptr_t) hdev->cpu_accessible_dma_mem, in gaudi2_sw_init()
3808 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in gaudi2_sw_init()
3830 gen_pool_destroy(hdev->cpu_accessible_dma_pool); in gaudi2_sw_fini()