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

/linux-4.4.14/drivers/parisc/
H A Diommu-helpers.h79 vaddr += IOVP_SIZE; iommu_fill_pdir()
80 size -= IOVP_SIZE; iommu_fill_pdir()
148 if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) > iommu_coalesce_chunks()
171 dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE); iommu_coalesce_chunks()
H A Dccio-dma.c278 #define IOVP_SIZE PAGE_SIZE macro
350 BUG_ON((pages_needed * IOVP_SIZE) > DMA_CHUNK_SIZE); ccio_alloc_range()
438 BUG_ON((pages_mapped * IOVP_SIZE) > DMA_CHUNK_SIZE); ccio_free_range()
670 saved_byte_cnt = byte_cnt = ALIGN(byte_cnt, IOVP_SIZE); ccio_mark_invalid()
689 iovp += IOVP_SIZE; ccio_mark_invalid()
690 byte_cnt -= IOVP_SIZE; ccio_mark_invalid()
750 /* round up to nearest IOVP_SIZE */ ccio_map_single()
751 size = ALIGN(size + offset, IOVP_SIZE); ccio_map_single()
779 addr += IOVP_SIZE; ccio_map_single()
780 size -= IOVP_SIZE; ccio_map_single()
814 size = ALIGN(size, IOVP_SIZE); ccio_unmap_single()
1289 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); ccio_ioc_init()
H A Dsba_iommu.c627 if (byte_cnt > IOVP_SIZE) sba_mark_invalid()
649 byte_cnt -= IOVP_SIZE; sba_mark_invalid()
650 } while (byte_cnt > IOVP_SIZE); sba_mark_invalid()
700 (ioc->pdir_size / sizeof(u64) * IOVP_SIZE) ))); sba_dma_supported()
729 /* round up to nearest IOVP_SIZE */ sba_map_single()
764 addr += IOVP_SIZE; sba_map_single()
765 size -= IOVP_SIZE; sba_map_single()
809 size = ALIGN(size, IOVP_SIZE); sba_unmap_single()
1045 ioc->usg_pages += ((sg_dma_address(sglist) & ~IOVP_MASK) + sg_dma_len(sglist) + IOVP_SIZE - 1) >> PAGE_SHIFT; sba_unmap_sg()
1280 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); sba_ioc_init_pluto()
1414 ioc->pdir_size = pdir_size = (iova_space_size/IOVP_SIZE) * sizeof(u64); sba_ioc_init()
/linux-4.4.14/arch/parisc/include/asm/
H A Dropes.h185 ** PAGE_SIZE could be greater than IOVP_SIZE. But not the inverse.
187 #define IOVP_SIZE PAGE_SIZE macro

Completed in 285 milliseconds