Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iommu/
Dio-pgtable-arm.c194 struct io_pgtable_cfg *cfg) in __arm_lpae_alloc_pages()
233 struct io_pgtable_cfg *cfg) in __arm_lpae_free_pages()
242 struct io_pgtable_cfg *cfg) in __arm_lpae_sync_pte()
248 static void __arm_lpae_clear_pte(arm_lpae_iopte *ptep, struct io_pgtable_cfg *cfg) in __arm_lpae_clear_pte()
267 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_init_pte()
321 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_install_table()
355 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_map()
482 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_map_pages()
564 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_split_blk_unmap()
682 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.c34 struct io_pgtable_cfg *cfg, in alloc_io_pgtable_ops()
Dapple-dart.c388 struct io_pgtable_cfg *pgtbl_cfg = in apple_dart_setup_translation()
406 struct io_pgtable_cfg pgtbl_cfg; in apple_dart_finalize_domain()
421 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.c241 struct io_pgtable_cfg cfg;
590 dom->cfg = (struct io_pgtable_cfg) { in mtk_iommu_domain_finalise()
Dipmmu-vmsa.c75 struct io_pgtable_cfg cfg;
/linux-5.19.10/include/linux/
Dio-pgtable.h62 struct io_pgtable_cfg { struct
186 struct io_pgtable_cfg *cfg,
215 struct io_pgtable_cfg cfg;
252 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-5.19.10/drivers/iommu/arm/arm-smmu/
Darm-smmu-qcom.c104 static const struct io_pgtable_cfg *qcom_adreno_smmu_get_ttbr1_cfg( in qcom_adreno_smmu_get_ttbr1_cfg()
120 const struct io_pgtable_cfg *pgtbl_cfg) in qcom_adreno_smmu_set_ttbr0_cfg()
192 struct io_pgtable_cfg *pgtbl_cfg, struct device *dev) in qcom_adreno_smmu_init_context()
242 struct io_pgtable_cfg *pgtbl_cfg, struct device *dev) in qcom_smmu_init_context()
Darm-smmu.h383 static inline u32 arm_smmu_lpae_tcr(const struct io_pgtable_cfg *cfg) in arm_smmu_lpae_tcr()
404 static inline u32 arm_smmu_lpae_tcr2(const struct io_pgtable_cfg *cfg) in arm_smmu_lpae_tcr2()
410 static inline u32 arm_smmu_lpae_vtcr(const struct io_pgtable_cfg *cfg) in arm_smmu_lpae_vtcr()
433 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.c473 struct io_pgtable_cfg *pgtbl_cfg) in arm_smmu_init_context_bank()
635 struct io_pgtable_cfg pgtbl_cfg; in arm_smmu_init_domain_context()
766 pgtbl_cfg = (struct io_pgtable_cfg) { in arm_smmu_init_domain_context()
/linux-5.19.10/drivers/gpu/drm/msm/
Dmsm_iommu.c153 const struct io_pgtable_cfg *ttbr1_cfg = NULL; in msm_iommu_pagetable_create()
154 struct io_pgtable_cfg ttbr0_cfg; in msm_iommu_pagetable_create()
/linux-5.19.10/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()
605 mmu->pgtbl_cfg = (struct io_pgtable_cfg) { in panfrost_mmu_ctx_create()
/linux-5.19.10/drivers/iommu/amd/
Dio_pgtable.c510 static struct io_pgtable *v1_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in v1_alloc_pgtable()
Damd_iommu_types.h508 struct io_pgtable_cfg pgtbl_cfg;
/linux-5.19.10/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2071 struct io_pgtable_cfg *pgtbl_cfg) in arm_smmu_domain_finalise_s1()
2130 struct io_pgtable_cfg *pgtbl_cfg) in arm_smmu_domain_finalise_s2()
2160 struct io_pgtable_cfg pgtbl_cfg; in arm_smmu_domain_finalise()
2164 struct io_pgtable_cfg *); in arm_smmu_domain_finalise()
2198 pgtbl_cfg = (struct io_pgtable_cfg) { in arm_smmu_domain_finalise()