Home
last modified time | relevance | path

Searched refs:PPN_PHYS (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c38 #define PPN_PHYS(ppn) ((ppn) << TARGET_PAGE_BITS) macro
377 gatp = PPN_PHYS(get_field(ctx->gatp, RISCV_IOMMU_ATP_PPN_FIELD)); in riscv_iommu_spa_fetch()
378 satp = PPN_PHYS(get_field(ctx->satp, RISCV_IOMMU_ATP_PPN_FIELD)); in riscv_iommu_spa_fetch()
422 base = PPN_PHYS(ppn); /* Inner PTE, continue walking */ in riscv_iommu_spa_fetch()
440 base = PPN_PHYS(ppn) | (addr & ((1ULL << va_skip) - 1)); in riscv_iommu_spa_fetch()
588 addr = PPN_PHYS(get_field(pte[0], RISCV_IOMMU_MSI_PTE_PPN)); in riscv_iommu_msi_write()
660 addr = PPN_PHYS(get_field(pte[1], RISCV_IOMMU_MSI_MRIF_NPPN)); in riscv_iommu_msi_write()
943 addr = PPN_PHYS(get_field(de, RISCV_IOMMU_DDTE_PPN)); in riscv_iommu_ctx_fetch()
974 addr = PPN_PHYS(get_field(ctx->satp, RISCV_IOMMU_DC_FSC_PPN)); in riscv_iommu_ctx_fetch()
1025 addr = PPN_PHYS(get_field(de, RISCV_IOMMU_PC_FSC_PPN)); in riscv_iommu_ctx_fetch()
[all …]