Home
last modified time | relevance | path

Searched refs:dma_map_sgtable (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Dmock_dmabuf.c31 err = dma_map_sgtable(attachment->dev, st, dir, 0); in mock_map_dma_buf()
/openbmc/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-sg.c150 if (dma_map_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dma_sg_alloc()
265 if (dma_map_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dma_sg_get_userptr()
443 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, 0)) { in vb2_dma_sg_dmabuf_ops_map()
H A Dvideobuf2-dma-contig.c403 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, in vb2_dc_dmabuf_ops_map()
643 if (dma_map_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dc_get_userptr()
H A Dvideobuf2-vmalloc.c286 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, 0)) { in vb2_vmalloc_dmabuf_ops_map()
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dgem.c132 err = dma_map_sgtable(dev, map->sgt, direction, 0); in tegra_bo_pin()
349 err = dma_map_sgtable(drm->dev, bo->sgt, DMA_FROM_DEVICE, 0); in tegra_bo_get_pages()
636 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in tegra_gem_prime_map_dma_buf()
H A Dsubmit.c94 err = dma_map_sgtable(dev, map->sgt, direction, 0); in gather_bo_pin()
/openbmc/linux/drivers/gpu/drm/armada/
H A Darmada_gem.c419 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in armada_gem_prime_map_dma_buf()
428 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in armada_gem_prime_map_dma_buf()
/openbmc/linux/include/linux/
H A Ddma-mapping.h114 int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
182 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c56 ret = dma_map_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
H A Di915_gem_ttm.c227 err = dma_map_sgtable(i915_tt->dev, st, DMA_BIDIRECTIONAL, in i915_ttm_tt_shmem_populate()
545 ret = dma_map_sgtable(i915_tt->dev, st, DMA_BIDIRECTIONAL, 0); in i915_ttm_tt_get_st()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c177 if (dma_map_sgtable(attach->dev, sgt, dir, in amdgpu_dma_buf_map()
/openbmc/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c104 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in cma_heap_map_dma_buf()
H A Dsystem_heap.c135 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in system_heap_map_dma_buf()
/openbmc/linux/kernel/dma/
H A Dmapping.c270 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function
281 EXPORT_SYMBOL_GPL(dma_map_sgtable);
/openbmc/linux/drivers/dma-buf/
H A Dudmabuf.c101 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table()
/openbmc/linux/drivers/gpu/drm/lima/
H A Dlima_gem.c83 ret = dma_map_sgtable(dev, &sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc()
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dvde.c93 err = dma_map_sgtable(dev, &bo->sgt, bo->dma_dir, bo->dma_attrs); in tegra_vde_alloc_bo()
/openbmc/linux/drivers/vfio/pci/pds/
H A Dcmds.c217 err = dma_map_sgtable(dev, &lm_file->sg_table, dir, 0); in pds_vfio_dma_map_lm_file()
H A Ddirty.c373 err = dma_map_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.c468 int err = dma_map_sgtable(drm->dev, sg, DMA_BIDIRECTIONAL, 0); in rockchip_gem_dma_map_sg()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ttm_buffer.c192 return dma_map_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_map_for_dma()
/openbmc/linux/drivers/crypto/
H A Dsa2ul.c1166 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, dir_src, 0); in sa_run()
1177 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, dir_src, 0); in sa_run()
1214 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, in sa_run()
1224 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, in sa_run()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c695 ret = dma_map_sgtable(obj->dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in drm_gem_shmem_get_pages_sgt_locked()
H A Ddrm_prime.c644 ret = dma_map_sgtable(attach->dev, sgt, dir, in drm_gem_map_dma_buf()
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem.c30 dma_map_sgtable(dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in etnaviv_gem_scatter_map()

12