Searched refs:VIA_PFN (Results 1 – 1 of 1) sorted by relevance
47 #define VIA_PFN(x) ((unsigned long)(x) >> PAGE_SHIFT) macro131 vsg->pages[VIA_PFN(cur_mem) - in via_map_blit_for_device()132 VIA_PFN(first_addr)], in via_map_blit_for_device()234 unsigned long first_pfn = VIA_PFN(xfer->mem_addr); in via_lock_all_dma_pages()235 vsg->num_pages = VIA_PFN(xfer->mem_addr + (xfer->num_lines * xfer->mem_stride - 1)) - in via_lock_all_dma_pages()