Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dcommand_buffer.c134 cb_offset = p - hdev->internal_cb_pool_virt_addr; in hl_cb_alloc()
H A Dhabanalabs.h3364 void *internal_cb_pool_virt_addr; member
/openbmc/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c8301 hdev->internal_cb_pool_virt_addr = hl_asic_dma_alloc_coherent(hdev, in gaudi_internal_cb_pool_init()
8306 if (!hdev->internal_cb_pool_virt_addr) in gaudi_internal_cb_pool_init()
8322 (uintptr_t) hdev->internal_cb_pool_virt_addr, in gaudi_internal_cb_pool_init()
8366 hl_asic_dma_free_coherent(hdev, HOST_SPACE_INTERNAL_CB_SZ, hdev->internal_cb_pool_virt_addr, in gaudi_internal_cb_pool_init()
8390 hl_asic_dma_free_coherent(hdev, HOST_SPACE_INTERNAL_CB_SZ, hdev->internal_cb_pool_virt_addr, in gaudi_internal_cb_pool_fini()
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c10405 hdev->internal_cb_pool_virt_addr = hl_asic_dma_alloc_coherent(hdev, in gaudi2_internal_cb_pool_init()
10410 if (!hdev->internal_cb_pool_virt_addr) in gaudi2_internal_cb_pool_init()
10423 rc = gen_pool_add(hdev->internal_cb_pool, (uintptr_t) hdev->internal_cb_pool_virt_addr, in gaudi2_internal_cb_pool_init()
10462 hl_asic_dma_free_coherent(hdev, HOST_SPACE_INTERNAL_CB_SZ, hdev->internal_cb_pool_virt_addr, in gaudi2_internal_cb_pool_init()
10483 hl_asic_dma_free_coherent(hdev, HOST_SPACE_INTERNAL_CB_SZ, hdev->internal_cb_pool_virt_addr, in gaudi2_internal_cb_pool_fini()