Searched refs:DVMA_PAGE_SHIFT (Results 1 – 3 of 3) sorted by relevance
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()150 index = baddr >> DVMA_PAGE_SHIFT; in dvma_map_iommu()151 end = ((baddr+len) >> DVMA_PAGE_SHIFT); in dvma_map_iommu()171 for(index = (baddr >> DVMA_PAGE_SHIFT); index < end; index++) in dvma_map_iommu()172 dvma_print(index << DVMA_PAGE_SHIFT); in dvma_map_iommu()184 index = baddr >> DVMA_PAGE_SHIFT; in dvma_unmap_iommu()185 end = (DVMA_PAGE_ALIGN(baddr+len) >> DVMA_PAGE_SHIFT); in dvma_unmap_iommu()[all …]
14 #define DVMA_PAGE_SHIFT 13 macro15 #define DVMA_PAGE_SIZE (1UL << DVMA_PAGE_SHIFT)
25 #define dvma_index(baddr) ((baddr - DVMA_START) >> DVMA_PAGE_SHIFT)62 (i << DVMA_PAGE_SHIFT) + DVMA_START, iommu_use[i]); in print_use()