Home
last modified time | relevance | path

Searched refs:io_pgtable_cfg (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/iommu/
Dio-pgtable-arm.c191 struct io_pgtable_cfg *cfg) in __arm_lpae_alloc_pages()
229 struct io_pgtable_cfg *cfg) in __arm_lpae_free_pages()
238 struct io_pgtable_cfg *cfg) in __arm_lpae_sync_pte()
244 static void __arm_lpae_clear_pte(arm_lpae_iopte *ptep, struct io_pgtable_cfg *cfg) in __arm_lpae_clear_pte()
263 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_init_pte()
317 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_install_table()
351 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_map()
469 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_map_pages()
551 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_split_blk_unmap()
669 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_unmap_pages()
[all …]
Dio-pgtable-arm-v7s.c179 static bool arm_v7s_is_mtk_enabled(struct io_pgtable_cfg *cfg) in arm_v7s_is_mtk_enabled()
197 struct io_pgtable_cfg *cfg) in paddr_to_iopte()
208 struct io_pgtable_cfg *cfg) in iopte_to_paddr()
242 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_alloc_table()
302 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_free_table()
316 struct io_pgtable_cfg *cfg) in __arm_v7s_pte_sync()
325 int num_entries, struct io_pgtable_cfg *cfg) in __arm_v7s_set_pte()
336 struct io_pgtable_cfg *cfg) in arm_v7s_prot_to_pte()
435 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_v7s_init_pte()
471 struct io_pgtable_cfg *cfg) in arm_v7s_install_table()
[all …]
Dio-pgtable-dart.c110 struct io_pgtable_cfg *cfg) in __dart_alloc_pages()
241 struct io_pgtable_cfg *cfg = &data->iop.cfg; in dart_map_pages()
303 struct io_pgtable_cfg *cfg = &data->iop.cfg; in dart_unmap_pages()
367 dart_alloc_pgtable(struct io_pgtable_cfg *cfg) in dart_alloc_pgtable()
398 apple_dart_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in apple_dart_alloc_pgtable()
Dio-pgtable.c38 struct io_pgtable_cfg *cfg, in alloc_io_pgtable_ops()
Dapple-dart.c396 struct io_pgtable_cfg *pgtbl_cfg = in apple_dart_setup_translation()
414 struct io_pgtable_cfg pgtbl_cfg; in apple_dart_finalize_domain()
429 pgtbl_cfg = (struct io_pgtable_cfg){ in apple_dart_finalize_domain()
Dmsm_iommu.c43 struct io_pgtable_cfg cfg;
344 priv->cfg = (struct io_pgtable_cfg) { in msm_iommu_domain_config()
Dmtk_iommu.c243 struct io_pgtable_cfg cfg;
592 dom->cfg = (struct io_pgtable_cfg) { in mtk_iommu_domain_finalise()
Dipmmu-vmsa.c75 struct io_pgtable_cfg cfg;
/linux-6.1.9/include/linux/
Dio-pgtable.h64 struct io_pgtable_cfg { struct
188 struct io_pgtable_cfg *cfg,
217 struct io_pgtable_cfg cfg;
254 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie);
Dadreno-smmu-priv.h65 const struct io_pgtable_cfg *(*get_ttbr1_cfg)(const void *cookie);
66 int (*set_ttbr0_cfg)(const void *cookie, const struct io_pgtable_cfg *cfg);
/linux-6.1.9/drivers/iommu/arm/arm-smmu/
Darm-smmu-qcom.c121 static const struct io_pgtable_cfg *qcom_adreno_smmu_get_ttbr1_cfg( in qcom_adreno_smmu_get_ttbr1_cfg()
137 const struct io_pgtable_cfg *pgtbl_cfg) in qcom_adreno_smmu_set_ttbr0_cfg()
209 struct io_pgtable_cfg *pgtbl_cfg, struct device *dev) in qcom_adreno_smmu_init_context()
260 struct io_pgtable_cfg *pgtbl_cfg, struct device *dev) in qcom_smmu_init_context()
Darm-smmu.h384 static inline u32 arm_smmu_lpae_tcr(const struct io_pgtable_cfg *cfg) in arm_smmu_lpae_tcr()
405 static inline u32 arm_smmu_lpae_tcr2(const struct io_pgtable_cfg *cfg) in arm_smmu_lpae_tcr2()
411 static inline u32 arm_smmu_lpae_vtcr(const struct io_pgtable_cfg *cfg) in arm_smmu_lpae_vtcr()
434 struct io_pgtable_cfg *cfg, struct device *dev);
Darm-smmu-impl.c72 struct io_pgtable_cfg *pgtbl_cfg, struct device *dev) in cavium_init_context()
Darm-smmu-nvidia.c262 struct io_pgtable_cfg *pgtbl_cfg, in nvidia_smmu_init_context()
Dqcom_iommu.c233 struct io_pgtable_cfg pgtbl_cfg; in qcom_iommu_init_domain()
241 pgtbl_cfg = (struct io_pgtable_cfg) { in qcom_iommu_init_domain()
Darm-smmu.c456 struct io_pgtable_cfg *pgtbl_cfg) in arm_smmu_init_context_bank()
618 struct io_pgtable_cfg pgtbl_cfg; in arm_smmu_init_domain_context()
749 pgtbl_cfg = (struct io_pgtable_cfg) { in arm_smmu_init_domain_context()
/linux-6.1.9/drivers/iommu/amd/
Dio_pgtable_v2.c247 struct io_pgtable_cfg *cfg = &pdom->iop.iop.cfg; in iommu_v2_map_pages()
299 struct io_pgtable_cfg *cfg = &pgtable->iop.cfg; in iommu_v2_unmap_pages()
381 static struct io_pgtable *v2_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in v2_alloc_pgtable()
Dio_pgtable.c518 static struct io_pgtable *v1_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in v1_alloc_pgtable()
Damd_iommu_types.h532 struct io_pgtable_cfg pgtbl_cfg;
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_iommu.c223 const struct io_pgtable_cfg *ttbr1_cfg = NULL; in msm_iommu_pagetable_create()
224 struct io_pgtable_cfg ttbr0_cfg; in msm_iommu_pagetable_create()
/linux-6.1.9/drivers/gpu/drm/panfrost/
Dpanfrost_device.h128 struct io_pgtable_cfg pgtbl_cfg;
Dpanfrost_mmu.c127 struct io_pgtable_cfg *cfg = &mmu->pgtbl_cfg; in panfrost_mmu_enable()
624 mmu->pgtbl_cfg = (struct io_pgtable_cfg) { in panfrost_mmu_ctx_create()
/linux-6.1.9/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2081 struct io_pgtable_cfg *pgtbl_cfg) in arm_smmu_domain_finalise_s1()
2140 struct io_pgtable_cfg *pgtbl_cfg) in arm_smmu_domain_finalise_s2()
2170 struct io_pgtable_cfg pgtbl_cfg; in arm_smmu_domain_finalise()
2174 struct io_pgtable_cfg *); in arm_smmu_domain_finalise()
2208 pgtbl_cfg = (struct io_pgtable_cfg) { in arm_smmu_domain_finalise()