Searched refs:VDMA_PAGESIZE (Results 1 – 2 of 2) sorted by relevance
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()[all …]
30 #define VDMA_PAGESIZE 4096 macro40 #define VDMA_OFFSET(a) ((unsigned int)(a) & (VDMA_PAGESIZE-1))