Searched refs:IO_PAGE_SHIFT (Results 1 – 3 of 3) sorted by relevance
135 1 << IO_PAGE_SHIFT); in iommu_range_alloc()137 boundary_size = ALIGN(1UL << 32, 1 << IO_PAGE_SHIFT); in iommu_range_alloc()140 iommu->page_table_map_base >> IO_PAGE_SHIFT, in iommu_range_alloc()141 boundary_size >> IO_PAGE_SHIFT, 0); in iommu_range_alloc()172 entry = (dma_addr - iommu->page_table_map_base) >> IO_PAGE_SHIFT; in iommu_range_free()308 iopte = alloc_npages(dev, iommu, size >> IO_PAGE_SHIFT); in dma_4u_alloc_coherent()317 ((iopte - iommu->page_table) << IO_PAGE_SHIFT)); in dma_4u_alloc_coherent()319 npages = size >> IO_PAGE_SHIFT; in dma_4u_alloc_coherent()338 npages = IO_PAGE_ALIGN(size) >> IO_PAGE_SHIFT; in dma_4u_free_coherent()373 npages >>= IO_PAGE_SHIFT; in dma_4u_map_page()[all …]
23 #define IO_PAGE_SHIFT 13 macro24 #define IO_PAGE_SIZE (1UL << IO_PAGE_SHIFT)
144 npages = size >> IO_PAGE_SHIFT; in dma_4v_alloc_coherent()164 (entry << IO_PAGE_SHIFT)); in dma_4v_alloc_coherent()207 npages = IO_PAGE_ALIGN(size) >> IO_PAGE_SHIFT; in dma_4v_free_coherent()211 entry = ((dvma - iommu->page_table_map_base) >> IO_PAGE_SHIFT); in dma_4v_free_coherent()252 npages >>= IO_PAGE_SHIFT; in dma_4v_map_page()262 (entry << IO_PAGE_SHIFT)); in dma_4v_map_page()320 npages >>= IO_PAGE_SHIFT; in dma_4v_unmap_page()327 entry = (bus_addr - iommu->page_table_map_base) >> IO_PAGE_SHIFT; in dma_4v_unmap_page()378 IO_PAGE_SIZE) >> IO_PAGE_SHIFT; in dma_4v_map_sg()379 base_shift = iommu->page_table_map_base >> IO_PAGE_SHIFT; in dma_4v_map_sg()[all …]