Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Diommu.c80 ((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()
/arch/sparc/include/asm/
Dpage_32.h63 #define iopte_val(x) ((x).iopte) macro
90 #define iopte_val(x) (x) macro
Dpage_64.h66 #define iopte_val(x) ((x).iopte) macro
89 #define iopte_val(x) (x) macro
/arch/sparc/mm/
Diommu.c195 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()
Dio-unit.c134 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()