Searched refs:nio_pages (Results 1 – 1 of 1) sorted by relevance
/linux/arch/powerpc/kernel/ |
H A D | iommu.c | 918 unsigned int nio_pages, io_order; in iommu_alloc_coherent() local 947 nio_pages = IOMMU_PAGE_ALIGN(size, tbl) >> tbl->it_page_shift; in iommu_alloc_coherent() 950 mapping = iommu_alloc(dev, tbl, ret, nio_pages, DMA_BIDIRECTIONAL, in iommu_alloc_coherent() 965 unsigned int nio_pages; in iommu_free_coherent() local 968 nio_pages = IOMMU_PAGE_ALIGN(size, tbl) >> tbl->it_page_shift; in iommu_free_coherent() 969 iommu_free(tbl, dma_handle, nio_pages); in iommu_free_coherent()
|