Lines Matching defs:asid
358 static void goya_mmu_prepare(struct hl_device *hdev, u32 asid);
719 static void goya_mmu_prepare_reg(struct hl_device *hdev, u64 reg, u32 asid)
723 WREG32_OR(reg, asid);
2635 static int goya_mmu_update_asid_hop0_addr(struct hl_device *hdev, u32 asid,
2648 WREG32(MMU_ASID_BUSY, 0x80000000 | asid);
2660 "Timeout during MMU hop0 config of asid %d\n", asid);
2686 "failed to set hop0 addr for asid %d\n", i);
4837 int goya_context_switch(struct hl_device *hdev, u32 asid)
5022 static void goya_mmu_prepare(struct hl_device *hdev, u32 asid)
5030 if (asid & ~MME_QM_GLBL_SECURE_PROPS_ASID_MASK) {
5031 dev_crit(hdev->dev, "asid %u is too big\n", asid);
5037 goya_mmu_prepare_reg(hdev, goya_mmu_regs[i], asid);
5076 u32 asid, u64 va, u64 size)
5249 if (ctx->asid != HL_KERNEL_ASID_ID)
5250 goya_mmu_prepare(ctx->hdev, ctx->asid);