Home
last modified time | relevance | path

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

/linux/drivers/iommu/arm/arm-smmu-v3/
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()
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()
316 io_pgtable.cfg.arm_lpae_s2_cfg.vtcr.sl = 3; in arm_smmu_test_make_s2_ste()
457 struct io_pgtable io_pgtable = {}; in arm_smmu_test_make_s1_cd() local
459 .pgtbl_ops = &io_pgtable.ops, in arm_smmu_test_make_s1_cd()
466 io_pgtable.cfg.arm_lpae_s1_cfg.tcr.ips = 1; in arm_smmu_test_make_s1_cd()
467 io_pgtable.cfg.arm_lpae_s1_cfg.tcr.tg = 2; in arm_smmu_test_make_s1_cd()
[all …]
/linux/include/linux/
A Dio-pgtable.h243 struct io_pgtable { struct
250 #define io_pgtable_ops_to_pgtable(x) container_of((x), struct io_pgtable, ops) argument
252 static inline void io_pgtable_tlb_flush_all(struct io_pgtable *iop) in io_pgtable_tlb_flush_all()
259 io_pgtable_tlb_flush_walk(struct io_pgtable *iop, unsigned long iova, in io_pgtable_tlb_flush_walk()
267 io_pgtable_tlb_add_page(struct io_pgtable *iop, in io_pgtable_tlb_add_page()
292 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie);
293 void (*free)(struct io_pgtable *iop);
/linux/drivers/iommu/
A Dio-pgtable.c61 struct io_pgtable *iop; in alloc_io_pgtable_ops()
92 struct io_pgtable *iop; in free_io_pgtable_ops()
A Dio-pgtable-arm.c154 struct io_pgtable iop;
564 static void arm_lpae_free_pgtable(struct io_pgtable *iop) in arm_lpae_free_pgtable()
638 struct io_pgtable *iop = &data->iop; in __arm_lpae_unmap()
767 struct io_pgtable *iop = &data->iop; in io_pgtable_visit_dirty()
926 static struct io_pgtable *
1031 static struct io_pgtable *
1133 static struct io_pgtable *
1143 static struct io_pgtable *
1153 static struct io_pgtable *
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()
A Dio-pgtable-arm-v7s.c165 struct io_pgtable iop;
577 static void arm_v7s_free_pgtable(struct io_pgtable *iop) in arm_v7s_free_pgtable()
598 struct io_pgtable *iop = &data->iop; in arm_v7s_split_cont()
671 struct io_pgtable *iop = &data->iop; in __arm_v7s_unmap()
782 static struct io_pgtable *arm_v7s_alloc_pgtable(struct io_pgtable_cfg *cfg, in arm_v7s_alloc_pgtable()
/linux/drivers/iommu/amd/
A DMakefile2 obj-$(CONFIG_AMD_IOMMU) += iommu.o init.o quirks.o io_pgtable.o io_pgtable_v2.o ppr.o pasid.o
A Dio_pgtable_v2.c329 static void v2_free_pgtable(struct io_pgtable *iop) in v2_free_pgtable()
341 static struct io_pgtable *v2_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in v2_alloc_pgtable()
A Dio_pgtable.c526 static void v1_free_pgtable(struct io_pgtable *iop) in v1_free_pgtable()
542 static struct io_pgtable *v1_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in v1_alloc_pgtable()
A Damd_iommu_types.h547 struct io_pgtable pgtbl;
/linux/drivers/iommu/arm/arm-smmu/
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()
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()
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/
A Dpanthor_mmu.c831 const struct io_pgtable *pgt = io_pgtable_ops_to_pgtable(vm->pgtbl_ops); in panthor_vm_page_size()

Completed in 35 milliseconds