Lines Matching refs:sglist
939 sba_map_sg(struct device *dev, struct scatterlist *sglist, int nents, in sba_map_sg() argument
954 sg_dma_address(sglist) = sba_map_single(dev, sg_virt(sglist), in sba_map_sg()
955 sglist->length, direction); in sba_map_sg()
956 sg_dma_len(sglist) = sglist->length; in sba_map_sg()
965 sba_dump_sg(ioc, sglist, nents); in sba_map_sg()
982 coalesced = iommu_coalesce_chunks(ioc, dev, sglist, nents, sba_alloc_range); in sba_map_sg()
992 filled = iommu_fill_pdir(ioc, sglist, nents, 0, sba_io_pdir_entry); in sba_map_sg()
1000 sba_dump_sg(ioc, sglist, nents); in sba_map_sg()
1023 sba_unmap_sg(struct device *dev, struct scatterlist *sglist, int nents, in sba_unmap_sg() argument
1032 __func__, nents, sg_virt(sglist), sglist->length); in sba_unmap_sg()
1050 while (sg_dma_len(sglist) && nents--) { in sba_unmap_sg()
1052 sba_unmap_page(dev, sg_dma_address(sglist), sg_dma_len(sglist), in sba_unmap_sg()
1055 …ioc->usg_pages += ((sg_dma_address(sglist) & ~IOVP_MASK) + sg_dma_len(sglist) + IOVP_SIZE - 1) >> … in sba_unmap_sg()
1058 ++sglist; in sba_unmap_sg()