Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/parisc/
Diommu-helpers.h64 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()
Dccio-dma.c281 #define IOVP_SHIFT PAGE_SHIFT macro
288 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT)
289 #define MKIOVP(pdir_idx) ((long)(pdir_idx) << IOVP_SHIFT)
344 unsigned int pages_needed = size >> IOVP_SHIFT; in ccio_alloc_range()
363 1ULL << IOVP_SHIFT) >> IOVP_SHIFT; in ccio_alloc_range()
760 ioc->msingle_pages += size >> IOVP_SHIFT; in ccio_map_single()
837 ioc->usingle_pages += size >> IOVP_SHIFT; in ccio_unmap_page()
841 ccio_free_range(ioc, iova, (size >> IOVP_SHIFT)); in ccio_unmap_page()
Dsba_iommu.c316 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT)
349 1ULL << IOVP_SHIFT) >> IOVP_SHIFT; in sba_search_bitmap()
353 shift = ioc->ibase >> IOVP_SHIFT; in sba_search_bitmap()
439 unsigned int pages_needed = size >> IOVP_SHIFT; in sba_alloc_range()
498 int bits_not_wanted = size >> IOVP_SHIFT; in sba_free_range()
654 iovp |= IOVP_SHIFT; /* set "size" field for PCOM */ in sba_mark_invalid()
745 ioc->msingle_pages += size >> IOVP_SHIFT; in sba_map_single()
748 iovp = (dma_addr_t) pide << IOVP_SHIFT; in sba_map_single()
835 ioc->usingle_pages += size >> IOVP_SHIFT; in sba_unmap_page()
1307 iov_order = get_order(iova_space_size >> (IOVP_SHIFT - PAGE_SHIFT)); in sba_ioc_init_pluto()
/Linux-v4.19/arch/parisc/include/asm/
Dropes.h189 #define IOVP_SHIFT PAGE_SHIFT macro