Searched refs:iopte_val (Results 1 – 5 of 5) sorted by relevance
80 ((iopte_val(*iopte) & IOPTE_PAGE) == (iommu)->dummy_page_pa)84 unsigned long val = iopte_val(*iopte); in iopte_make_dummy()89 iopte_val(*iopte) = val; in iopte_make_dummy()236 iopte_val(*iopte) = (IOPTE_CONSISTENT(0UL) | in dma_4u_alloc_coherent()308 iopte_val(*base) = iopte_protection | base_paddr; in dma_4u_map_page()415 ctx = (iopte_val(*base) & IOPTE_CONTEXT) >> 47UL; in dma_4u_unmap_page()512 iopte_val(*base) = prot | paddr; in dma_4u_map_sg()603 ctx = (iopte_val(*base) & IOPTE_CONTEXT) >> 47UL; in fetch_sg_ctx()689 ctx = (iopte_val(*iopte) & IOPTE_CONTEXT) >> 47UL; in dma_4u_sync_single_for_cpu()725 ctx = (iopte_val(*iopte) & IOPTE_CONTEXT) >> 47UL; in dma_4u_sync_sg_for_cpu()
63 #define iopte_val(x) ((x).iopte) macro90 #define iopte_val(x) (x) macro
66 #define iopte_val(x) ((x).iopte) macro89 #define iopte_val(x) (x) macro
195 iopte_val(*iopte) = MKIOPTE(page_to_pfn(page), IOPERM); in iommu_get_one()292 iopte_val(iommu->page_table[ioptex + i]) = 0; in iommu_release_one()366 iopte_val(*iopte++) = in iommu_map_dma_area()404 iopte_val(*iopte++) = 0; in iommu_unmap_dma_area()
134 for (k = 0; k < npages; k++, iopte = __iopte(iopte_val(iopte) + 0x100), scan++) { in iounit_get_area()136 sbus_writel(iopte_val(iopte), &iounit->page_table[scan]); in iounit_get_area()231 sbus_writel(iopte_val(MKIOPTE(__pa(page))), iopte); in iounit_map_dma_area()