Searched refs:iommu_num_pages (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/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 | 489 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4u_map_sg() 561 npages = iommu_num_pages(s->dma_address, s->dma_length, in dma_4u_map_sg() 633 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4u_unmap_sg()
|
D | pci_sun4v.c | 533 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4v_map_sg() 608 npages = iommu_num_pages(s->dma_address, s->dma_length, in dma_4v_map_sg() 654 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4v_unmap_sg()
|
/linux-6.1.9/include/linux/ |
D | iommu-helper.h | 35 static inline unsigned long iommu_num_pages(unsigned long addr, in iommu_num_pages() function
|
/linux-6.1.9/arch/alpha/kernel/ |
D | pci_iommu.c | 279 npages = iommu_num_pages(paddr, size, PAGE_SIZE); in pci_map_single_1() 390 npages = iommu_num_pages(dma_addr, size, PAGE_SIZE); in alpha_pci_unmap_page() 574 npages = iommu_num_pages(paddr, size, PAGE_SIZE); in sg_fill() 610 npages = iommu_num_pages(paddr, size, PAGE_SIZE); in sg_fill() 769 npages = iommu_num_pages(addr, size, PAGE_SIZE); in alpha_pci_unmap_sg()
|
/linux-6.1.9/arch/x86/kernel/ |
D | amd_gart_64.c | 200 unsigned long npages = iommu_num_pages(phys_mem, size, PAGE_SIZE); in dma_map_area() 266 npages = iommu_num_pages(dma_addr, size, PAGE_SIZE); in gart_unmap_page() 348 pages = iommu_num_pages(s->offset, s->length, PAGE_SIZE); in __dma_map_cont() 431 pages += iommu_num_pages(s->offset, s->length, PAGE_SIZE); in gart_map_sg()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | iommu.c | 499 npages = iommu_num_pages(vaddr, slen, IOMMU_PAGE_SIZE(tbl)); in ppc_iommu_map_sg() 591 npages = iommu_num_pages(s->dma_address, s->dma_length, in ppc_iommu_map_sg() 621 npages = iommu_num_pages(dma_handle, sg->dma_length, in ppc_iommu_unmap_sg() 858 npages = iommu_num_pages(uaddr, size, IOMMU_PAGE_SIZE(tbl)); in iommu_map_page() 890 npages = iommu_num_pages(dma_handle, size, in iommu_unmap_page()
|
/linux-6.1.9/arch/s390/pci/ |
D | pci_dma.c | 348 nr_pages = iommu_num_pages(pa, size, PAGE_SIZE); in s390_dma_map_pages() 383 npages = iommu_num_pages(dma_addr, size, PAGE_SIZE); in s390_dma_unmap_pages()
|
/linux-6.1.9/drivers/iommu/amd/ |
D | iommu.c | 957 pages = iommu_num_pages(address, size, PAGE_SIZE); in build_inv_address()
|