Searched refs:MKIOPTE (Results 1 – 2 of 2) sorted by relevance
36 #define MKIOPTE(phys) __iopte((((phys)>>4) & IOUPTE_PAGE) | IOPERM) macro129 iopte = MKIOPTE(__pa(vaddr & PAGE_MASK)); in iounit_get_area()228 *iopte = MKIOPTE(__pa(page)); in iounit_map_dma_area()
57 #define MKIOPTE(pfn, perm) (((((pfn)<<8) & IOPTE_PAGE) | (perm)) & ~IOPTE_WAZ) macro193 iopte_val(*iopte) = MKIOPTE(page_to_pfn(page), IOPERM); in iommu_get_one()383 MKIOPTE(page_to_pfn(virt_to_page(page)), ioperm_noc); in iommu_map_dma_area()