Searched refs:iommu_num_pages (Results 1 – 9 of 9) sorted by relevance
/linux-2.6.39/arch/powerpc/kernel/ |
D | iommu.c | 301 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/ |
D | iommu-helper.h | 25 static inline unsigned long iommu_num_pages(unsigned long addr, in iommu_num_pages() function
|
/linux-2.6.39/arch/sparc/kernel/ |
D | iommu_common.h | 45 int nr = iommu_num_pages(paddr, outs->dma_length + sg->length, in is_span_boundary()
|
D | iommu.c | 580 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()
|
D | pci_sun4v.c | 391 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/ |
D | pci-gart_64.c | 217 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()
|
D | pci-calgary_64.c | 359 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()
|
D | amd_iommu.c | 579 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/ |
D | pci_iommu.c | 299 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()
|