/openbmc/linux/drivers/iommu/ |
H A D | io-pgtable-arm.c | 203 struct io_pgtable_cfg *cfg) in __arm_lpae_alloc_pages() 241 struct io_pgtable_cfg *cfg) in __arm_lpae_free_pages() 250 struct io_pgtable_cfg *cfg) in __arm_lpae_sync_pte() 256 static void __arm_lpae_clear_pte(arm_lpae_iopte *ptep, struct io_pgtable_cfg *cfg) in __arm_lpae_clear_pte() 275 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_init_pte() 329 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_install_table() 363 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_map() 481 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_map_pages() 555 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_split_blk_unmap() 673 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_unmap_pages() [all …]
|
H A D | io-pgtable-arm-v7s.c | 179 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 …]
|
H A D | io-pgtable-dart.c | 110 struct io_pgtable_cfg *cfg) in __dart_alloc_pages() 241 struct io_pgtable_cfg *cfg = &data->iop.cfg; in dart_map_pages() 302 struct io_pgtable_cfg *cfg = &data->iop.cfg; in dart_unmap_pages() 366 dart_alloc_pgtable(struct io_pgtable_cfg *cfg) in dart_alloc_pgtable() 397 apple_dart_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in apple_dart_alloc_pgtable()
|
H A D | io-pgtable.c | 38 struct io_pgtable_cfg *cfg, in alloc_io_pgtable_ops()
|
H A D | apple-dart.c | 558 struct io_pgtable_cfg *pgtbl_cfg = in apple_dart_setup_translation() 576 struct io_pgtable_cfg pgtbl_cfg; in apple_dart_finalize_domain() 592 pgtbl_cfg = (struct io_pgtable_cfg){ in apple_dart_finalize_domain()
|
H A D | msm_iommu.c | 43 struct io_pgtable_cfg cfg; 344 priv->cfg = (struct io_pgtable_cfg) { in msm_iommu_domain_config()
|
H A D | mtk_iommu.c | 281 struct io_pgtable_cfg cfg; 654 dom->cfg = (struct io_pgtable_cfg) { in mtk_iommu_domain_finalise()
|
H A D | ipmmu-vmsa.c | 75 struct io_pgtable_cfg cfg;
|
/openbmc/linux/include/linux/ |
H A D | io-pgtable.h | 64 struct io_pgtable_cfg { struct 182 struct io_pgtable_cfg *cfg, 211 struct io_pgtable_cfg cfg; 248 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie);
|
H A D | adreno-smmu-priv.h | 65 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);
|
/openbmc/linux/drivers/iommu/amd/ |
H A D | io_pgtable_v2.c | 241 struct io_pgtable_cfg *cfg = &pdom->iop.iop.cfg; in iommu_v2_map_pages() 294 struct io_pgtable_cfg *cfg = &pgtable->iop.cfg; in iommu_v2_unmap_pages() 376 static struct io_pgtable *v2_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in v2_alloc_pgtable()
|
H A D | io_pgtable.c | 518 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 | 543 struct io_pgtable_cfg pgtbl_cfg;
|
/openbmc/linux/drivers/iommu/arm/arm-smmu/ |
H A D | arm-smmu.h | 384 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);
|
H A D | arm-smmu-qcom.c | 121 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() 266 struct io_pgtable_cfg *pgtbl_cfg, struct device *dev) in qcom_smmu_init_context()
|
H A D | arm-smmu-impl.c | 72 struct io_pgtable_cfg *pgtbl_cfg, struct device *dev) in cavium_init_context()
|
H A D | qcom_iommu.c | 233 struct io_pgtable_cfg pgtbl_cfg; in qcom_iommu_init_domain() 241 pgtbl_cfg = (struct io_pgtable_cfg) { in qcom_iommu_init_domain()
|
H A D | arm-smmu-nvidia.c | 262 struct io_pgtable_cfg *pgtbl_cfg, in nvidia_smmu_init_context()
|
H A D | arm-smmu.c | 455 struct io_pgtable_cfg *pgtbl_cfg) in arm_smmu_init_context_bank() 617 struct io_pgtable_cfg pgtbl_cfg; in arm_smmu_init_domain_context() 748 pgtbl_cfg = (struct io_pgtable_cfg) { in arm_smmu_init_domain_context()
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_iommu.c | 254 const struct io_pgtable_cfg *ttbr1_cfg = NULL; in msm_iommu_pagetable_create() 255 struct io_pgtable_cfg ttbr0_cfg; in msm_iommu_pagetable_create()
|
/openbmc/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_device.h | 129 struct io_pgtable_cfg pgtbl_cfg;
|
H A D | panfrost_mmu.c | 127 struct io_pgtable_cfg *cfg = &mmu->pgtbl_cfg; in panfrost_mmu_enable() 631 mmu->pgtbl_cfg = (struct io_pgtable_cfg) { in panfrost_mmu_ctx_create()
|
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 2091 struct io_pgtable_cfg *pgtbl_cfg) in arm_smmu_domain_finalise_s1() 2150 struct io_pgtable_cfg *pgtbl_cfg) in arm_smmu_domain_finalise_s2() 2182 struct io_pgtable_cfg pgtbl_cfg; in arm_smmu_domain_finalise() 2186 struct io_pgtable_cfg *); in arm_smmu_domain_finalise() 2220 pgtbl_cfg = (struct io_pgtable_cfg) { in arm_smmu_domain_finalise()
|