Searched refs:IOVP_SHIFT (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/parisc/
H A Diommu-helpers.h63 pdirp = &(ioc->pdir_base[pide >> IOVP_SHIFT]); iommu_fill_pdir()
74 ioc->msg_pages += startsg->length >> IOVP_SHIFT; iommu_fill_pdir()
174 | (iommu_alloc_range(ioc, dev, dma_len) << IOVP_SHIFT) iommu_coalesce_chunks()
H A Dsba_iommu.c314 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT)
347 1ULL << IOVP_SHIFT) >> IOVP_SHIFT; sba_search_bitmap()
351 shift = ioc->ibase >> IOVP_SHIFT; sba_search_bitmap()
437 unsigned int pages_needed = size >> IOVP_SHIFT; sba_alloc_range()
496 int bits_not_wanted = size >> IOVP_SHIFT; sba_free_range()
652 iovp |= IOVP_SHIFT; /* set "size" field for PCOM */ sba_mark_invalid()
739 ioc->msingle_pages += size >> IOVP_SHIFT; sba_map_single()
742 iovp = (dma_addr_t) pide << IOVP_SHIFT; sba_map_single()
815 ioc->usingle_pages += size >> IOVP_SHIFT; sba_unmap_single()
1279 iov_order = get_order(iova_space_size >> (IOVP_SHIFT - PAGE_SHIFT)); sba_ioc_init_pluto()
H A Dccio-dma.c279 #define IOVP_SHIFT PAGE_SHIFT macro
286 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT)
287 #define MKIOVP(pdir_idx) ((long)(pdir_idx) << IOVP_SHIFT)
342 unsigned int pages_needed = size >> IOVP_SHIFT; ccio_alloc_range()
361 1ULL << IOVP_SHIFT) >> IOVP_SHIFT; ccio_alloc_range()
756 ioc->msingle_pages += size >> IOVP_SHIFT; ccio_map_single()
820 ioc->usingle_pages += size >> IOVP_SHIFT; ccio_unmap_single()
824 ccio_free_range(ioc, iova, (size >> IOVP_SHIFT)); ccio_unmap_single()
/linux-4.4.14/arch/parisc/include/asm/
H A Dropes.h188 #define IOVP_SHIFT PAGE_SHIFT macro

Completed in 123 milliseconds