Home
last modified time | relevance | path

Searched refs:io_pgtable_ops (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/include/linux/
H A Dio-pgtable.h152 struct io_pgtable_ops { struct
153 int (*map)(struct io_pgtable_ops *ops, unsigned long iova, argument
155 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
158 int (*map_sg)(struct io_pgtable_ops *ops, unsigned long iova, argument
161 size_t (*unmap)(struct io_pgtable_ops *ops, unsigned long iova, argument
163 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova, argument
166 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops, argument
180 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt,
191 void free_io_pgtable_ops(struct io_pgtable_ops *ops);
211 struct io_pgtable_ops ops;
/OK3568_Linux_fs/kernel/drivers/iommu/
H A Dio-pgtable.c29 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt, in alloc_io_pgtable_ops()
59 void free_io_pgtable_ops(struct io_pgtable_ops *ops) in free_io_pgtable_ops()
H A Dio-pgtable-arm-v7s.c526 static int arm_v7s_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_map_pages()
561 static int arm_v7s_map(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_map()
734 static size_t arm_v7s_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_unmap_pages()
756 static size_t arm_v7s_unmap(struct io_pgtable_ops *ops, unsigned long iova, in arm_v7s_unmap()
762 static phys_addr_t arm_v7s_iova_to_phys(struct io_pgtable_ops *ops, in arm_v7s_iova_to_phys()
819 data->iop.ops = (struct io_pgtable_ops) { in arm_v7s_alloc_pgtable()
917 struct io_pgtable_ops *ops; in arm_v7s_do_selftests()
H A Dio-pgtable-arm.c479 static int arm_lpae_map_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_map_pages()
515 static int arm_lpae_map(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_map()
687 static size_t arm_lpae_unmap_pages(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_unmap_pages()
708 static size_t arm_lpae_unmap(struct io_pgtable_ops *ops, unsigned long iova, in arm_lpae_unmap()
714 static phys_addr_t arm_lpae_iova_to_phys(struct io_pgtable_ops *ops, in arm_lpae_iova_to_phys()
824 data->iop.ops = (struct io_pgtable_ops) { in arm_lpae_alloc_pgtable()
1173 static void __init arm_lpae_dump_ops(struct io_pgtable_ops *ops) in arm_lpae_dump_ops()
1202 struct io_pgtable_ops *ops; in arm_lpae_run_tests()
H A Dipmmu-vmsa.c78 struct io_pgtable_ops *iop;
H A Dmsm_iommu.c45 struct io_pgtable_ops *iop;
H A Dmtk_iommu.c128 struct io_pgtable_ops *iop;
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A Dmsm_iommu.c23 struct io_pgtable_ops *pgtbl_ops;
36 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap()
55 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map()
/OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c69 struct io_pgtable_ops *pgtbl_ops;
234 struct io_pgtable_ops *pgtbl_ops; in qcom_iommu_init_domain()
433 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_map()
450 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_unmap()
494 struct io_pgtable_ops *ops = qcom_domain->pgtbl_ops; in qcom_iommu_iova_to_phys()
H A Darm-smmu.c620 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_init_domain_context()
1206 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map_pages()
1224 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_unmap_pages()
1274 struct io_pgtable_ops *ops= smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys_hard()
1324 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_iova_to_phys()
H A Darm-smmu.h365 struct io_pgtable_ops *pgtbl_ops;
/OK3568_Linux_fs/kernel/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.h126 struct io_pgtable_ops *pgtbl_ops;
H A Dpanfrost_mmu.c247 struct io_pgtable_ops *ops = mmu->pgtbl_ops; in mmu_map_sg()
301 struct io_pgtable_ops *ops = mapping->mmu->pgtbl_ops; in panfrost_mmu_unmap()
/OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.h667 struct io_pgtable_ops *pgtbl_ops;
H A Darm-smmu-v3.c1930 struct io_pgtable_ops *pgtbl_ops; in arm_smmu_domain_finalise()
2231 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_map()
2243 struct io_pgtable_ops *ops = smmu_domain->pgtbl_ops; in arm_smmu_unmap()
2271 struct io_pgtable_ops *ops = to_smmu_domain(domain)->pgtbl_ops; in arm_smmu_iova_to_phys()