Lines Matching refs: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()
406 (entry << IO_PAGE_SHIFT); in dma_4v_map_sg()
512 entry = ((dma_handle - iommu->page_table_map_base) >> IO_PAGE_SHIFT); in dma_4v_unmap_sg()