Searched refs:iommu_num_pages (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/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 | 534 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4v_map_sg() 609 npages = iommu_num_pages(s->dma_address, s->dma_length, in dma_4v_map_sg() 655 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4v_unmap_sg()
|
/Linux-v6.6/include/linux/ |
D | iommu-helper.h | 35 static inline unsigned long iommu_num_pages(unsigned long addr, in iommu_num_pages() function
|
/Linux-v6.6/arch/alpha/kernel/ |
D | pci_iommu.c | 281 npages = iommu_num_pages(paddr, size, PAGE_SIZE); in pci_map_single_1() 392 npages = iommu_num_pages(dma_addr, size, PAGE_SIZE); in alpha_pci_unmap_page() 576 npages = iommu_num_pages(paddr, size, PAGE_SIZE); in sg_fill() 612 npages = iommu_num_pages(paddr, size, PAGE_SIZE); in sg_fill() 771 npages = iommu_num_pages(addr, size, PAGE_SIZE); in alpha_pci_unmap_sg()
|
/Linux-v6.6/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-v6.6/arch/powerpc/kernel/ |
D | iommu.c | 509 npages = iommu_num_pages(vaddr, slen, IOMMU_PAGE_SIZE(tbl)); in ppc_iommu_map_sg() 601 npages = iommu_num_pages(s->dma_address, s->dma_length, in ppc_iommu_map_sg() 631 npages = iommu_num_pages(dma_handle, sg->dma_length, in ppc_iommu_unmap_sg() 868 npages = iommu_num_pages(uaddr, size, IOMMU_PAGE_SIZE(tbl)); in iommu_map_page() 900 npages = iommu_num_pages(dma_handle, size, in iommu_unmap_page()
|
/Linux-v6.6/arch/s390/pci/ |
D | pci_dma.c | 368 nr_pages = iommu_num_pages(pa, size, PAGE_SIZE); in s390_dma_map_pages() 403 npages = iommu_num_pages(dma_addr, size, PAGE_SIZE); in s390_dma_unmap_pages()
|
/Linux-v6.6/drivers/iommu/amd/ |
D | iommu.c | 996 pages = iommu_num_pages(address, size, PAGE_SIZE); in build_inv_address()
|