Lines Matching full:hop
484 /* last hop holds the phys address and flags */ in hl_mmu_pa_page_with_offset()
520 * find the correct hop shift field in hl_mmu_properties in hl_mmu_pa_page_with_offset()
727 * hl_mmu_get_hop_pte_phys_addr() - extract PTE address from HOP
730 * @hop_idx: HOP index.
731 * @hop_addr: HOP address.
742 dev_err_ratelimited(ctx->hdev->dev, "Invalid hop index %d\n", hop_idx); in hl_mmu_get_hop_pte_phys_addr()
772 * @hop_table_size: HOP table size.
815 * @hop_table_size: HOP table size.
880 dev_err(hdev->dev, "Failed to allocate HOP from pgt pool\n"); in hl_mmu_hr_init()
902 * @hop_table_size: HOP table size
928 * hl_mmu_hr_free_hop_remove_pgt() - free HOP and remove PGT from hash
931 * @hop_table_size: HOP table size.
944 * @pgt: pgt_info for the HOP hosting the PTE
946 * @hop_table_size: HOP table size
950 * The function use the pgt_info to get HOP base virt addr and obtain the PTE's virt addr
965 * @pgt_info: HOP's page table info structure
968 * @hop_table_size: HOP table size
974 * The value to write is the phys address of the next hop + in hl_mmu_hr_write_pte()
985 * @pgt_info: HOP's page table info structure
987 * @hop_table_size: HOP table size
999 * @pgt_info: HOP's page table info structure
1001 * @hop_table_size: HOP table size
1003 * @return number of PTEs still in the HOP
1028 * @phys_hop_addr: HOP phys address
1036 * hl_mmu_hr_get_next_hop_pgt_info() - get pgt_info structure for the next HOP
1056 * hl_mmu_hr_alloc_hop() - allocate HOP
1062 * @return pgt_info structure associated with the allocated HOP on success, otherwise NULL.
1121 * hl_mmu_hr_get_alloc_next_hop() - get the next HOP, allocate it if it does not exist
1127 * @is_new_hop: set to true if HOP is new (caller responsibility to set it to false).
1129 * @return pgt_info structure associated with the allocated HOP on success, otherwise NULL.
1171 /* huge pages use one less hop */ in hl_mmu_hr_get_tlb_info()
1204 /* if passed over all hops then no last hop was found */ in hl_mmu_hr_get_tlb_info()