Lines Matching refs:VDMA_PAGESIZE
55 paddr += VDMA_PAGESIZE; in vdma_pgtbl_init()
139 laddr = (first << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_alloc()
140 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_alloc()
145 frame += VDMA_PAGESIZE; in vdma_alloc()
229 npages = pages = (((paddr & (VDMA_PAGESIZE - 1)) + size) >> 12) + 1; in vdma_remap()
239 paddr &= ~(VDMA_PAGESIZE - 1); in vdma_remap()
247 paddr += VDMA_PAGESIZE; in vdma_remap()
259 pages = (((paddr & (VDMA_PAGESIZE - 1)) + size) >> 12) + 1; in vdma_remap()
286 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_phys2log()
296 return (i << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_phys2log()
306 return pgtbl[laddr >> 12].frame + (laddr & (VDMA_PAGESIZE - 1)); in vdma_log2phys()