Searched refs:IOVP_SHIFT (Results 1 – 4 of 4) sorted by relevance
64 pdirp = &(ioc->pdir_base[pide >> IOVP_SHIFT]); in iommu_fill_pdir()75 ioc->msg_pages += startsg->length >> IOVP_SHIFT; in iommu_fill_pdir()175 | (iommu_alloc_range(ioc, dev, dma_len) << IOVP_SHIFT) in iommu_coalesce_chunks()
268 #define IOVP_SHIFT PAGE_SHIFT macro275 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT)276 #define MKIOVP(pdir_idx) ((long)(pdir_idx) << IOVP_SHIFT)332 unsigned int pages_needed = size >> IOVP_SHIFT; in ccio_alloc_range()350 boundary_size = dma_get_seg_boundary_nr_pages(dev, IOVP_SHIFT); in ccio_alloc_range()741 ioc->msingle_pages += size >> IOVP_SHIFT; in ccio_map_single()819 ioc->usingle_pages += size >> IOVP_SHIFT; in ccio_unmap_page()823 ccio_free_range(ioc, iova, (size >> IOVP_SHIFT)); in ccio_unmap_page()
318 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT)351 boundary_size = dma_get_seg_boundary_nr_pages(dev, IOVP_SHIFT); in sba_search_bitmap()355 shift = ioc->ibase >> IOVP_SHIFT; in sba_search_bitmap()442 unsigned int pages_needed = size >> IOVP_SHIFT; in sba_alloc_range()501 int bits_not_wanted = size >> IOVP_SHIFT; in sba_free_range()655 iovp |= IOVP_SHIFT; /* set "size" field for PCOM */ in sba_mark_invalid()737 ioc->msingle_pages += size >> IOVP_SHIFT; in sba_map_single()740 iovp = (dma_addr_t) pide << IOVP_SHIFT; in sba_map_single()827 ioc->usingle_pages += size >> IOVP_SHIFT; in sba_unmap_page()1298 iov_order = get_order(iova_space_size >> (IOVP_SHIFT - PAGE_SHIFT)); in sba_ioc_init_pluto()
192 #define IOVP_SHIFT PAGE_SHIFT macro