Searched refs:hop_last (Results 1 – 1 of 1) sorted by relevance
124 int i, hop_last; in _hl_mmu_v2_hr_unmap() local130 hop_last = mmu_prop->num_hops - 1; in _hl_mmu_v2_hr_unmap()155 if ((i < hop_last) && (curr_pte & mmu_prop->last_mask)) { in _hl_mmu_v2_hr_unmap()156 hop_last = i; in _hl_mmu_v2_hr_unmap()170 for (i = hop_last ; i > 0 ; i--) { in _hl_mmu_v2_hr_unmap()216 int i, hop_last, rc = -ENOMEM; in _hl_mmu_v2_hr_map() local232 hop_last = hl_mmu_v2_get_last_hop(mmu_prop, page_size); in _hl_mmu_v2_hr_map()233 if (hop_last <= 0) { in _hl_mmu_v2_hr_map()234 dev_err(ctx->hdev->dev, "Invalid last HOP %d\n", hop_last); in _hl_mmu_v2_hr_map()241 for (i = 0 ; i <= hop_last ; i++) { in _hl_mmu_v2_hr_map()[all …]