Lines Matching defs:hdev
41 struct hl_device *hdev = ctx->hdev;
47 dev_err(hdev->dev, "ctx %d is freed while it has pgts in use\n",
51 dev_err_ratelimited(hdev->dev,
62 struct asic_fixed_properties *prop = &ctx->hdev->asic_prop;
63 struct hl_device *hdev = ctx->hdev;
76 scrambled_virt_addr = hdev->asic_funcs->scramble_addr(hdev, virt_addr);
106 dev_err(hdev->dev, "DRAM unmapping should use huge pages only\n");
124 dev_err(hdev->dev, "virt addr 0x%llx is not mapped to phys addr\n",
135 struct asic_fixed_properties *prop = &ctx->hdev->asic_prop;
137 struct hl_device *hdev = ctx->hdev;
149 scrambled_virt_addr = hdev->asic_funcs->scramble_addr(hdev, virt_addr);
150 scrambled_phys_addr = hdev->asic_funcs->scramble_addr(hdev, phys_addr);
182 dev_err(hdev->dev,
187 dev_dbg(hdev->dev, "hop%d pte: 0x%llx (0x%llx)\n",
247 struct asic_fixed_properties *prop = &ctx->hdev->asic_prop;
248 struct hl_device *hdev = ctx->hdev;
264 hops->scrambled_vaddr = hdev->asic_funcs->scramble_addr(hdev, virt_addr);
273 hops->hop_info[0].hop_pte_val = hdev->asic_funcs->read_pte(hdev,
292 hdev->asic_funcs->read_pte(hdev,
310 hops->unscrambled_paddr = hdev->asic_funcs->descramble_addr
311 (hdev, hops->hop_info[i].hop_pte_val);
323 * @hdev: pointer to the device structure
326 void hl_mmu_v2_set_funcs(struct hl_device *hdev, struct hl_mmu_funcs *mmu)