Searched refs:pa_4K (Results 1 – 1 of 1) sorted by relevance
640 pt_hashfn(uint64_t pa_4K) in pt_hashfn() argument642 return (pa_4K % AMD_IOMMU_PGTABLE_HASH_SZ); in pt_hashfn()648 uint64_t pa_4K = ((uint64_t)pt->pt_cookie.dmac_cookie_addr) >> 12; in amd_iommu_insert_pgtable_hash() local649 uint32_t idx = pt_hashfn(pa_4K); in amd_iommu_insert_pgtable_hash()667 uint64_t pa_4K = (pt->pt_cookie.dmac_cookie_addr >> 12); in amd_iommu_remove_pgtable_hash() local668 uint32_t idx = pt_hashfn(pa_4K); in amd_iommu_remove_pgtable_hash()1003 uint64_t pa_4K = pa >> 12; in init_pte() local1031 == pa_4K); in init_pte()1061 AMD_IOMMU_REG_SET64(ptep, AMD_IOMMU_PTDE_ADDR, pa_4K); in init_pte()1336 uint64_t pa_4K; in amd_iommu_destroy_pgtables() local[all …]