Home
last modified time | relevance | path

Searched refs:dma_unmap_sgtable (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-sg.c188 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 Dvideobuf2-dma-contig.c374 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 Dvideobuf2-vmalloc.c262 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 Dmock_dmabuf.c48 dma_unmap_sgtable(attachment->dev, st, dir, 0); in mock_unmap_dma_buf()
/openbmc/linux/drivers/gpu/drm/lima/
H A Dlima_gem.c73 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 Dvde.c116 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 Dcmds.c255 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 Ddirty.c396 dma_unmap_sgtable(pdsc_dev, &sg_table, dma_dir, 0); in pds_vfio_dirty_seq_ack()
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c339 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 Dgem.c168 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 Dsubmit.c117 dma_unmap_sgtable(map->dev, map->sgt, map->direction, 0); in gather_bo_unpin()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c150 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 Ddrm_prime.c671 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 Dpanfrost_gem.c44 dma_unmap_sgtable(pfdev->dev, &bo->sgts[i], in panfrost_gem_free_object()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c215 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in amdgpu_dma_buf_unmap()
/openbmc/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c118 dma_unmap_sgtable(attachment->dev, table, direction, 0); in cma_heap_unmap_dma_buf()
H A Dsystem_heap.c150 dma_unmap_sgtable(attachment->dev, table, direction, 0); in system_heap_unmap_dma_buf()
/openbmc/linux/drivers/dma-buf/
H A Dudmabuf.c115 dma_unmap_sgtable(dev, sg, direction, 0); in put_sg_table()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ttm_buffer.c171 dma_unmap_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_unmap_from_dma()
/openbmc/linux/drivers/gpu/drm/armada/
H A Darmada_gem.c460 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in armada_gem_prime_unmap_dma_buf()
/openbmc/linux/include/linux/
H A Ddma-mapping.h371 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 Detnaviv_gem.c54 dma_unmap_sgtable(dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in etnaviv_gem_scatterlist_unmap()
/openbmc/linux/drivers/xen/
H A Dgntdev-dmabuf.c245 dma_unmap_sgtable(attach->dev, sgt, in dmabuf_exp_ops_detach()
/openbmc/linux/drivers/accel/ivpu/
H A Divpu_gem.c128 dma_unmap_sgtable(vdev->drm.dev, bo->sgt, DMA_BIDIRECTIONAL, 0); in ivpu_bo_unmap_pages_locked()
/openbmc/linux/drivers/accel/qaic/
H A Dqaic_control.c330 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()

12