Home
last modified time | relevance | path

Searched refs:slen (Results 1 – 4 of 4) sorted by relevance

/arch/powerpc/kernel/
Diommu.c447 unsigned long vaddr, npages, entry, slen; in ppc_iommu_map_sg() local
449 slen = s->length; in ppc_iommu_map_sg()
451 if (slen == 0) { in ppc_iommu_map_sg()
457 npages = iommu_num_pages(vaddr, slen, IOMMU_PAGE_SIZE(tbl)); in ppc_iommu_map_sg()
459 if (tbl->it_page_shift < PAGE_SHIFT && slen >= PAGE_SIZE && in ppc_iommu_map_sg()
465 DBG(" - vaddr: %lx, size: %lx\n", vaddr, slen); in ppc_iommu_map_sg()
515 outs->dma_length = slen; in ppc_iommu_map_sg()
519 dma_next = dma_addr + slen; in ppc_iommu_map_sg()
/arch/sparc/kernel/
Diommu.c479 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()
Dpci_sun4v.c523 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()
/arch/s390/include/asm/
Dcpacf.h432 [seed] "a" (r4), [slen] "d" (r5), [opc] "i" (CPACF_PRNO) in cpacf_prno()
526 : [dst] "+a" (r6), [src] "+a" (r2), [slen] "+d" (r3), in cpacf_kma()