Lines Matching refs:PPN_PHYS
38 #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()
557 addr = PPN_PHYS(get_field(ctx->msiptp, RISCV_IOMMU_DC_MSIPTP_PPN)); in riscv_iommu_msi_write()
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()
861 dma_addr_t addr = PPN_PHYS(get_field(ddtp, RISCV_IOMMU_DDTP_PPN)); in riscv_iommu_ctx_fetch()
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()
1354 iotlb->translated_addr = PPN_PHYS(iot->phys); in riscv_iommu_translate()
1704 s->cq_addr = PPN_PHYS(get_field(base, RISCV_IOMMU_CQB_PPN)); in riscv_iommu_process_cq_control()
1735 s->fq_addr = PPN_PHYS(get_field(base, RISCV_IOMMU_FQB_PPN)); in riscv_iommu_process_fq_control()
1765 s->pq_addr = PPN_PHYS(get_field(base, RISCV_IOMMU_PQB_PPN)); in riscv_iommu_process_pq_control()