Home
last modified time | relevance | path

Searched refs:enable_4GB (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/media/platform/mediatek/vpu/
Dmtk_vpu.c220 bool enable_4GB; member
717 u32 offset_4gb = vpu->enable_4GB ? 0x40000000 : 0; in vpu_alloc_ext_mem()
885 vpu->enable_4GB = !!(totalram_pages() > (SZ_2G >> PAGE_SHIFT)); in mtk_vpu_probe()
886 dev_info(dev, "4GB mode %u\n", vpu->enable_4GB); in mtk_vpu_probe()
888 if (vpu->enable_4GB) { in mtk_vpu_probe()
/linux-6.1.9/drivers/iommu/
Dmtk_iommu.c219 bool enable_4GB; member
605 dom->cfg.oas = data->enable_4GB ? 33 : 32; in mtk_iommu_domain_finalise()
719 if (dom->bank->parent_data->enable_4GB) in mtk_iommu_map()
768 dom->bank->parent_data->enable_4GB && in mtk_iommu_iova_to_phys()
970 if (data->enable_4GB && in mtk_iommu_hw_init()
1022 regval = (data->protect_base >> 1) | (data->enable_4GB << 31); in mtk_iommu_hw_init()
1198 data->enable_4GB = !!(val & F_DDR_4GB_SUPPORT_EN); in mtk_iommu_probe()