Home
last modified time | relevance | path

Searched refs:nio_pages (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Diommu.c917 unsigned int nio_pages, io_order; in iommu_alloc_coherent() local
946 nio_pages = IOMMU_PAGE_ALIGN(size, tbl) >> tbl->it_page_shift; in iommu_alloc_coherent()
949 mapping = iommu_alloc(dev, tbl, ret, nio_pages, DMA_BIDIRECTIONAL, in iommu_alloc_coherent()
964 unsigned int nio_pages; in iommu_free_coherent() local
967 nio_pages = IOMMU_PAGE_ALIGN(size, tbl) >> tbl->it_page_shift; in iommu_free_coherent()
968 iommu_free(tbl, dma_handle, nio_pages); in iommu_free_coherent()