Lines Matching refs:paddr
50 unsigned long paddr = 0; in vdma_pgtbl_init() local
54 pgtbl[i].frame = paddr; in vdma_pgtbl_init()
56 paddr += VDMA_PAGESIZE; in vdma_pgtbl_init()
92 unsigned long vdma_alloc(unsigned long paddr, unsigned long size) in vdma_alloc() argument
99 if (paddr > 0x1fffffff) { in vdma_alloc()
102 paddr); in vdma_alloc()
115 pages = VDMA_PAGE(paddr + size) - VDMA_PAGE(paddr) + 1; in vdma_alloc()
138 laddr = (first << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_alloc()
139 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_alloc()
212 int vdma_remap(unsigned long laddr, unsigned long paddr, unsigned long size) in vdma_remap() argument
223 if (paddr > 0x1fffffff) { in vdma_remap()
227 paddr); in vdma_remap()
231 pages = (((paddr & (VDMA_PAGESIZE - 1)) + size) >> 12) + 1; in vdma_remap()
241 paddr &= ~(VDMA_PAGESIZE - 1); in vdma_remap()
248 pgtbl[first].frame = paddr; in vdma_remap()
249 paddr += VDMA_PAGESIZE; in vdma_remap()
261 pages = (((paddr & (VDMA_PAGESIZE - 1)) + size) >> 12) + 1; in vdma_remap()
283 unsigned long vdma_phys2log(unsigned long paddr) in vdma_phys2log() argument
288 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_phys2log()
298 return (i << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_phys2log()