Lines Matching refs:busa
183 unsigned int busa, busa0; in iommu_get_one() local
193 busa = busa0; in iommu_get_one()
197 iommu_invalidate_page(iommu->regs, busa); in iommu_get_one()
198 busa += PAGE_SIZE; in iommu_get_one()
213 u32 busa; in iommu_get_scsi_one() local
218 busa = iommu_get_one(dev, page, npages); in iommu_get_scsi_one()
219 return busa + off; in iommu_get_scsi_one()
284 static void iommu_release_one(struct device *dev, u32 busa, int npages) in iommu_release_one() argument
290 BUG_ON(busa < iommu->start); in iommu_release_one()
291 ioptex = (busa - iommu->start) >> PAGE_SHIFT; in iommu_release_one()
294 iommu_invalidate_page(iommu->regs, busa); in iommu_release_one()
295 busa += PAGE_SIZE; in iommu_release_one()
392 static void iommu_unmap_dma_area(struct device *dev, unsigned long busa, int len) in iommu_unmap_dma_area() argument
397 int ioptex = (busa - iommu->start) >> PAGE_SHIFT; in iommu_unmap_dma_area()
399 BUG_ON((busa & ~PAGE_MASK) != 0); in iommu_unmap_dma_area()
403 end = busa + len; in iommu_unmap_dma_area()
404 while (busa < end) { in iommu_unmap_dma_area()
406 busa += PAGE_SIZE; in iommu_unmap_dma_area()