Home
last modified time | relevance | path

Searched refs:oas (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3-sva.c205 unsigned long oas; in arm_smmu_sva_supported() local
225 oas = id_aa64mmfr0_parange_to_phys_shift(fld); in arm_smmu_sva_supported()
226 if (smmu->oas < oas) in arm_smmu_sva_supported()
Darm-smmu-v3.c2431 pgtbl_cfg.oas = smmu->ias; in arm_smmu_domain_finalise()
2442 pgtbl_cfg.oas = smmu->oas; in arm_smmu_domain_finalise()
4293 smmu->oas = 32; in arm_smmu_device_hw_probe()
4296 smmu->oas = 36; in arm_smmu_device_hw_probe()
4299 smmu->oas = 40; in arm_smmu_device_hw_probe()
4302 smmu->oas = 42; in arm_smmu_device_hw_probe()
4305 smmu->oas = 44; in arm_smmu_device_hw_probe()
4308 smmu->oas = 52; in arm_smmu_device_hw_probe()
4316 smmu->oas = 48; in arm_smmu_device_hw_probe()
4325 if (dma_set_mask_and_coherent(smmu->dev, DMA_BIT_MASK(smmu->oas))) in arm_smmu_device_hw_probe()
[all …]
Darm-smmu-v3.h746 unsigned long oas; /* PA */ member
/linux-6.12.1/drivers/iommu/
Dio-pgtable-dart.c245 if (WARN_ON(paddr >> cfg->oas)) in dart_map_pages()
400 if (cfg->oas != 36 && cfg->oas != 42) in apple_dart_alloc_pgtable()
403 if (cfg->ias > cfg->oas) in apple_dart_alloc_pgtable()
Dapple-dart.c164 u32 oas; member
216 u32 oas; member
599 .oas = dart->oas, in apple_dart_finalize_domain()
1126 dart->oas = dart->hw->oas; in apple_dart_probe()
1134 dart->oas = FIELD_GET(DART_T8110_PARAMS3_PA_WIDTH, dart_params[2]); in apple_dart_probe()
1200 .oas = 36,
1226 .oas = 36,
1252 .oas = 42,
Dio-pgtable-arm.c515 if (WARN_ON(iaext || paddr >> cfg->oas)) in arm_lpae_map_pages()
873 if (cfg->oas > 48) in arm_lpae_restrict_pgsizes()
882 cfg->oas = min(cfg->oas, max_addr_bits); in arm_lpae_restrict_pgsizes()
899 if (cfg->oas > ARM_LPAE_MAX_ADDR_BITS) in arm_lpae_alloc_pgtable()
973 switch (cfg->oas) { in arm_64_lpae_alloc_pgtable_s1()
1086 switch (cfg->oas) { in arm_64_lpae_alloc_pgtable_s2()
1136 if (cfg->ias > 32 || cfg->oas > 40) in arm_32_lpae_alloc_pgtable_s1()
1146 if (cfg->ias > 40 || cfg->oas > 40) in arm_32_lpae_alloc_pgtable_s2()
1162 if (cfg->ias > 48 || cfg->oas > 40) in arm_mali_lpae_alloc_pgtable()
1408 .oas = 48, in arm_lpae_do_selftests()
Dio-pgtable-arm-v7s.c267 phys >= (1ULL << cfg->oas) : phys != (arm_v7s_iopte)phys) { in __arm_v7s_alloc_table()
552 paddr >= (1ULL << data->iop.cfg.oas))) in arm_v7s_map_pages()
792 if (cfg->oas > (arm_v7s_is_mtk_enabled(cfg) ? 35 : ARM_V7S_ADDR_BITS)) in arm_v7s_alloc_pgtable()
933 .oas = 32, in arm_v7s_do_selftests()
Dmtk_iommu.c667 dom->cfg.oas = data->enable_4GB ? 33 : 32; in mtk_iommu_domain_finalise()
669 dom->cfg.oas = 35; in mtk_iommu_domain_finalise()
Dipmmu-vmsa.c435 domain->cfg.oas = 40; in ipmmu_domain_init_context()
Dmsm_iommu.c344 .oas = 32, in msm_iommu_domain_config()
/linux-6.12.1/drivers/iommu/arm/arm-smmu/
Darm-smmu.c670 unsigned long ias, oas; in arm_smmu_init_domain_context() local
736 oas = smmu->ipa_size; in arm_smmu_init_domain_context()
742 oas = min(oas, 40UL); in arm_smmu_init_domain_context()
746 oas = min(oas, 32UL); in arm_smmu_init_domain_context()
759 oas = smmu->pa_size; in arm_smmu_init_domain_context()
765 oas = min(oas, 40UL); in arm_smmu_init_domain_context()
800 .oas = oas, in arm_smmu_init_domain_context()
Dqcom_iommu.c234 .oas = 40, in qcom_iommu_init_domain()
/linux-6.12.1/include/linux/
Dio-pgtable.h101 unsigned int oas; member
/linux-6.12.1/drivers/iommu/amd/
Dio_pgtable_v2.c359 cfg->oas = IOMMU_OUT_ADDR_BIT_SIZE; in v2_alloc_pgtable()
Dio_pgtable.c553 cfg->oas = IOMMU_OUT_ADDR_BIT_SIZE; in v1_alloc_pgtable()
/linux-6.12.1/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c637 .oas = FIELD_GET(0xff00, pfdev->features.mmu_features), in panfrost_mmu_ctx_create()
/linux-6.12.1/drivers/gpu/drm/panthor/
Dpanthor_mmu.c2314 .oas = pa_bits, in panthor_vm_create()
/linux-6.12.1/Documentation/kbuild/
Dmakefiles.rst985 during ``make clean``. Files matching the patterns ``*.[oas]``, ``*.ko``, plus