Searched refs:start_va (Results 1 – 2 of 2) sorted by relevance
1446 uint64_t start_va; in amd_iommu_map_pa2va() local1520 start_va = start_pa; in amd_iommu_map_pa2va()1523 *start_vap = start_va; in amd_iommu_map_pa2va()1526 start_va = (uintptr_t)vmem_xalloc(dp->d_vmem, va_sz, in amd_iommu_map_pa2va()1534 if (start_va == 0) { in amd_iommu_map_pa2va()1540 ASSERT((start_va & MMU_PAGEOFFSET) == 0); in amd_iommu_map_pa2va()1541 end_va = start_va + va_sz - 1; in amd_iommu_map_pa2va()1542 *start_vap = start_va + (start_pa & MMU_PAGEOFFSET); in amd_iommu_map_pa2va()1545 pg_start = start_va >> MMU_PAGESHIFT; in amd_iommu_map_pa2va()1595 amd_iommu_unmap_va(amd_iommu_t *iommu, dev_info_t *rdip, uint64_t start_va, in amd_iommu_unmap_va() argument[all …]
1502 uint64_t start_va; in map_current_window() local1521 start_va = 0; in map_current_window()1526 AMD_IOMMU_VMEM_MAP, &start_va, km_flags)) != DDI_SUCCESS) { in map_current_window()1529 cookie_array[i].dmac_cookie_addr = (uintptr_t)start_va; in map_current_window()