Searched refs:VDMA_PAGESIZE (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/mips/jazz/
H A Djazzdma.c56 paddr += VDMA_PAGESIZE; vdma_pgtbl_init()
138 laddr = (first << 12) + (paddr & (VDMA_PAGESIZE - 1)); vdma_alloc()
139 frame = paddr & ~(VDMA_PAGESIZE - 1); vdma_alloc()
144 frame += VDMA_PAGESIZE; vdma_alloc()
231 pages = (((paddr & (VDMA_PAGESIZE - 1)) + size) >> 12) + 1; vdma_remap()
241 paddr &= ~(VDMA_PAGESIZE - 1); vdma_remap()
249 paddr += VDMA_PAGESIZE; vdma_remap()
261 pages = (((paddr & (VDMA_PAGESIZE - 1)) + size) >> 12) + 1; vdma_remap()
288 frame = paddr & ~(VDMA_PAGESIZE - 1); vdma_phys2log()
298 return (i << 12) + (paddr & (VDMA_PAGESIZE - 1)); vdma_phys2log()
308 return pgtbl[laddr >> 12].frame + (laddr & (VDMA_PAGESIZE - 1)); vdma_log2phys()
/linux-4.1.27/arch/mips/include/asm/
H A Djazzdma.h29 #define VDMA_PAGESIZE 4096 macro
39 #define VDMA_OFFSET(a) ((unsigned int)(a) & (VDMA_PAGESIZE-1))

Completed in 65 milliseconds