Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/habanalabs/common/
Dcommand_buffer.c83 gen_pool_free(hdev->internal_cb_pool, in cb_fini()
128 p = (void *) gen_pool_alloc(hdev->internal_cb_pool, cb_size); in hl_cb_alloc()
Dhabanalabs.h3470 struct gen_pool *internal_cb_pool; member
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c8307 hdev->internal_cb_pool = gen_pool_create(min_alloc_order, -1); in gaudi_internal_cb_pool_init()
8308 if (!hdev->internal_cb_pool) { in gaudi_internal_cb_pool_init()
8315 rc = gen_pool_add(hdev->internal_cb_pool, in gaudi_internal_cb_pool_init()
8358 gen_pool_destroy(hdev->internal_cb_pool); in gaudi_internal_cb_pool_init()
8382 gen_pool_destroy(hdev->internal_cb_pool); in gaudi_internal_cb_pool_fini()
/linux-6.12.1/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c10782 hdev->internal_cb_pool = gen_pool_create(min_alloc_order, -1); in gaudi2_internal_cb_pool_init()
10783 if (!hdev->internal_cb_pool) { in gaudi2_internal_cb_pool_init()
10789 rc = gen_pool_add(hdev->internal_cb_pool, (uintptr_t) hdev->internal_cb_pool_virt_addr, in gaudi2_internal_cb_pool_init()
10826 gen_pool_destroy(hdev->internal_cb_pool); in gaudi2_internal_cb_pool_init()
10847 gen_pool_destroy(hdev->internal_cb_pool); in gaudi2_internal_cb_pool_fini()