Home
last modified time | relevance | path

Searched refs:ias (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/iommu/
A Dio-pgtable-arm.c485 long iaext = (s64)iova >> cfg->ias; in arm_lpae_map_pages()
683 long iaext = (s64)iova >> cfg->ias; in arm_lpae_unmap_pages()
778 cfg->ias = min(cfg->ias, max_addr_bits); in arm_lpae_restrict_pgsizes()
806 va_bits = cfg->ias - pg_shift; in arm_lpae_alloc_pgtable()
896 tcr->tsz = 64ULL - cfg->ias; in arm_64_lpae_alloc_pgtable_s1()
1009 vtcr->tsz = 64ULL - cfg->ias; in arm_64_lpae_alloc_pgtable_s2()
1033 if (cfg->ias > 32 || cfg->oas > 40) in arm_32_lpae_alloc_pgtable_s1()
1043 if (cfg->ias > 40 || cfg->oas > 40) in arm_32_lpae_alloc_pgtable_s2()
1220 cfg->pgsize_bitmap, cfg->ias); in arm_lpae_dump_ops()
1354 cfg.ias = ias[j]; in arm_lpae_do_selftests()
[all …]
A Dio-pgtable-arm-v7s.c51 #define _ARM_V7S_LVL_BITS(lvl, cfg) ((lvl) == 1 ? ((cfg)->ias - 20) : 8)
529 if (WARN_ON(iova >= (1ULL << data->iop.cfg.ias) || in arm_v7s_map_pages()
730 if (WARN_ON(iova >= (1ULL << data->iop.cfg.ias))) in arm_v7s_unmap_pages()
779 if (cfg->ias > (arm_v7s_is_mtk_enabled(cfg) ? 34 : ARM_V7S_ADDR_BITS)) in arm_v7s_alloc_pgtable()
909 .ias = 32, in arm_v7s_do_selftests()
A Dapple-dart.c423 .ias = 32, in apple_dart_finalize_domain()
A Dipmmu-vmsa.c439 domain->cfg.ias = 32; in ipmmu_domain_init_context()
A Dmsm_iommu.c346 .ias = 32, in msm_iommu_domain_config()
A Dmtk_iommu.c405 .ias = MTK_IOMMU_HAS_FLAG(data->plat_data, IOVA_34_EN) ? 34 : 32, in mtk_iommu_domain_finalise()
/linux/drivers/iommu/arm/arm-smmu/
A Darm-smmu.c633 unsigned long ias, oas; in arm_smmu_init_domain_context() local
704 ias = smmu->va_size; in arm_smmu_init_domain_context()
710 ias = min(ias, 32UL); in arm_smmu_init_domain_context()
714 ias = min(ias, 32UL); in arm_smmu_init_domain_context()
727 ias = smmu->ipa_size; in arm_smmu_init_domain_context()
733 ias = min(ias, 40UL); in arm_smmu_init_domain_context()
768 .ias = ias, in arm_smmu_init_domain_context()
794 domain->geometry.aperture_start = ~0UL << ias; in arm_smmu_init_domain_context()
797 domain->geometry.aperture_end = (1UL << ias) - 1; in arm_smmu_init_domain_context()
A Dqcom_iommu.c243 .ias = 32, in qcom_iommu_init_domain()
261 domain->geometry.aperture_end = (1ULL << pgtbl_cfg.ias) - 1; in qcom_iommu_init_domain()
/linux/drivers/iommu/arm/arm-smmu-v3/
A Darm-smmu-v3.c2157 unsigned long ias, oas; in arm_smmu_domain_finalise() local
2180 ias = (smmu->features & ARM_SMMU_FEAT_VAX) ? 52 : 48; in arm_smmu_domain_finalise()
2181 ias = min_t(unsigned long, ias, VA_BITS); in arm_smmu_domain_finalise()
2182 oas = smmu->ias; in arm_smmu_domain_finalise()
2188 ias = smmu->ias; in arm_smmu_domain_finalise()
2199 .ias = ias, in arm_smmu_domain_finalise()
2211 domain->geometry.aperture_end = (1UL << pgtbl_cfg.ias) - 1; in arm_smmu_domain_finalise()
3528 smmu->ias = 40; in arm_smmu_device_hw_probe()
3641 smmu->ias = max(smmu->ias, smmu->oas); in arm_smmu_device_hw_probe()
3647 smmu->ias, smmu->oas, smmu->features); in arm_smmu_device_hw_probe()
A Darm-smmu-v3.h657 unsigned long ias; /* IPA */ member
/linux/include/linux/
A Dio-pgtable.h90 unsigned int ias; member
/linux/drivers/iommu/amd/
A Dio_pgtable.c543 cfg->ias = IOMMU_IN_ADDR_BIT_SIZE, in v1_alloc_pgtable()
/linux/drivers/gpu/drm/panfrost/
A Dpanfrost_mmu.c606 .ias = FIELD_GET(0xff, pfdev->features.mmu_features), in panfrost_mmu_ctx_create()

Completed in 46 milliseconds