Searched refs:HL_KERNEL_ASID_ID (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | command_buffer.c | 118 if (ctx_id == HL_KERNEL_ASID_ID && !hdev->disabled) in hl_cb_alloc() 137 } else if (ctx_id == HL_KERNEL_ASID_ID) { in hl_cb_alloc() 194 if (ctx_id == HL_KERNEL_ASID_ID && in hl_cb_mmap_mem_alloc() 226 if (ctx_id == HL_KERNEL_ASID_ID) { in hl_cb_mmap_mem_alloc() 280 if ((hdev->disabled) || (hdev->reset_info.in_reset && (ctx_id != HL_KERNEL_ASID_ID))) { in hl_cb_create() 294 ctx_id == HL_KERNEL_ASID_ID ? GFP_ATOMIC : GFP_KERNEL, &args); in hl_cb_create() 485 HL_KERNEL_ASID_ID, false); in hl_cb_pool_init()
|
D | context.c | 104 if (ctx->asid != HL_KERNEL_ASID_ID) { in hl_ctx_fini() 229 ctx->asid = HL_KERNEL_ASID_ID; /* Kernel driver gets ASID 0 */ in hl_ctx_init() 285 if (ctx->asid != HL_KERNEL_ASID_ID) in hl_ctx_init()
|
D | asid.c | 52 if (asid == HL_KERNEL_ASID_ID || asid >= hdev->asic_prop.max_asid) { in hl_asid_free()
|
D | debugfs.c | 191 job->id, HL_KERNEL_ASID_ID, in command_submission_jobs_show() 281 if (ctx->asid != HL_KERNEL_ASID_ID && in vm_show() 429 if (dev_entry->mmu_asid == HL_KERNEL_ASID_ID) in mmu_show() 469 if (dev_entry->mmu_asid != HL_KERNEL_ASID_ID) in mmu_show()
|
D | memory.c | 2823 if (ctx->asid != HL_KERNEL_ASID_ID && in hl_vm_ctx_fini()
|
D | habanalabs.h | 1781 #define HL_KERNEL_ASID_ID 0 macro
|
/linux-6.12.1/drivers/accel/habanalabs/common/mmu/ |
D | mmu_v1.c | 36 (ctx->asid == HL_KERNEL_ASID_ID)) in dram_default_mapping_init() 136 (ctx->asid == HL_KERNEL_ASID_ID)) in dram_default_mapping_fini()
|
/linux-6.12.1/drivers/accel/habanalabs/goya/ |
D | goya.c | 4936 goya_mmu_prepare_reg(hdev, mmCPU_IF_ARUSER_OVR, HL_KERNEL_ASID_ID); in goya_mmu_add_mappings_for_device_cpu() 4937 goya_mmu_prepare_reg(hdev, mmCPU_IF_AWUSER_OVR, HL_KERNEL_ASID_ID); in goya_mmu_add_mappings_for_device_cpu() 5238 if (ctx->asid != HL_KERNEL_ASID_ID) in goya_ctx_init()
|
/linux-6.12.1/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2.c | 10741 gaudi2_kdma_set_mmbp_asid(hdev, true, HL_KERNEL_ASID_ID); in gaudi2_debugfs_read_dma() 10892 if (ctx->asid == HL_KERNEL_ASID_ID) in gaudi2_ctx_init() 10920 if (ctx->asid == HL_KERNEL_ASID_ID) in gaudi2_ctx_fini()
|
/linux-6.12.1/drivers/accel/habanalabs/gaudi/ |
D | gaudi.c | 8392 if (ctx->asid == HL_KERNEL_ASID_ID) in gaudi_ctx_init() 8408 if (ctx->asid == HL_KERNEL_ASID_ID) in gaudi_ctx_fini()
|