Lines Matching refs:laddr
98 unsigned long laddr, flags; in vdma_alloc() local
141 laddr = (first << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_alloc()
146 pgtbl[i].owner = laddr; in vdma_alloc()
157 pages, laddr); in vdma_alloc()
174 return laddr; in vdma_alloc()
184 int vdma_free(unsigned long laddr) in vdma_free() argument
188 i = laddr >> 12; in vdma_free()
190 if (pgtbl[i].owner != laddr) { in vdma_free()
193 laddr); in vdma_free()
197 while (i < VDMA_PGTBL_ENTRIES && pgtbl[i].owner == laddr) { in vdma_free()
204 i - (laddr >> 12), laddr); in vdma_free()
239 unsigned long vdma_log2phys(unsigned long laddr) in vdma_log2phys() argument
241 return pgtbl[laddr >> 12].frame + (laddr & (VDMA_PAGESIZE - 1)); in vdma_log2phys()