Searched refs:HL_KERNEL_ASID_ID (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/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() 484 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() 227 ctx->asid = HL_KERNEL_ASID_ID; /* Kernel driver gets ASID 0 */ in hl_ctx_init() 280 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 | 198 job->id, HL_KERNEL_ASID_ID, in command_submission_jobs_show() 288 if (ctx->asid != HL_KERNEL_ASID_ID && in vm_show() 436 if (dev_entry->mmu_asid == HL_KERNEL_ASID_ID) in mmu_show() 476 if (dev_entry->mmu_asid != HL_KERNEL_ASID_ID) in mmu_show()
|
D | memory.c | 2798 if (ctx->asid != HL_KERNEL_ASID_ID && in hl_vm_ctx_fini()
|
D | habanalabs.h | 1720 #define HL_KERNEL_ASID_ID 0 macro
|
/linux-6.6.21/drivers/accel/habanalabs/common/mmu/ |
D | mmu_v1.c | 225 (ctx->asid == HL_KERNEL_ASID_ID)) in dram_default_mapping_init() 325 (ctx->asid == HL_KERNEL_ASID_ID)) in dram_default_mapping_fini()
|
/linux-6.6.21/drivers/accel/habanalabs/goya/ |
D | goya.c | 4947 goya_mmu_prepare_reg(hdev, mmCPU_IF_ARUSER_OVR, HL_KERNEL_ASID_ID); in goya_mmu_add_mappings_for_device_cpu() 4948 goya_mmu_prepare_reg(hdev, mmCPU_IF_AWUSER_OVR, HL_KERNEL_ASID_ID); in goya_mmu_add_mappings_for_device_cpu() 5249 if (ctx->asid != HL_KERNEL_ASID_ID) in goya_ctx_init()
|
/linux-6.6.21/drivers/accel/habanalabs/gaudi/ |
D | gaudi.c | 8398 if (ctx->asid == HL_KERNEL_ASID_ID) in gaudi_ctx_init() 8414 if (ctx->asid == HL_KERNEL_ASID_ID) in gaudi_ctx_fini()
|
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2.c | 10375 gaudi2_kdma_set_mmbp_asid(hdev, true, HL_KERNEL_ASID_ID); in gaudi2_debugfs_read_dma() 10551 if (ctx->asid == HL_KERNEL_ASID_ID) in gaudi2_ctx_fini()
|