Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/
H A Dexynos-iommu.c61 static short PG_ENT_SHIFT = -1; variable
95 #define sect_to_phys(ent) (((phys_addr_t) ent) << PG_ENT_SHIFT)
122 #define mk_lv1ent_sect(pa, prot) ((pa >> PG_ENT_SHIFT) | LV1_PROT[prot] | 2)
123 #define mk_lv1ent_page(pa) ((pa >> PG_ENT_SHIFT) | 1)
124 #define mk_lv2ent_lpage(pa, prot) ((pa >> PG_ENT_SHIFT) | LV2_PROT[prot] | 1)
125 #define mk_lv2ent_spage(pa, prot) ((pa >> PG_ENT_SHIFT) | LV2_PROT[prot] | 2)
783 if (PG_ENT_SHIFT < 0) { in exynos_sysmmu_probe()
785 PG_ENT_SHIFT = SYSMMU_PG_ENT_SHIFT; in exynos_sysmmu_probe()
789 PG_ENT_SHIFT = SYSMMU_V5_PG_ENT_SHIFT; in exynos_sysmmu_probe()
896 BUG_ON(PG_ENT_SHIFT < 0 || !dma_dev); in exynos_iommu_domain_alloc()