Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/jazz/
Djazzdma.c59 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 …]
/Linux-v4.19/arch/mips/include/asm/
Djazzdma.h30 #define VDMA_PAGESIZE 4096 macro
40 #define VDMA_OFFSET(a) ((unsigned int)(a) & (VDMA_PAGESIZE-1))