Searched refs:VDMA_PAGESIZE (Results 1 – 2 of 2) sorted by relevance
57 paddr += VDMA_PAGESIZE; in vdma_pgtbl_init()141 laddr = (first << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_alloc()142 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_alloc()147 frame += VDMA_PAGESIZE; in vdma_alloc()221 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_phys2log()231 return (i << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_phys2log()241 return pgtbl[laddr >> 12].frame + (laddr & (VDMA_PAGESIZE - 1)); in vdma_log2phys()
28 #define VDMA_PAGESIZE 4096 macro38 #define VDMA_OFFSET(a) ((unsigned int)(a) & (VDMA_PAGESIZE-1))