Home
last modified time | relevance | path

Searched refs:HL_KERNEL_ASID_ID (Results 1 – 9 of 9) sorted by relevance

/drivers/misc/habanalabs/common/
Dcommand_buffer.c196 if (ctx_id == HL_KERNEL_ASID_ID && !hdev->disabled) in hl_cb_alloc()
215 } else if (ctx_id == HL_KERNEL_ASID_ID) { in hl_cb_alloc()
254 (ctx_id != HL_KERNEL_ASID_ID))) { in hl_cb_create()
273 if (ctx_id == HL_KERNEL_ASID_ID && in hl_cb_create()
303 if (ctx_id == HL_KERNEL_ASID_ID) { in hl_cb_create()
667 HL_KERNEL_ASID_ID, false); in hl_cb_pool_init()
Dcontext.c94 if (ctx->asid != HL_KERNEL_ASID_ID) { in hl_ctx_fini()
211 ctx->asid = HL_KERNEL_ASID_ID; /* Kernel driver gets ASID 0 */ in hl_ctx_init()
264 if (ctx->asid != HL_KERNEL_ASID_ID) in hl_ctx_init()
Dasid.c53 if (asid == HL_KERNEL_ASID_ID || asid >= hdev->asic_prop.max_asid) { in hl_asid_free()
Ddebugfs.c185 job->id, HL_KERNEL_ASID_ID, in command_submission_jobs_show()
276 if (ctx->asid != HL_KERNEL_ASID_ID && in vm_show()
407 if (dev_entry->mmu_asid == HL_KERNEL_ASID_ID) in mmu_show()
Dmemory.c2158 if (ctx->asid != HL_KERNEL_ASID_ID && in hl_vm_ctx_fini()
Dhabanalabs.h1308 #define HL_KERNEL_ASID_ID 0 macro
/drivers/misc/habanalabs/common/mmu/
Dmmu_v1.c267 (ctx->asid == HL_KERNEL_ASID_ID)) in dram_default_mapping_init()
367 (ctx->asid == HL_KERNEL_ASID_ID)) in dram_default_mapping_fini()
/drivers/misc/habanalabs/goya/
Dgoya.c5102 goya_mmu_prepare_reg(hdev, mmCPU_IF_ARUSER_OVR, HL_KERNEL_ASID_ID); in goya_mmu_add_mappings_for_device_cpu()
5103 goya_mmu_prepare_reg(hdev, mmCPU_IF_AWUSER_OVR, HL_KERNEL_ASID_ID); in goya_mmu_add_mappings_for_device_cpu()
5420 if (ctx->asid != HL_KERNEL_ASID_ID) in goya_ctx_init()
/drivers/misc/habanalabs/gaudi/
Dgaudi.c8711 if (ctx->asid == HL_KERNEL_ASID_ID) in gaudi_ctx_init()
8727 if (ctx->asid == HL_KERNEL_ASID_ID) in gaudi_ctx_fini()