Lines Matching refs:PAGE_SIZE
39 #define IOMMU_NPTES (IOMMU_WINSIZE/PAGE_SIZE) /* 64K PTEs, 256KB */
71 iommu->regs = of_ioremap(&op->resource[0], 0, PAGE_SIZE * 3, in sbus_iommu_init()
162 start += PAGE_SIZE; in iommu_flush_iotlb()
167 start += PAGE_SIZE; in iommu_flush_iotlb()
172 start += PAGE_SIZE; in iommu_flush_iotlb()
197 busa += PAGE_SIZE; in iommu_get_one()
215 npages = (off + len + PAGE_SIZE-1) >> PAGE_SHIFT; in iommu_get_scsi_one()
233 page += PAGE_SIZE; in iommu_get_scsi_one_pflush()
245 n = (sg->length + sg->offset + PAGE_SIZE-1) >> PAGE_SHIFT; in iommu_get_scsi_sgl_gflush()
260 n = (sg->length + sg->offset + PAGE_SIZE-1) >> PAGE_SHIFT; in iommu_get_scsi_sgl_pflush()
273 page += PAGE_SIZE; in iommu_get_scsi_sgl_pflush()
294 busa += PAGE_SIZE; in iommu_release_one()
305 npages = (off + len + PAGE_SIZE-1) >> PAGE_SHIFT; in iommu_release_scsi_one()
316 n = (sg->length + sg->offset + PAGE_SIZE-1) >> PAGE_SHIFT; in iommu_release_scsi_sgl()
368 addr += PAGE_SIZE; in iommu_map_dma_area()
369 va += PAGE_SIZE; in iommu_map_dma_area()
405 busa += PAGE_SIZE; in iommu_unmap_dma_area()