Lines Matching refs:RISCVIOMMUContext
41 typedef struct RISCVIOMMUContext RISCVIOMMUContext; typedef
55 struct RISCVIOMMUContext { struct
224 static bool riscv_iommu_msi_check(RISCVIOMMUState *s, RISCVIOMMUContext *ctx, in riscv_iommu_msi_check()
256 static int riscv_iommu_spa_fetch(RISCVIOMMUState *s, RISCVIOMMUContext *ctx, in riscv_iommu_spa_fetch()
496 RISCVIOMMUContext *ctx, in riscv_iommu_report_fault()
536 RISCVIOMMUContext *ctx, uint64_t gpa, uint64_t data, in riscv_iommu_msi_write()
686 RISCVIOMMUContext *ctx) in riscv_iommu_validate_device_ctx()
798 RISCVIOMMUContext *ctx) in riscv_iommu_validate_process_ctx()
857 static int riscv_iommu_ctx_fetch(RISCVIOMMUState *s, RISCVIOMMUContext *ctx) in riscv_iommu_ctx_fetch()
1053 RISCVIOMMUContext *c1 = (RISCVIOMMUContext *) v1; in riscv_iommu_ctx_equal()
1054 RISCVIOMMUContext *c2 = (RISCVIOMMUContext *) v2; in riscv_iommu_ctx_equal()
1061 RISCVIOMMUContext *ctx = (RISCVIOMMUContext *) v; in riscv_iommu_ctx_hash()
1072 RISCVIOMMUContext *ctx = (RISCVIOMMUContext *) value; in riscv_iommu_ctx_inval_devid_procid()
1073 RISCVIOMMUContext *arg = (RISCVIOMMUContext *) data; in riscv_iommu_ctx_inval_devid_procid()
1084 RISCVIOMMUContext *ctx = (RISCVIOMMUContext *) value; in riscv_iommu_ctx_inval_devid()
1085 RISCVIOMMUContext *arg = (RISCVIOMMUContext *) data; in riscv_iommu_ctx_inval_devid()
1095 RISCVIOMMUContext *ctx = (RISCVIOMMUContext *) value; in riscv_iommu_ctx_inval_all()
1105 RISCVIOMMUContext key = { in riscv_iommu_ctx_inval()
1115 static RISCVIOMMUContext *riscv_iommu_ctx(RISCVIOMMUState *s, in riscv_iommu_ctx()
1120 RISCVIOMMUContext *ctx; in riscv_iommu_ctx()
1121 RISCVIOMMUContext key = { in riscv_iommu_ctx()
1134 ctx = g_new0(RISCVIOMMUContext, 1); in riscv_iommu_ctx()
1280 static RISCVIOMMUEntry *riscv_iommu_iot_lookup(RISCVIOMMUContext *ctx, in riscv_iommu_iot_lookup()
1323 static int riscv_iommu_translate(RISCVIOMMUState *s, RISCVIOMMUContext *ctx, in riscv_iommu_translate()
1790 RISCVIOMMUContext *ctx; in riscv_iommu_process_dbg()
2073 RISCVIOMMUContext *ctx; in riscv_iommu_trap_write()
2285 RISCVIOMMUContext *ctx; in riscv_iommu_memory_region_translate()