Searched refs:IOVP_SIZE (Results 1 – 3 of 3) sorted by relevance
80 paddr += IOVP_SIZE; in iommu_fill_pdir()81 size -= IOVP_SIZE; in iommu_fill_pdir()149 if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) > in iommu_coalesce_chunks()172 dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE); in iommu_coalesce_chunks()
627 if (byte_cnt > IOVP_SIZE) in sba_mark_invalid()649 byte_cnt -= IOVP_SIZE; in sba_mark_invalid()650 } while (byte_cnt > IOVP_SIZE); in sba_mark_invalid()693 (ioc->pdir_size / sizeof(u64) * IOVP_SIZE) ))); in sba_dma_supported()759 addr += IOVP_SIZE; in sba_map_single()760 size -= IOVP_SIZE; in sba_map_single()819 size = ALIGN(size, IOVP_SIZE); in sba_unmap_phys()1065 …ioc->usg_pages += ((sg_dma_address(sglist) & ~IOVP_MASK) + sg_dma_len(sglist) + IOVP_SIZE - 1) >> … in sba_unmap_sg()1297 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); in sba_ioc_init_pluto()1431 ioc->pdir_size = pdir_size = (iova_space_size/IOVP_SIZE) * sizeof(u64); in sba_ioc_init()
191 #define IOVP_SIZE PAGE_SIZE macro