Searched refs:IOVP_SHIFT (Results 1 – 2 of 2) sorted by relevance
189 #define IOVP_SHIFT PAGE_SHIFT macro196 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT)197 #define MKIOVP(pdir_idx) ((long)(pdir_idx) << IOVP_SHIFT)652 ioc->msingle_pages += size >> IOVP_SHIFT; in ccio_map_single()655 idx = ccio_alloc_range(ioc, (size >> IOVP_SHIFT)); in ccio_map_single()718 ioc->usingle_pages += size >> IOVP_SHIFT; in ccio_unmap_single()722 ccio_free_range(ioc, iova, (size >> IOVP_SHIFT)); in ccio_unmap_single()820 pdirp = &(ioc->pdir_base[pide >> IOVP_SHIFT]); in ccio_fill_pdir()839 ioc->msg_pages += cnt >> IOVP_SHIFT; in ccio_fill_pdir()949 | (ccio_alloc_range(ioc, (dma_len >> IOVP_SHIFT)) << IOVP_SHIFT) in ccio_coalesce_chunks()[all …]
184 #define IOVP_SHIFT PAGE_SHIFT macro460 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT)461 #define MKIOVP(dma_hint,pide) (dma_addr_t)((long)(dma_hint) | ((long)(pide) << IOVP_SHIFT))562 unsigned int pages_needed = size >> IOVP_SHIFT; in sba_alloc_range()630 int bits_not_wanted = size >> IOVP_SHIFT; in sba_free_range()771 iovp |= IOVP_SHIFT; /* set "size" field for PCOM */ in sba_mark_invalid()859 ioc->msingle_pages += size >> IOVP_SHIFT; in sba_map_single()862 iovp = (dma_addr_t) pide << IOVP_SHIFT; in sba_map_single()934 ioc->usingle_pages += size >> IOVP_SHIFT; in sba_unmap_single()1077 pdirp = &(ioc->pdir_base[pide >> IOVP_SHIFT]); in sba_fill_pdir()[all …]