Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/parisc/
Diommu-helpers.h79 vaddr += IOVP_SIZE; in iommu_fill_pdir()
80 size -= IOVP_SIZE; in iommu_fill_pdir()
148 if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) > in iommu_coalesce_chunks()
171 dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE); in iommu_coalesce_chunks()
Dccio-dma.c278 #define IOVP_SIZE PAGE_SIZE macro
350 BUG_ON((pages_needed * IOVP_SIZE) > DMA_CHUNK_SIZE); in ccio_alloc_range()
438 BUG_ON((pages_mapped * IOVP_SIZE) > DMA_CHUNK_SIZE); in ccio_free_range()
670 saved_byte_cnt = byte_cnt = ALIGN(byte_cnt, IOVP_SIZE); in ccio_mark_invalid()
689 iovp += IOVP_SIZE; in ccio_mark_invalid()
690 byte_cnt -= IOVP_SIZE; in ccio_mark_invalid()
751 size = ALIGN(size + offset, IOVP_SIZE); in ccio_map_single()
779 addr += IOVP_SIZE; in ccio_map_single()
780 size -= IOVP_SIZE; in ccio_map_single()
814 size = ALIGN(size, IOVP_SIZE); in ccio_unmap_single()
[all …]
Dsba_iommu.c627 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()
700 (ioc->pdir_size / sizeof(u64) * IOVP_SIZE) ))); in sba_dma_supported()
764 addr += IOVP_SIZE; in sba_map_single()
765 size -= IOVP_SIZE; in sba_map_single()
809 size = ALIGN(size, IOVP_SIZE); in sba_unmap_single()
1045 …ioc->usg_pages += ((sg_dma_address(sglist) & ~IOVP_MASK) + sg_dma_len(sglist) + IOVP_SIZE - 1) >> … in sba_unmap_sg()
1280 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); in sba_ioc_init_pluto()
1414 ioc->pdir_size = pdir_size = (iova_space_size/IOVP_SIZE) * sizeof(u64); in sba_ioc_init()
/linux-4.4.14/arch/parisc/include/asm/
Dropes.h187 #define IOVP_SIZE PAGE_SIZE macro