Searched refs:io_pgtable (Results 1 – 9 of 9) sorted by relevance
305 struct io_pgtable io_pgtable = {}; in arm_smmu_test_make_s2_ste() local307 .pgtbl_ops = &io_pgtable.ops, in arm_smmu_test_make_s2_ste()310 io_pgtable.cfg.arm_lpae_s2_cfg.vttbr = 0xdaedbeefdeadbeefULL; in arm_smmu_test_make_s2_ste()311 io_pgtable.cfg.arm_lpae_s2_cfg.vtcr.ps = 1; in arm_smmu_test_make_s2_ste()312 io_pgtable.cfg.arm_lpae_s2_cfg.vtcr.tg = 2; in arm_smmu_test_make_s2_ste()313 io_pgtable.cfg.arm_lpae_s2_cfg.vtcr.sh = 3; in arm_smmu_test_make_s2_ste()314 io_pgtable.cfg.arm_lpae_s2_cfg.vtcr.orgn = 1; in arm_smmu_test_make_s2_ste()315 io_pgtable.cfg.arm_lpae_s2_cfg.vtcr.irgn = 2; in arm_smmu_test_make_s2_ste()316 io_pgtable.cfg.arm_lpae_s2_cfg.vtcr.sl = 3; in arm_smmu_test_make_s2_ste()317 io_pgtable.cfg.arm_lpae_s2_cfg.vtcr.tsz = 4; in arm_smmu_test_make_s2_ste()[all …]
245 struct io_pgtable { struct252 #define io_pgtable_ops_to_pgtable(x) container_of((x), struct io_pgtable, ops) argument254 static inline void io_pgtable_tlb_flush_all(struct io_pgtable *iop) in io_pgtable_tlb_flush_all()261 io_pgtable_tlb_flush_walk(struct io_pgtable *iop, unsigned long iova, in io_pgtable_tlb_flush_walk()269 io_pgtable_tlb_add_page(struct io_pgtable *iop, in io_pgtable_tlb_add_page()294 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie);295 void (*free)(struct io_pgtable *iop);
61 struct io_pgtable *iop; in alloc_io_pgtable_ops()92 struct io_pgtable *iop; in free_io_pgtable_ops()
69 struct io_pgtable iop;391 static struct io_pgtable *433 static void apple_dart_free_pgtable(struct io_pgtable *iop) in apple_dart_free_pgtable()
2 obj-$(CONFIG_AMD_IOMMU) += iommu.o init.o quirks.o io_pgtable.o io_pgtable_v2.o ppr.o pasid.o
127 struct io_pgtable *pgtable = in qcom_adreno_smmu_get_ttbr1_cfg()142 struct io_pgtable *pgtable = io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_adreno_smmu_set_ttbr0_cfg()
476 struct io_pgtable *pgtable = container_of(qcom_domain->pgtbl_ops, in qcom_iommu_flush_iotlb_all()477 struct io_pgtable, ops); in qcom_iommu_flush_iotlb_all()
363 struct io_pgtable *iop = io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_smmu_verify_fault()
831 const struct io_pgtable *pgt = io_pgtable_ops_to_pgtable(vm->pgtbl_ops); in panthor_vm_page_size()