Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/parisc/
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()
Dccio-dma.c278 #define IOVP_SIZE PAGE_SIZE macro
350 BUG_ON((pages_needed * IOVP_SIZE) > DMA_CHUNK_SIZE); in ccio_alloc_range()
437 BUG_ON((pages_mapped * IOVP_SIZE) > DMA_CHUNK_SIZE); in ccio_free_range()
666 saved_byte_cnt = byte_cnt = ALIGN(byte_cnt, IOVP_SIZE); in ccio_mark_invalid()
682 iovp += IOVP_SIZE; in ccio_mark_invalid()
683 byte_cnt -= IOVP_SIZE; in ccio_mark_invalid()
746 size = ALIGN(size + offset, IOVP_SIZE); in ccio_map_single()
774 addr += IOVP_SIZE; in ccio_map_single()
775 size -= IOVP_SIZE; in ccio_map_single()
822 size = ALIGN(size, IOVP_SIZE); in ccio_unmap_page()
[all …]
Dsba_iommu.c624 if (byte_cnt > IOVP_SIZE) in sba_mark_invalid()
646 byte_cnt -= IOVP_SIZE; in sba_mark_invalid()
647 } while (byte_cnt > IOVP_SIZE); in sba_mark_invalid()
690 (ioc->pdir_size / sizeof(u64) * IOVP_SIZE) ))); in sba_dma_supported()
756 addr += IOVP_SIZE; in sba_map_single()
757 size -= IOVP_SIZE; in sba_map_single()
814 size = ALIGN(size, IOVP_SIZE); in sba_unmap_page()
1055 …ioc->usg_pages += ((sg_dma_address(sglist) & ~IOVP_MASK) + sg_dma_len(sglist) + IOVP_SIZE - 1) >> … in sba_unmap_sg()
1288 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); in sba_ioc_init_pluto()
1422 ioc->pdir_size = pdir_size = (iova_space_size/IOVP_SIZE) * sizeof(u64); in sba_ioc_init()
/Linux-v5.10/arch/parisc/include/asm/
Dropes.h188 #define IOVP_SIZE PAGE_SIZE macro