/openbmc/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-dma-sg.c | 188 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dma_sg_put() 292 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dma_sg_put_userptr() 419 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, 0); in vb2_dma_sg_dmabuf_ops_detach() 438 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, 0); in vb2_dma_sg_dmabuf_ops_map()
|
H A D | videobuf2-dma-contig.c | 374 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, in vb2_dc_dmabuf_ops_detach() 394 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, in vb2_dc_dmabuf_ops_map() 543 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dc_put_userptr() 668 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_get_userptr()
|
H A D | videobuf2-vmalloc.c | 262 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, 0); in vb2_vmalloc_dmabuf_ops_detach() 281 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, 0); in vb2_vmalloc_dmabuf_ops_map()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | mock_dmabuf.c | 48 dma_unmap_sgtable(attachment->dev, st, dir, 0); in mock_unmap_dma_buf()
|
/openbmc/linux/drivers/gpu/drm/lima/ |
H A D | lima_gem.c | 73 dma_unmap_sgtable(dev, bo->base.sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc() 99 dma_unmap_sgtable(dev, &sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc()
|
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A D | vde.c | 116 dma_unmap_sgtable(dev, &bo->sgt, bo->dma_dir, bo->dma_attrs); in tegra_vde_alloc_bo() 136 dma_unmap_sgtable(dev, &bo->sgt, bo->dma_dir, bo->dma_attrs); in tegra_vde_free_bo()
|
/openbmc/linux/drivers/vfio/pci/pds/ |
H A D | cmds.c | 255 dma_unmap_sgtable(dev, &lm_file->sg_table, dir, 0); in pds_vfio_dma_map_lm_file() 278 dma_unmap_sgtable(dev, &lm_file->sg_table, dir, 0); in pds_vfio_dma_unmap_lm_file()
|
H A D | dirty.c | 396 dma_unmap_sgtable(pdsc_dev, &sg_table, dma_dir, 0); in pds_vfio_dirty_seq_ack()
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_gem.c | 339 dma_unmap_sgtable(drm->dev, rk_obj->sgt, in rockchip_gem_free_object() 474 dma_unmap_sgtable(drm->dev, sg, DMA_BIDIRECTIONAL, 0); in rockchip_gem_dma_map_sg()
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | gem.c | 168 dma_unmap_sgtable(map->dev, map->sgt, map->direction, 0); in tegra_bo_unpin() 324 dma_unmap_sgtable(drm->dev, bo->sgt, DMA_FROM_DEVICE, 0); in tegra_bo_free() 655 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in tegra_gem_prime_unmap_dma_buf()
|
H A D | submit.c | 117 dma_unmap_sgtable(map->dev, map->sgt, map->direction, 0); in gather_bo_unpin()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_gem_shmem_helper.c | 150 dma_unmap_sgtable(obj->dev->dev, shmem->sgt, in drm_gem_shmem_free() 449 dma_unmap_sgtable(dev->dev, shmem->sgt, DMA_BIDIRECTIONAL, 0); in drm_gem_shmem_purge()
|
H A D | drm_prime.c | 671 dma_unmap_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in drm_gem_unmap_dma_buf()
|
/openbmc/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_gem.c | 44 dma_unmap_sgtable(pfdev->dev, &bo->sgts[i], in panfrost_gem_free_object()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_dma_buf.c | 215 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in amdgpu_dma_buf_unmap()
|
/openbmc/linux/drivers/dma-buf/heaps/ |
H A D | cma_heap.c | 118 dma_unmap_sgtable(attachment->dev, table, direction, 0); in cma_heap_unmap_dma_buf()
|
H A D | system_heap.c | 150 dma_unmap_sgtable(attachment->dev, table, direction, 0); in system_heap_unmap_dma_buf()
|
/openbmc/linux/drivers/dma-buf/ |
H A D | udmabuf.c | 115 dma_unmap_sgtable(dev, sg, direction, 0); in put_sg_table()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ttm_buffer.c | 171 dma_unmap_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_unmap_from_dma()
|
/openbmc/linux/drivers/gpu/drm/armada/ |
H A D | armada_gem.c | 460 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in armada_gem_prime_unmap_dma_buf()
|
/openbmc/linux/include/linux/ |
H A D | dma-mapping.h | 371 static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt, in dma_unmap_sgtable() function
|
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gem.c | 54 dma_unmap_sgtable(dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in etnaviv_gem_scatterlist_unmap()
|
/openbmc/linux/drivers/xen/ |
H A D | gntdev-dmabuf.c | 245 dma_unmap_sgtable(attach->dev, sgt, in dmabuf_exp_ops_detach()
|
/openbmc/linux/drivers/accel/ivpu/ |
H A D | ivpu_gem.c | 128 dma_unmap_sgtable(vdev->drm.dev, bo->sgt, DMA_BIDIRECTIONAL, 0); in ivpu_bo_unmap_pages_locked()
|
/openbmc/linux/drivers/accel/qaic/ |
H A D | qaic_control.c | 330 dma_unmap_sgtable(&qdev->pdev->dev, xfer->sgt, DMA_TO_DEVICE, 0); in free_dma_xfers() 552 dma_unmap_sgtable(&qdev->pdev->dev, xfer->sgt, DMA_TO_DEVICE, 0); in cleanup_xfer()
|