Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/habanalabs/common/
Dcommand_buffer.c80 gen_pool_free(hdev->internal_cb_pool, in cb_fini()
124 p = (void *) gen_pool_alloc(hdev->internal_cb_pool, cb_size); in hl_cb_alloc()
Dhabanalabs.h3266 struct gen_pool *internal_cb_pool; member
/linux-6.1.9/drivers/misc/habanalabs/gaudi/
Dgaudi.c8383 hdev->internal_cb_pool = gen_pool_create(min_alloc_order, -1); in gaudi_internal_cb_pool_init()
8384 if (!hdev->internal_cb_pool) { in gaudi_internal_cb_pool_init()
8391 rc = gen_pool_add(hdev->internal_cb_pool, in gaudi_internal_cb_pool_init()
8427 gen_pool_destroy(hdev->internal_cb_pool); in gaudi_internal_cb_pool_init()
8451 gen_pool_destroy(hdev->internal_cb_pool); in gaudi_internal_cb_pool_fini()
/linux-6.1.9/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c9425 hdev->internal_cb_pool = gen_pool_create(min_alloc_order, -1); in gaudi2_internal_cb_pool_init()
9426 if (!hdev->internal_cb_pool) { in gaudi2_internal_cb_pool_init()
9432 rc = gen_pool_add(hdev->internal_cb_pool, (uintptr_t) hdev->internal_cb_pool_virt_addr, in gaudi2_internal_cb_pool_init()
9462 gen_pool_destroy(hdev->internal_cb_pool); in gaudi2_internal_cb_pool_init()
9483 gen_pool_destroy(hdev->internal_cb_pool); in gaudi2_internal_cb_pool_fini()