Searched refs:HL_KERNEL_ASID_ID (Results 1 – 9 of 9) sorted by relevance
196 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()
94 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()
53 if (asid == HL_KERNEL_ASID_ID || asid >= hdev->asic_prop.max_asid) { in hl_asid_free()
185 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()
2158 if (ctx->asid != HL_KERNEL_ASID_ID && in hl_vm_ctx_fini()
1308 #define HL_KERNEL_ASID_ID 0 macro
267 (ctx->asid == HL_KERNEL_ASID_ID)) in dram_default_mapping_init()367 (ctx->asid == HL_KERNEL_ASID_ID)) in dram_default_mapping_fini()
5102 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()
8711 if (ctx->asid == HL_KERNEL_ASID_ID) in gaudi_ctx_init()8727 if (ctx->asid == HL_KERNEL_ASID_ID) in gaudi_ctx_fini()