Searched refs:vmw_tt (Results 1 – 1 of 1) sorted by relevance
345 static void vmw_ttm_unmap_from_dma(struct vmw_ttm_tt *vmw_tt) in vmw_ttm_unmap_from_dma() argument347 struct device *dev = vmw_tt->dev_priv->dev->dev; in vmw_ttm_unmap_from_dma()349 dma_unmap_sg(dev, vmw_tt->sgt.sgl, vmw_tt->sgt.nents, in vmw_ttm_unmap_from_dma()351 vmw_tt->sgt.nents = vmw_tt->sgt.orig_nents; in vmw_ttm_unmap_from_dma()367 static int vmw_ttm_map_for_dma(struct vmw_ttm_tt *vmw_tt) in vmw_ttm_map_for_dma() argument369 struct device *dev = vmw_tt->dev_priv->dev->dev; in vmw_ttm_map_for_dma()372 ret = dma_map_sg(dev, vmw_tt->sgt.sgl, vmw_tt->sgt.orig_nents, in vmw_ttm_map_for_dma()377 vmw_tt->sgt.nents = ret; in vmw_ttm_map_for_dma()392 static int vmw_ttm_map_dma(struct vmw_ttm_tt *vmw_tt) in vmw_ttm_map_dma() argument394 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_map_dma()[all …]