Home
last modified time | relevance | path

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

/linux-6.15/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()
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-6.15/include/linux/
H A Dio-pgtable.h256 struct io_pgtable { struct
263 #define io_pgtable_ops_to_pgtable(x) container_of((x), struct io_pgtable, ops) argument
265 static inline void io_pgtable_tlb_flush_all(struct io_pgtable *iop) in io_pgtable_tlb_flush_all()
272 io_pgtable_tlb_flush_walk(struct io_pgtable *iop, unsigned long iova, in io_pgtable_tlb_flush_walk()
280 io_pgtable_tlb_add_page(struct io_pgtable *iop, in io_pgtable_tlb_add_page()
305 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie);
306 void (*free)(struct io_pgtable *iop);
/linux-6.15/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-arm.c166 struct io_pgtable iop;
620 static void arm_lpae_free_pgtable(struct io_pgtable *iop) in arm_lpae_free_pgtable()
634 struct io_pgtable *iop = &data->iop; in __arm_lpae_unmap()
708 struct io_pgtable *iop;
783 struct io_pgtable *iop = &data->iop; in io_pgtable_visit()
960 static struct io_pgtable *
1065 static struct io_pgtable *
1160 static struct io_pgtable *
1170 static struct io_pgtable *
1180 static struct io_pgtable *
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()
H A Dio-pgtable-arm-v7s.c165 struct io_pgtable iop;
540 static void arm_v7s_free_pgtable(struct io_pgtable *iop) in arm_v7s_free_pgtable()
563 struct io_pgtable *iop = &data->iop; in __arm_v7s_unmap()
667 static struct io_pgtable *arm_v7s_alloc_pgtable(struct io_pgtable_cfg *cfg, in arm_v7s_alloc_pgtable()
/linux-6.15/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
H A Dio_pgtable_v2.c332 static void v2_free_pgtable(struct io_pgtable *iop) in v2_free_pgtable()
344 static struct io_pgtable *v2_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in v2_alloc_pgtable()
H A Dio_pgtable.c524 static void v1_free_pgtable(struct io_pgtable *iop) in v1_free_pgtable()
540 static struct io_pgtable *v1_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in v1_alloc_pgtable()
H A Damd_iommu_types.h554 struct io_pgtable pgtbl;
/linux-6.15/drivers/iommu/arm/arm-smmu/
H A Darm-smmu-qcom.c202 struct io_pgtable *pgtable = in qcom_adreno_smmu_get_ttbr1_cfg()
217 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-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c832 const struct io_pgtable *pgt = io_pgtable_ops_to_pgtable(vm->pgtbl_ops); in panthor_vm_page_size()