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 ppc_iommu_map_sg() local 462 slen = s->length; in ppc_iommu_map_sg() 464 if (slen == 0) { in ppc_iommu_map_sg() 470 npages = iommu_num_pages(vaddr, slen, IOMMU_PAGE_SIZE(tbl)); in ppc_iommu_map_sg() 472 if (tbl->it_page_shift < PAGE_SHIFT && slen >= PAGE_SIZE && in ppc_iommu_map_sg() 478 DBG(" - vaddr: %lx, size: %lx\n", vaddr, slen); in ppc_iommu_map_sg() 527 outs->dma_length = slen; in ppc_iommu_map_sg() 531 dma_next = dma_addr + slen; in ppc_iommu_map_sg()
|
/arch/sparc/kernel/ |
D | iommu.c | 479 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4u_map_sg() local 482 slen = s->length; in dma_4u_map_sg() 484 if (slen == 0) { in dma_4u_map_sg() 490 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4u_map_sg() 538 outs->dma_length = slen; in dma_4u_map_sg() 543 dma_next = dma_addr + slen; in dma_4u_map_sg()
|
D | pci_sun4v.c | 364 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4v_map_sg() local 366 slen = s->length; in dma_4v_map_sg() 368 if (slen == 0) { in dma_4v_map_sg() 374 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4v_map_sg() 422 outs->dma_length = slen; in dma_4v_map_sg() 427 dma_next = dma_addr + slen; in dma_4v_map_sg()
|