Home
last modified time | relevance | path

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

/linux-6.15/drivers/iommu/
H A Dio-pgtable-arm.c262 struct io_pgtable_cfg *cfg, in __arm_lpae_alloc_pages()
309 struct io_pgtable_cfg *cfg, in __arm_lpae_free_pages()
323 struct io_pgtable_cfg *cfg) in __arm_lpae_sync_pte()
348 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_init_pte()
402 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_install_table()
436 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_map()
560 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_map_pages()
691 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_unmap_pages()
853 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_read_and_clear_dirty()
1301 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_dump_ops()
[all …]
H A Dio-pgtable-arm-v7s.c196 struct io_pgtable_cfg *cfg) in paddr_to_iopte()
207 struct io_pgtable_cfg *cfg) in iopte_to_paddr()
241 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_alloc_table()
301 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_free_table()
315 struct io_pgtable_cfg *cfg) in __arm_v7s_pte_sync()
324 int num_entries, struct io_pgtable_cfg *cfg) in __arm_v7s_set_pte()
335 struct io_pgtable_cfg *cfg) in arm_v7s_prot_to_pte()
398 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_v7s_init_pte()
434 struct io_pgtable_cfg *cfg) in arm_v7s_install_table()
464 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_map()
[all …]
H A Dio-pgtable.c38 struct io_pgtable_cfg *cfg) in check_custom_allocator()
58 struct io_pgtable_cfg *cfg, in alloc_io_pgtable_ops()
H A Dio-pgtable-dart.c236 struct io_pgtable_cfg *cfg = &data->iop.cfg; in dart_map_pages()
297 struct io_pgtable_cfg *cfg = &data->iop.cfg; in dart_unmap_pages()
361 dart_alloc_pgtable(struct io_pgtable_cfg *cfg) in dart_alloc_pgtable()
392 apple_dart_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in apple_dart_alloc_pgtable()
H A Dmsm_iommu.c43 struct io_pgtable_cfg cfg;
341 priv->cfg = (struct io_pgtable_cfg) { in msm_iommu_domain_config()
H A Dapple-dart.c563 struct io_pgtable_cfg *pgtbl_cfg = in apple_dart_setup_translation()
580 struct io_pgtable_cfg pgtbl_cfg; in apple_dart_finalize_domain()
599 pgtbl_cfg = (struct io_pgtable_cfg){ in apple_dart_finalize_domain()
H A Dmtk_iommu.c282 struct io_pgtable_cfg cfg;
655 dom->cfg = (struct io_pgtable_cfg) { in mtk_iommu_domain_finalise()
H A Dipmmu-vmsa.c74 struct io_pgtable_cfg cfg;
/linux-6.15/include/linux/
H A Dio-pgtable.h64 struct io_pgtable_cfg { struct
230 struct io_pgtable_cfg *cfg,
259 struct io_pgtable_cfg cfg;
305 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie);
H A Dadreno-smmu-priv.h70 const struct io_pgtable_cfg *(*get_ttbr1_cfg)(const void *cookie);
71 int (*set_ttbr0_cfg)(const void *cookie, const struct io_pgtable_cfg *cfg);
/linux-6.15/drivers/iommu/amd/
H A Dio_pgtable_v2.c237 struct io_pgtable_cfg *cfg = &pgtable->pgtbl.cfg; in iommu_v2_map_pages()
290 struct io_pgtable_cfg *cfg = &pgtable->pgtbl.cfg; in iommu_v2_unmap_pages()
344 static struct io_pgtable *v2_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in v2_alloc_pgtable()
H A Dio_pgtable.c117 struct io_pgtable_cfg *cfg = &pgtable->pgtbl.cfg; in increase_address_space()
162 struct io_pgtable_cfg *cfg = &pgtable->pgtbl.cfg; in alloc_pte()
540 static struct io_pgtable *v1_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) in v1_alloc_pgtable()
/linux-6.15/drivers/iommu/arm/arm-smmu/
H A Darm-smmu.h395 static inline u32 arm_smmu_lpae_tcr(const struct io_pgtable_cfg *cfg) in arm_smmu_lpae_tcr()
416 static inline u32 arm_smmu_lpae_tcr2(const struct io_pgtable_cfg *cfg) in arm_smmu_lpae_tcr2()
422 static inline u32 arm_smmu_lpae_vtcr(const struct io_pgtable_cfg *cfg) in arm_smmu_lpae_vtcr()
445 struct io_pgtable_cfg *cfg, struct device *dev);
H A Darm-smmu-qcom.c198 static const struct io_pgtable_cfg *qcom_adreno_smmu_get_ttbr1_cfg( in qcom_adreno_smmu_get_ttbr1_cfg()
214 const struct io_pgtable_cfg *pgtbl_cfg) in qcom_adreno_smmu_set_ttbr0_cfg()
300 struct io_pgtable_cfg *pgtbl_cfg, struct device *dev) in qcom_adreno_smmu_init_context()
377 struct io_pgtable_cfg *pgtbl_cfg, struct device *dev) in qcom_smmu_init_context()
H A Darm-smmu-impl.c72 struct io_pgtable_cfg *pgtbl_cfg, struct device *dev) in cavium_init_context()
H A Darm-smmu-nvidia.c260 struct io_pgtable_cfg *pgtbl_cfg, in nvidia_smmu_init_context()
H A Dqcom_iommu.c223 struct io_pgtable_cfg pgtbl_cfg; in qcom_iommu_init_domain()
231 pgtbl_cfg = (struct io_pgtable_cfg) { in qcom_iommu_init_domain()
H A Darm-smmu.c514 struct io_pgtable_cfg *pgtbl_cfg) in arm_smmu_init_context_bank()
676 struct io_pgtable_cfg pgtbl_cfg; in arm_smmu_init_domain_context()
801 pgtbl_cfg = (struct io_pgtable_cfg) { in arm_smmu_init_domain_context()
/linux-6.15/drivers/gpu/drm/msm/
H A Dmsm_iommu.c276 const struct io_pgtable_cfg *ttbr1_cfg = NULL; in msm_iommu_pagetable_create()
277 struct io_pgtable_cfg ttbr0_cfg; in msm_iommu_pagetable_create()
/linux-6.15/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.h158 struct io_pgtable_cfg pgtbl_cfg;
H A Dpanfrost_mmu.c127 struct io_pgtable_cfg *cfg = &mmu->pgtbl_cfg; in panfrost_mmu_enable()
634 mmu->pgtbl_cfg = (struct io_pgtable_cfg) { in panfrost_mmu_ctx_create()
/linux-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c711 struct io_pgtable_cfg *cfg = &io_pgtable_ops_to_pgtable(vm->pgtbl_ops)->cfg; in panthor_vm_active()
2318 struct io_pgtable_cfg pgtbl_cfg; in panthor_vm_create()
2358 pgtbl_cfg = (struct io_pgtable_cfg) { in panthor_vm_create()
/linux-6.15/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c1379 const struct io_pgtable_cfg *pgtbl_cfg = in arm_smmu_make_s1_cd()
1663 const struct io_pgtable_cfg *pgtbl_cfg = in arm_smmu_make_s2_domain_ste()
2535 struct io_pgtable_cfg pgtbl_cfg; in arm_smmu_domain_finalise()
2541 pgtbl_cfg = (struct io_pgtable_cfg) { in arm_smmu_domain_finalise()