Lines Matching refs:sglist
901 * @sglist: The scatter/gather list to be mapped in the IOMMU.
908 ccio_map_sg(struct device *dev, struct scatterlist *sglist, int nents,
927 sg_dma_address(sglist) = ccio_map_single(dev,
928 sg_virt(sglist), sglist->length,
930 sg_dma_len(sglist) = sglist->length;
935 prev_len += sglist[i].length;
951 coalesced = iommu_coalesce_chunks(ioc, dev, sglist, nents, ccio_alloc_range);
961 filled = iommu_fill_pdir(ioc, sglist, nents, hint, ccio_io_pdir_entry);
970 current_len += sg_dma_len(sglist + i);
980 * @sglist: The scatter/gather list to be unmapped from the IOMMU.
987 ccio_unmap_sg(struct device *dev, struct scatterlist *sglist, int nents,
1000 __func__, nents, sg_virt(sglist), sglist->length);
1006 while (nents && sg_dma_len(sglist)) {
1009 ioc->usg_pages += sg_dma_len(sglist) >> PAGE_SHIFT;
1011 ccio_unmap_page(dev, sg_dma_address(sglist),
1012 sg_dma_len(sglist), direction, 0);
1013 ++sglist;