Searched refs:iommu_btopr (Results 1 – 2 of 2) sorted by relevance
441 npages = iommu_btopr(mp->dmai_size + offset); in iommu_create_vaddr_mappings()592 npages = iommu_btopr(mp->dmai_size + offset); in iommu_create_pp_mappings()893 npages = iommu_btopr(OBJSIZE + offset); in iommu_dma_bindhdl()908 npages = iommu_btopr(OBJSIZE + offset); in iommu_dma_bindhdl()935 npages = iommu_btopr(size + offset); in iommu_dma_bindhdl()943 npages = MIN_DVMA_WIN_SIZE + iommu_btopr(offset); in iommu_dma_bindhdl()1090 size = iommu_ptob(mp->dmai_ndvmapages - iommu_btopr(offset)); in iommu_dma_bindhdl()1201 winsize = iommu_ptob(mp->dmai_ndvmapages - iommu_btopr(offset)); in iommu_dma_win()1521 iommu_fast_dvma->pagecnt[index] = iommu_btopr(len + offset); in iommu_dvma_kaddr_load()1524 npages = iommu_btopr(len + offset); in iommu_dvma_kaddr_load()
118 #define iommu_btopr(x) \ macro