Searched refs:VDMA_PAGESIZE (Results 1 – 2 of 2) sorted by relevance
59 paddr += VDMA_PAGESIZE; in vdma_pgtbl_init()142 laddr = (first << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_alloc()143 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_alloc()148 frame += VDMA_PAGESIZE; in vdma_alloc()235 pages = (((paddr & (VDMA_PAGESIZE - 1)) + size) >> 12) + 1; in vdma_remap()245 paddr &= ~(VDMA_PAGESIZE - 1); in vdma_remap()253 paddr += VDMA_PAGESIZE; in vdma_remap()265 pages = (((paddr & (VDMA_PAGESIZE - 1)) + size) >> 12) + 1; in vdma_remap()292 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_phys2log()302 return (i << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_phys2log()[all …]
30 #define VDMA_PAGESIZE 4096 macro40 #define VDMA_OFFSET(a) ((unsigned int)(a) & (VDMA_PAGESIZE-1))