Home
last modified time | relevance | path

Searched refs:io_pgtable (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3-test.c305 struct io_pgtable io_pgtable = {}; in arm_smmu_test_make_s2_ste() local
307 .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 …]
/linux/include/linux/
H A Dio-pgtable.h245 struct io_pgtable { struct
252 #define io_pgtable_ops_to_pgtable(x) container_of((x), struct io_pgtable, ops) argument
254 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);
/linux/drivers/iommu/
H A Dio-pgtable.c61 struct io_pgtable *iop; in alloc_io_pgtable_ops()
92 struct io_pgtable *iop; in free_io_pgtable_ops()
H A Dio-pgtable-dart.c69 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()
/linux/drivers/iommu/amd/
H A DMakefile2 obj-$(CONFIG_AMD_IOMMU) += iommu.o init.o quirks.o io_pgtable.o io_pgtable_v2.o ppr.o pasid.o
/linux/drivers/iommu/arm/arm-smmu/
H A Darm-smmu-qcom.c127 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()
H A Dqcom_iommu.c476 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()
H A Darm-smmu-qcom-debug.c363 struct io_pgtable *iop = io_pgtable_ops_to_pgtable(smmu_domain->pgtbl_ops); in qcom_smmu_verify_fault()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c831 const struct io_pgtable *pgt = io_pgtable_ops_to_pgtable(vm->pgtbl_ops); in panthor_vm_page_size()