Searched refs:io_pgtable (Results 1 – 14 of 14) sorted by relevance
| /linux-6.15/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3-test.c | 305 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 D | io-pgtable.h | 256 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 D | io-pgtable.c | 61 struct io_pgtable *iop; in alloc_io_pgtable_ops() 92 struct io_pgtable *iop; in free_io_pgtable_ops()
|
| H A D | io-pgtable-arm.c | 166 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 D | io-pgtable-dart.c | 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()
|
| H A D | io-pgtable-arm-v7s.c | 165 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 D | Makefile | 2 obj-$(CONFIG_AMD_IOMMU) += iommu.o init.o quirks.o io_pgtable.o io_pgtable_v2.o ppr.o pasid.o
|
| H A D | io_pgtable_v2.c | 332 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 D | io_pgtable.c | 524 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 D | amd_iommu_types.h | 554 struct io_pgtable pgtbl;
|
| /linux-6.15/drivers/iommu/arm/arm-smmu/ |
| H A D | arm-smmu-qcom.c | 202 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 D | qcom_iommu.c | 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()
|
| H A D | arm-smmu-qcom-debug.c | 363 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 D | panthor_mmu.c | 832 const struct io_pgtable *pgt = io_pgtable_ops_to_pgtable(vm->pgtbl_ops); in panthor_vm_page_size()
|