Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.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; in ccio_alloc_range()
360 boundary_size = dma_get_seg_boundary_nr_pages(dev, IOVP_SHIFT); in ccio_alloc_range()
751 ioc->msingle_pages += size >> IOVP_SHIFT; in ccio_map_single()
828 ioc->usingle_pages += size >> IOVP_SHIFT; in ccio_unmap_page()
832 ccio_free_range(ioc, iova, (size >> IOVP_SHIFT)); in ccio_unmap_page()
Dsba_iommu.c314 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT)
346 boundary_size = dma_get_seg_boundary_nr_pages(dev, IOVP_SHIFT); in sba_search_bitmap()
350 shift = ioc->ibase >> IOVP_SHIFT; in sba_search_bitmap()
436 unsigned int pages_needed = size >> IOVP_SHIFT; in sba_alloc_range()
495 int bits_not_wanted = size >> IOVP_SHIFT; in sba_free_range()
649 iovp |= IOVP_SHIFT; /* set "size" field for PCOM */ in sba_mark_invalid()
731 ioc->msingle_pages += size >> IOVP_SHIFT; in sba_map_single()
734 iovp = (dma_addr_t) pide << IOVP_SHIFT; in sba_map_single()
820 ioc->usingle_pages += size >> IOVP_SHIFT; in sba_unmap_page()
1287 iov_order = get_order(iova_space_size >> (IOVP_SHIFT - PAGE_SHIFT)); in sba_ioc_init_pluto()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dropes.h189 #define IOVP_SHIFT PAGE_SHIFT macro