Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/kernel/
Diommu.c301 npages = iommu_num_pages(vaddr, slen, IOMMU_PAGE_SIZE); in iommu_map_sg()
395 npages = iommu_num_pages(s->dma_address, s->dma_length, in iommu_map_sg()
430 npages = iommu_num_pages(dma_handle, sg->dma_length, in iommu_unmap_sg()
570 npages = iommu_num_pages(uaddr, size, IOMMU_PAGE_SIZE); in iommu_map_page()
603 npages = iommu_num_pages(dma_handle, size, IOMMU_PAGE_SIZE); in iommu_unmap_page()
/linux-2.6.39/include/linux/
Diommu-helper.h25 static inline unsigned long iommu_num_pages(unsigned long addr, in iommu_num_pages() function
/linux-2.6.39/arch/sparc/kernel/
Diommu_common.h45 int nr = iommu_num_pages(paddr, outs->dma_length + sg->length, in is_span_boundary()
Diommu.c580 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4u_map_sg()
652 npages = iommu_num_pages(s->dma_address, s->dma_length, in dma_4u_map_sg()
722 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4u_unmap_sg()
Dpci_sun4v.c391 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4v_map_sg()
468 npages = iommu_num_pages(s->dma_address, s->dma_length, in dma_4v_map_sg()
509 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4v_unmap_sg()
/linux-2.6.39/arch/x86/kernel/
Dpci-gart_64.c217 unsigned long npages = iommu_num_pages(phys_mem, size, PAGE_SIZE); in dma_map_area()
278 npages = iommu_num_pages(dma_addr, size, PAGE_SIZE); in gart_unmap_page()
360 pages = iommu_num_pages(s->offset, s->length, PAGE_SIZE); in __dma_map_cont()
445 pages += iommu_num_pages(s->offset, s->length, PAGE_SIZE); in gart_map_sg()
Dpci-calgary_64.c359 npages = iommu_num_pages(dma, dmalen, PAGE_SIZE); in calgary_unmap_sg()
379 npages = iommu_num_pages(vaddr, s->length, PAGE_SIZE); in calgary_map_sg()
417 npages = iommu_num_pages(uaddr, size, PAGE_SIZE); in calgary_map_page()
429 npages = iommu_num_pages(dma_addr, size, PAGE_SIZE); in calgary_unmap_page()
Damd_iommu.c579 unsigned long pages = iommu_num_pages(address, size, PAGE_SIZE); in __iommu_flush_pages()
1095 int pages = iommu_num_pages(iommu->exclusion_start, in alloc_new_range()
1881 pages = iommu_num_pages(paddr, size, PAGE_SIZE); in __map_single()
1965 pages = iommu_num_pages(dma_addr, size, PAGE_SIZE); in __unmap_single()
/linux-2.6.39/arch/alpha/kernel/
Dpci_iommu.c299 npages = iommu_num_pages(paddr, size, PAGE_SIZE); in pci_map_single_1()
412 npages = iommu_num_pages(dma_addr, size, PAGE_SIZE); in alpha_pci_unmap_page()
594 npages = iommu_num_pages(paddr, size, PAGE_SIZE); in sg_fill()
630 npages = iommu_num_pages(paddr, size, PAGE_SIZE); in sg_fill()
787 npages = iommu_num_pages(addr, size, PAGE_SIZE); in alpha_pci_unmap_sg()