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

/linux-master/drivers/parisc/
H A Diommu-helpers.h80 vaddr += IOVP_SIZE;
81 size -= IOVP_SIZE;
149 if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) >
172 dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE);
H A Dccio-dma.c267 #define IOVP_SIZE PAGE_SIZE macro
340 BUG_ON((pages_needed * IOVP_SIZE) > DMA_CHUNK_SIZE);
427 BUG_ON((pages_mapped * IOVP_SIZE) > DMA_CHUNK_SIZE);
656 saved_byte_cnt = byte_cnt = ALIGN(byte_cnt, IOVP_SIZE);
672 iovp += IOVP_SIZE;
673 byte_cnt -= IOVP_SIZE;
735 /* round up to nearest IOVP_SIZE */
736 size = ALIGN(size + offset, IOVP_SIZE);
764 addr += IOVP_SIZE;
765 size -= IOVP_SIZE;
[all...]
H A Dsba_iommu.c630 if (byte_cnt > IOVP_SIZE)
652 byte_cnt -= IOVP_SIZE;
653 } while (byte_cnt > IOVP_SIZE);
696 (ioc->pdir_size / sizeof(u64) * IOVP_SIZE) )));
727 /* round up to nearest IOVP_SIZE */
762 addr += IOVP_SIZE;
763 size -= IOVP_SIZE;
821 size = ALIGN(size, IOVP_SIZE);
1067 ioc->usg_pages += ((sg_dma_address(sglist) & ~IOVP_MASK) + sg_dma_len(sglist) + IOVP_SIZE - 1) >> PAGE_SHIFT;
1299 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeo
[all...]
/linux-master/arch/parisc/include/asm/
H A Dropes.h189 ** PAGE_SIZE could be greater than IOVP_SIZE. But not the inverse.
191 #define IOVP_SIZE PAGE_SIZE macro

Completed in 129 milliseconds