Home
last modified time | relevance | path

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

/openbmc/qemu/hw/riscv/
H A Driscv-iommu.h45 uint64_t ddtp; /* Validated Device Directory Tree Root Pointer */ member
H A Driscv-iommu.c859 const uint64_t ddtp = s->ddtp; in riscv_iommu_ctx_fetch() local
860 unsigned mode = get_field(ddtp, RISCV_IOMMU_DDTP_MODE); in riscv_iommu_ctx_fetch()
861 dma_addr_t addr = PPN_PHYS(get_field(ddtp, RISCV_IOMMU_DDTP_PPN)); in riscv_iommu_ctx_fetch()
1501 uint64_t old_ddtp = s->ddtp; in riscv_iommu_process_ddtp()
1530 s->ddtp = new_ddtp; in riscv_iommu_process_ddtp()
2147 s->ddtp = set_field(0, RISCV_IOMMU_DDTP_MODE, s->enable_off ? in riscv_iommu_realize()
2193 stq_le_p(&s->regs_rw[RISCV_IOMMU_REG_DDTP], s->ddtp); in riscv_iommu_realize()