Lines Matching refs:iova
273 #define CCIO_IOVP(iova) ((iova) & IOVP_MASK)
414 * @iova: The I/O Virtual Address.
418 * This function frees the resouces allocated for the iova.
421 ccio_free_range(struct ioc *ioc, dma_addr_t iova, unsigned long pages_mapped)
423 unsigned long iovp = CCIO_IOVP(iova);
634 * @iova: The I/O Virtual Address.
650 ccio_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt)
652 u32 iovp = (u32)CCIO_IOVP(iova);
677 ccio_clear_io_tlb(ioc, CCIO_IOVP(iova), saved_byte_cnt);
788 * @iova: The start address of the DMA region.
794 ccio_unmap_page(struct device *dev, dma_addr_t iova, size_t size,
799 dma_addr_t offset = iova & ~IOVP_MASK;
809 __func__, (long)iova, size);
811 iova ^= offset; /* clear offset bits */
822 ccio_mark_invalid(ioc, iova, size);
823 ccio_free_range(ioc, iova, (size >> IOVP_SHIFT));
1256 ** iova space must be log2() in size.