Searched refs:slen (Results 1 – 3 of 3) sorted by relevance
/arch/powerpc/kernel/ |
D | iommu.c | 460 unsigned long vaddr, npages, entry, slen; in iommu_map_sg() local 462 slen = s->length; in iommu_map_sg() 464 if (slen == 0) { in iommu_map_sg() 470 npages = iommu_num_pages(vaddr, slen, IOMMU_PAGE_SIZE(tbl)); in iommu_map_sg() 472 if (tbl->it_page_shift < PAGE_SHIFT && slen >= PAGE_SIZE && in iommu_map_sg() 478 DBG(" - vaddr: %lx, size: %lx\n", vaddr, slen); in iommu_map_sg() 527 outs->dma_length = slen; in iommu_map_sg() 531 dma_next = dma_addr + slen; in iommu_map_sg()
|
/arch/sparc/kernel/ |
D | iommu.c | 572 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4u_map_sg() local 575 slen = s->length; in dma_4u_map_sg() 577 if (slen == 0) { in dma_4u_map_sg() 583 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4u_map_sg() 630 outs->dma_length = slen; in dma_4u_map_sg() 635 dma_next = dma_addr + slen; in dma_4u_map_sg()
|
D | pci_sun4v.c | 383 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4v_map_sg() local 385 slen = s->length; in dma_4v_map_sg() 387 if (slen == 0) { in dma_4v_map_sg() 393 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4v_map_sg() 441 outs->dma_length = slen; in dma_4v_map_sg() 446 dma_next = dma_addr + slen; in dma_4v_map_sg()
|