Lines Matching refs:DVMA_PAGE_SHIFT
45 #define dvma_entry_vaddr(index,paddr) ((index << DVMA_PAGE_SHIFT) | \
57 #define dvma_entry_hash(addr) ((addr >> DVMA_PAGE_SHIFT) ^ \
59 (DVMA_PAGE_SHIFT+4)))
68 index = dvma_addr >> DVMA_PAGE_SHIFT; in dvma_print()
151 index = baddr >> DVMA_PAGE_SHIFT; in dvma_map_iommu()
152 end = ((baddr+len) >> DVMA_PAGE_SHIFT); in dvma_map_iommu()
172 for(index = (baddr >> DVMA_PAGE_SHIFT); index < end; index++) in dvma_map_iommu()
173 dvma_print(index << DVMA_PAGE_SHIFT); in dvma_map_iommu()
185 index = baddr >> DVMA_PAGE_SHIFT; in dvma_unmap_iommu()
186 end = (DVMA_PAGE_ALIGN(baddr+len) >> DVMA_PAGE_SHIFT); in dvma_unmap_iommu()
190 index << DVMA_PAGE_SHIFT); in dvma_unmap_iommu()