Searched refs:RISCV_IOMMU_ATP_MODE_FIELD (Results 1 – 2 of 2) sorted by relevance
/qemu/hw/riscv/ |
H A D | riscv-iommu-bits.h | 73 #define RISCV_IOMMU_ATP_MODE_FIELD GENMASK_ULL(63, 60) macro 307 #define RISCV_IOMMU_DC_IOHGATP_MODE RISCV_IOMMU_ATP_MODE_FIELD 322 #define RISCV_IOMMU_DC_FSC_MODE RISCV_IOMMU_ATP_MODE_FIELD 414 #define RISCV_IOMMU_DC_MSIPTP_MODE RISCV_IOMMU_ATP_MODE_FIELD
|
H A D | riscv-iommu.c | 270 satp = get_field(ctx->satp, RISCV_IOMMU_ATP_MODE_FIELD); in riscv_iommu_spa_fetch() 271 gatp = get_field(ctx->gatp, RISCV_IOMMU_ATP_MODE_FIELD); in riscv_iommu_spa_fetch() 742 gatp = get_field(ctx->gatp, RISCV_IOMMU_ATP_MODE_FIELD); in riscv_iommu_validate_device_ctx() 894 ctx->gatp = set_field(0, RISCV_IOMMU_ATP_MODE_FIELD, in riscv_iommu_ctx_fetch() 896 ctx->satp = set_field(0, RISCV_IOMMU_ATP_MODE_FIELD, in riscv_iommu_ctx_fetch() 1400 uint64_t satp = get_field(ctx->satp, RISCV_IOMMU_ATP_MODE_FIELD); in riscv_iommu_get_transtag() 1401 uint64_t gatp = get_field(ctx->gatp, RISCV_IOMMU_ATP_MODE_FIELD); in riscv_iommu_get_transtag()
|