Searched refs:iommu_btop (Results 1 – 2 of 2) sorted by relevance
117 #define iommu_btop(x) (((ioaddr_t)(x)) >> IOMMU_PAGESHIFT) macro
177 softsp->dma_reserve = iommu_btop(softsp->iommu_dvma_size >> 1); in iommu_init()346 (int)(iommu_btop((vaddr & ~IOMMU_PAGEMASK) - \955 if (npages >= iommu_btop(softsp->iommu_dvma_size) - in iommu_dma_bindhdl()