Searched refs:DVMA_PAGE_SHIFT (Results 1 – 3 of 3) sorted by relevance
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()[all …]
14 #define DVMA_PAGE_SHIFT 13 macro15 #define DVMA_PAGE_SIZE (1UL << DVMA_PAGE_SHIFT)
33 #define dvma_index(baddr) ((baddr - DVMA_START) >> DVMA_PAGE_SHIFT)70 ( i << DVMA_PAGE_SHIFT) + DVMA_START, in print_use()