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()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()[all …]
14 #define DVMA_PAGE_SHIFT 13 macro15 #define DVMA_PAGE_SIZE (1UL << DVMA_PAGE_SHIFT)
37 #define dvma_index(baddr) ((baddr - DVMA_START) >> DVMA_PAGE_SHIFT)74 (i << DVMA_PAGE_SHIFT) + DVMA_START, iommu_use[i]); in print_use()