Searched refs:slen (Results 1 – 3 of 3) sorted by relevance
/arch/powerpc/kernel/ |
D | iommu.c | 499 unsigned long vaddr, npages, entry, slen; in ppc_iommu_map_sg() local 501 slen = s->length; in ppc_iommu_map_sg() 503 if (slen == 0) { in ppc_iommu_map_sg() 509 npages = iommu_num_pages(vaddr, slen, IOMMU_PAGE_SIZE(tbl)); in ppc_iommu_map_sg() 511 if (tbl->it_page_shift < PAGE_SHIFT && slen >= PAGE_SIZE && in ppc_iommu_map_sg() 517 DBG(" - vaddr: %lx, size: %lx\n", vaddr, slen); in ppc_iommu_map_sg() 567 outs->dma_length = slen; in ppc_iommu_map_sg() 571 dma_next = dma_addr + slen; in ppc_iommu_map_sg()
|
/arch/sparc/kernel/ |
D | iommu.c | 478 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4u_map_sg() local 481 slen = s->length; in dma_4u_map_sg() 483 if (slen == 0) { in dma_4u_map_sg() 489 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4u_map_sg() 537 outs->dma_length = slen; in dma_4u_map_sg() 542 dma_next = dma_addr + slen; in dma_4u_map_sg()
|
D | pci_sun4v.c | 523 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4v_map_sg() local 525 slen = s->length; in dma_4v_map_sg() 527 if (slen == 0) { in dma_4v_map_sg() 533 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4v_map_sg() 580 outs->dma_length = slen; in dma_4v_map_sg() 585 dma_next = dma_addr + slen; in dma_4v_map_sg()
|