Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Diommu.c272 unsigned long i, base_paddr, ctx; in dma_4u_map_page() local
299 base_paddr = __pa(oaddr & IO_PAGE_MASK); in dma_4u_map_page()
307 for (i = 0; i < npages; i++, base++, base_paddr += IO_PAGE_SIZE) in dma_4u_map_page()
308 iopte_val(*base) = iopte_protection | base_paddr; in dma_4u_map_page()
Dpci_sun4v.c242 unsigned long i, base_paddr; in dma_4v_map_page() local
264 base_paddr = __pa(oaddr & IO_PAGE_MASK); in dma_4v_map_page()
273 for (i = 0; i < npages; i++, base_paddr += IO_PAGE_SIZE) { in dma_4v_map_page()
274 long err = iommu_batch_add(base_paddr); in dma_4v_map_page()