Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/habanalabs/common/
Dcommand_buffer.c136 cb->bus_address = hdev->internal_cb_va_base + cb_offset; in hl_cb_alloc()
Dhabanalabs.h3471 u64 internal_cb_va_base; member
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c8325 hdev->internal_cb_va_base = hl_reserve_va_block(hdev, ctx, in gaudi_internal_cb_pool_init()
8329 if (!hdev->internal_cb_va_base) { in gaudi_internal_cb_pool_init()
8336 rc = hl_mmu_map_contiguous(ctx, hdev->internal_cb_va_base, in gaudi_internal_cb_pool_init()
8351 hl_mmu_unmap_contiguous(ctx, hdev->internal_cb_va_base, in gaudi_internal_cb_pool_init()
8355 hl_unreserve_va_block(hdev, ctx, hdev->internal_cb_va_base, in gaudi_internal_cb_pool_init()
8375 hl_mmu_unmap_contiguous(ctx, hdev->internal_cb_va_base, in gaudi_internal_cb_pool_fini()
8377 hl_unreserve_va_block(hdev, ctx, hdev->internal_cb_va_base, in gaudi_internal_cb_pool_fini()
/linux-6.12.1/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c10797 hdev->internal_cb_va_base = hl_reserve_va_block(hdev, ctx, HL_VA_RANGE_TYPE_HOST, in gaudi2_internal_cb_pool_init()
10800 if (!hdev->internal_cb_va_base) { in gaudi2_internal_cb_pool_init()
10807 rc = hl_mmu_map_contiguous(ctx, hdev->internal_cb_va_base, hdev->internal_cb_pool_dma_addr, in gaudi2_internal_cb_pool_init()
10821 hl_mmu_unmap_contiguous(ctx, hdev->internal_cb_va_base, HOST_SPACE_INTERNAL_CB_SZ); in gaudi2_internal_cb_pool_init()
10824 hl_unreserve_va_block(hdev, ctx, hdev->internal_cb_va_base, HOST_SPACE_INTERNAL_CB_SZ); in gaudi2_internal_cb_pool_init()
10842 hl_mmu_unmap_contiguous(ctx, hdev->internal_cb_va_base, HOST_SPACE_INTERNAL_CB_SZ); in gaudi2_internal_cb_pool_fini()
10843 hl_unreserve_va_block(hdev, ctx, hdev->internal_cb_va_base, HOST_SPACE_INTERNAL_CB_SZ); in gaudi2_internal_cb_pool_fini()