Searched refs:gatp (Results 1 – 3 of 3) sorted by relevance
255 uint64_t satp, gatp, pte; in riscv_iommu_spa_fetch() local271 gatp = get_field(ctx->gatp, RISCV_IOMMU_ATP_MODE_FIELD); in riscv_iommu_spa_fetch()274 en_g = gatp != RISCV_IOMMU_DC_IOHGATP_MODE_BARE; in riscv_iommu_spa_fetch()312 switch (pass ? gatp : satp) { in riscv_iommu_spa_fetch()332 switch (pass ? gatp : satp) { in riscv_iommu_spa_fetch()372 gatp = PPN_PHYS(get_field(ctx->gatp, RISCV_IOMMU_ATP_PPN_FIELD)); in riscv_iommu_spa_fetch()375 base = en_g ? gatp : satp; in riscv_iommu_spa_fetch()486 base = gatp; in riscv_iommu_spa_fetch()502 base = gatp; in riscv_iommu_spa_fetch()708 uint64_t gatp; in riscv_iommu_validate_device_ctx() local[all …]
110 uint64_t gatp; /* G-Stage address translation and protection */ member
128 did_gscid = get_field(ctx->gatp, RISCV_IOMMU_DC_IOHGATP_GSCID); in riscv_iommu_hpm_incr_ctr()