Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iommu/
Dio-pgtable-arm.c473 long iaext = (s64)iova >> cfg->ias; in arm_lpae_map_pages()
671 long iaext = (s64)iova >> cfg->ias; in arm_lpae_unmap_pages()
766 cfg->ias = min(cfg->ias, max_addr_bits); in arm_lpae_restrict_pgsizes()
781 if (cfg->ias > ARM_LPAE_MAX_ADDR_BITS) in arm_lpae_alloc_pgtable()
794 va_bits = cfg->ias - pg_shift; in arm_lpae_alloc_pgtable()
884 tcr->tsz = 64ULL - cfg->ias; in arm_64_lpae_alloc_pgtable_s1()
997 vtcr->tsz = 64ULL - cfg->ias; in arm_64_lpae_alloc_pgtable_s2()
1021 if (cfg->ias > 32 || cfg->oas > 40) in arm_32_lpae_alloc_pgtable_s1()
1031 if (cfg->ias > 40 || cfg->oas > 40) in arm_32_lpae_alloc_pgtable_s2()
1047 if (cfg->ias > 48 || cfg->oas > 40) in arm_mali_lpae_alloc_pgtable()
[all …]
Dio-pgtable-arm-v7s.c51 #define _ARM_V7S_LVL_BITS(lvl, cfg) ((lvl) == 1 ? ((cfg)->ias - 20) : 8)
551 if (WARN_ON(iova >= (1ULL << data->iop.cfg.ias) || in arm_v7s_map_pages()
752 if (WARN_ON(iova >= (1ULL << data->iop.cfg.ias))) in arm_v7s_unmap_pages()
803 if (cfg->ias > (arm_v7s_is_mtk_enabled(cfg) ? 34 : ARM_V7S_ADDR_BITS)) in arm_v7s_alloc_pgtable()
950 .ias = 32, in arm_v7s_do_selftests()
Dio-pgtable-dart.c375 va_bits = cfg->ias - pg_shift; in dart_alloc_pgtable()
409 if (cfg->ias > cfg->oas) in apple_dart_alloc_pgtable()
Dmsm_iommu.c346 .ias = 32, in msm_iommu_domain_config()
Dapple-dart.c431 .ias = 32, in apple_dart_finalize_domain()
Dipmmu-vmsa.c439 domain->cfg.ias = 32; in ipmmu_domain_init_context()
Dmtk_iommu.c597 .ias = MTK_IOMMU_HAS_FLAG(data->plat_data, IOVA_34_EN) ? 34 : 32, in mtk_iommu_domain_finalise()
/linux-6.1.9/drivers/iommu/arm/arm-smmu/
Darm-smmu.c616 unsigned long ias, oas; in arm_smmu_init_domain_context() local
687 ias = smmu->va_size; in arm_smmu_init_domain_context()
693 ias = min(ias, 32UL); in arm_smmu_init_domain_context()
697 ias = min(ias, 32UL); in arm_smmu_init_domain_context()
710 ias = smmu->ipa_size; in arm_smmu_init_domain_context()
716 ias = min(ias, 40UL); in arm_smmu_init_domain_context()
751 .ias = ias, in arm_smmu_init_domain_context()
777 domain->geometry.aperture_start = ~0UL << ias; in arm_smmu_init_domain_context()
780 domain->geometry.aperture_end = (1UL << ias) - 1; in arm_smmu_init_domain_context()
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-6.1.9/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2168 unsigned long ias, oas; in arm_smmu_domain_finalise() local
2191 ias = (smmu->features & ARM_SMMU_FEAT_VAX) ? 52 : 48; in arm_smmu_domain_finalise()
2192 ias = min_t(unsigned long, ias, VA_BITS); in arm_smmu_domain_finalise()
2193 oas = smmu->ias; in arm_smmu_domain_finalise()
2199 ias = smmu->ias; in arm_smmu_domain_finalise()
2210 .ias = ias, in arm_smmu_domain_finalise()
2222 domain->geometry.aperture_end = (1UL << pgtbl_cfg.ias) - 1; in arm_smmu_domain_finalise()
3503 smmu->ias = 40; in arm_smmu_device_hw_probe()
3616 smmu->ias = max(smmu->ias, smmu->oas); in arm_smmu_device_hw_probe()
3622 smmu->ias, smmu->oas, smmu->features); in arm_smmu_device_hw_probe()
Darm-smmu-v3.h656 unsigned long ias; /* IPA */ member
/linux-6.1.9/include/linux/
Dio-pgtable.h97 unsigned int ias; member
/linux-6.1.9/drivers/iommu/amd/
Dio_pgtable_v2.c400 cfg->ias = IOMMU_IN_ADDR_BIT_SIZE, in v2_alloc_pgtable()
Dio_pgtable.c523 cfg->ias = IOMMU_IN_ADDR_BIT_SIZE, in v1_alloc_pgtable()
/linux-6.1.9/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c626 .ias = FIELD_GET(0xff, pfdev->features.mmu_features), in panfrost_mmu_ctx_create()