Lines Matching refs:DVMA_PAGE_SHIFT
46 #define dvma_entry_vaddr(index,paddr) ((index << DVMA_PAGE_SHIFT) | \
58 #define dvma_entry_hash(addr) ((addr >> DVMA_PAGE_SHIFT) ^ \
60 (DVMA_PAGE_SHIFT+4)))
71 index = dvma_addr >> DVMA_PAGE_SHIFT; in dvma_print()
156 index = baddr >> DVMA_PAGE_SHIFT; in dvma_map_iommu()
157 end = ((baddr+len) >> DVMA_PAGE_SHIFT); in dvma_map_iommu()
176 for(index = (baddr >> DVMA_PAGE_SHIFT); index < end; index++) in dvma_map_iommu()
177 dvma_print(index << DVMA_PAGE_SHIFT); in dvma_map_iommu()
189 index = baddr >> DVMA_PAGE_SHIFT; in dvma_unmap_iommu()
190 end = (DVMA_PAGE_ALIGN(baddr+len) >> DVMA_PAGE_SHIFT); in dvma_unmap_iommu()
194 printk("freeing bus mapping %08x\n", index << DVMA_PAGE_SHIFT); in dvma_unmap_iommu()