/* Translate a logical DMA address to a physical address  */
unsigned long vdma_log2phys(unsigned long laddr)
/* Translate a logical DMA address to a physical address  */
unsigned long vdma_log2phys(unsigned long laddr)
{
	return pgtbl[laddr >> 12].frame + (laddr & (VDMA_PAGESIZE - 1));
}