Home
last modified time | relevance | path

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

/openbmc/linux/drivers/parisc/
H A Diommu-helpers.h80 vaddr += 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()
H A Dccio-dma.c267 #define IOVP_SIZE PAGE_SIZE macro
340 BUG_ON((pages_needed * IOVP_SIZE) > DMA_CHUNK_SIZE); in ccio_alloc_range()
427 BUG_ON((pages_mapped * IOVP_SIZE) > DMA_CHUNK_SIZE); in ccio_free_range()
656 saved_byte_cnt = byte_cnt = ALIGN(byte_cnt, IOVP_SIZE); in ccio_mark_invalid()
672 iovp += IOVP_SIZE; in ccio_mark_invalid()
673 byte_cnt -= IOVP_SIZE; in ccio_mark_invalid()
736 size = ALIGN(size + offset, IOVP_SIZE); in ccio_map_single()
764 addr += IOVP_SIZE; in ccio_map_single()
765 size -= IOVP_SIZE; in ccio_map_single()
813 size = ALIGN(size, IOVP_SIZE); in ccio_unmap_page()
[all …]
H A Dsba_iommu.c630 if (byte_cnt > IOVP_SIZE) in sba_mark_invalid()
652 byte_cnt -= IOVP_SIZE; in sba_mark_invalid()
653 } while (byte_cnt > IOVP_SIZE); in sba_mark_invalid()
696 (ioc->pdir_size / sizeof(u64) * IOVP_SIZE) ))); in sba_dma_supported()
762 addr += IOVP_SIZE; in sba_map_single()
763 size -= IOVP_SIZE; in sba_map_single()
821 size = ALIGN(size, IOVP_SIZE); in sba_unmap_page()
1067 …ioc->usg_pages += ((sg_dma_address(sglist) & ~IOVP_MASK) + sg_dma_len(sglist) + IOVP_SIZE - 1) >> … in sba_unmap_sg()
1299 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); in sba_ioc_init_pluto()
1433 ioc->pdir_size = pdir_size = (iova_space_size/IOVP_SIZE) * sizeof(u64); in sba_ioc_init()
/openbmc/linux/arch/parisc/include/asm/
H A Dropes.h191 #define IOVP_SIZE PAGE_SIZE macro