Lines Matching refs:asid
104 if (ctx->asid != HL_KERNEL_ASID_ID) {
105 dev_dbg(hdev->dev, "closing user context, asid=%u\n", ctx->asid);
120 hl_asid_free(hdev, ctx->asid);
228 ctx->asid = HL_KERNEL_ASID_ID; /* Kernel driver gets ASID 0 */
242 ctx->asid = hl_asid_alloc(hdev);
243 if (!ctx->asid) {
273 dev_dbg(hdev->dev, "create user context, comm=\"%s\", asid=%u\n",
274 current->comm, ctx->asid);
284 if (ctx->asid != HL_KERNEL_ASID_ID)
285 hl_asid_free(hdev, ctx->asid);