Lines Matching refs:sgl
851 swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, in swiotlb_map_sg_attrs() argument
859 for_each_sg(sgl, sg, nelems, i) { in swiotlb_map_sg_attrs()
871 swiotlb_unmap_sg_attrs(hwdev, sgl, i, dir, in swiotlb_map_sg_attrs()
873 sgl[0].dma_length = 0; in swiotlb_map_sg_attrs()
886 swiotlb_map_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, in swiotlb_map_sg() argument
889 return swiotlb_map_sg_attrs(hwdev, sgl, nelems, dir, NULL); in swiotlb_map_sg()
898 swiotlb_unmap_sg_attrs(struct device *hwdev, struct scatterlist *sgl, in swiotlb_unmap_sg_attrs() argument
906 for_each_sg(sgl, sg, nelems, i) in swiotlb_unmap_sg_attrs()
913 swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, in swiotlb_unmap_sg() argument
916 return swiotlb_unmap_sg_attrs(hwdev, sgl, nelems, dir, NULL); in swiotlb_unmap_sg()
928 swiotlb_sync_sg(struct device *hwdev, struct scatterlist *sgl, in swiotlb_sync_sg() argument
935 for_each_sg(sgl, sg, nelems, i) in swiotlb_sync_sg()