Home
last modified time | relevance | path

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

/linux/arch/sparc/kernel/
A Diommu.c81 ((iopte_val(*iopte) & IOPTE_PAGE) == (iommu)->dummy_page_pa)
85 unsigned long val = iopte_val(*iopte); in iopte_make_dummy()
90 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()
511 iopte_val(*base) = prot | paddr; in dma_4u_map_sg()
600 ctx = (iopte_val(*base) & IOPTE_CONTEXT) >> 47UL; in fetch_sg_ctx()
686 ctx = (iopte_val(*iopte) & IOPTE_CONTEXT) >> 47UL; in dma_4u_sync_single_for_cpu()
722 ctx = (iopte_val(*iopte) & IOPTE_CONTEXT) >> 47UL; in dma_4u_sync_sg_for_cpu()
/linux/arch/sparc/include/asm/
A Dpage_32.h64 #define iopte_val(x) ((x).iopte) macro
92 #define iopte_val(x) (x) macro
A Dpage_64.h77 #define iopte_val(x) ((x).iopte) macro
100 #define iopte_val(x) (x) macro
/linux/arch/sparc/mm/
A Diommu.c222 iopte_val(*iopte) = MKIOPTE(pfn, IOPERM); in __sbus_iommu_map_page()
291 iopte_val(iommu->page_table[ioptex + i]) = 0; in sbus_iommu_unmap_page()
365 iopte_val(*iopte++) = in sbus_iommu_alloc()
412 iopte_val(*iopte++) = 0; in sbus_iommu_free()
A Dio-unit.c136 for (k = 0; k < npages; k++, iopte = __iopte(iopte_val(iopte) + 0x100), scan++) { in iounit_get_area()
138 sbus_writel(iopte_val(iopte), &iounit->page_table[scan]); in iounit_get_area()
254 sbus_writel(iopte_val(MKIOPTE(__pa(page))), iopte); in iounit_alloc()

Completed in 11 milliseconds