Lines Matching refs:sgt
151 __sg_page_iter_start(&viter->iter.base, vsgt->sgt->sgl, in vmw_piter_start()
152 vsgt->sgt->orig_nents, p_offset); in vmw_piter_start()
171 dma_unmap_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_unmap_from_dma()
172 vmw_tt->sgt.nents = vmw_tt->sgt.orig_nents; in vmw_ttm_unmap_from_dma()
192 return dma_map_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_map_for_dma()
218 vsgt->sgt = NULL; in vmw_ttm_map_dma()
224 vsgt->sgt = vmw_tt->dma_ttm.sg; in vmw_ttm_map_dma()
226 vsgt->sgt = &vmw_tt->sgt; in vmw_ttm_map_dma()
227 ret = sg_alloc_table_from_pages_segment(&vmw_tt->sgt, in vmw_ttm_map_dma()
250 sg_free_table(vsgt->sgt); in vmw_ttm_map_dma()
251 vsgt->sgt = NULL; in vmw_ttm_map_dma()
269 if (!vmw_tt->vsgt.sgt) in vmw_ttm_unmap_dma()
276 sg_free_table(vmw_tt->vsgt.sgt); in vmw_ttm_unmap_dma()
277 vmw_tt->vsgt.sgt = NULL; in vmw_ttm_unmap_dma()