/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | mock_dmabuf.c | 31 err = dma_map_sgtable(attachment->dev, st, dir, 0); in mock_map_dma_buf()
|
/openbmc/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-dma-sg.c | 150 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 D | videobuf2-dma-contig.c | 403 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 D | videobuf2-vmalloc.c | 286 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 D | gem.c | 132 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 D | submit.c | 94 err = dma_map_sgtable(dev, map->sgt, direction, 0); in gather_bo_pin()
|
/openbmc/linux/drivers/gpu/drm/armada/ |
H A D | armada_gem.c | 419 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 D | dma-mapping.h | 114 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 D | i915_gem_dmabuf.c | 56 ret = dma_map_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
|
H A D | i915_gem_ttm.c | 227 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 D | amdgpu_dma_buf.c | 177 if (dma_map_sgtable(attach->dev, sgt, dir, in amdgpu_dma_buf_map()
|
/openbmc/linux/drivers/dma-buf/heaps/ |
H A D | cma_heap.c | 104 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in cma_heap_map_dma_buf()
|
H A D | system_heap.c | 135 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in system_heap_map_dma_buf()
|
/openbmc/linux/kernel/dma/ |
H A D | mapping.c | 270 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 D | udmabuf.c | 101 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table()
|
/openbmc/linux/drivers/gpu/drm/lima/ |
H A D | lima_gem.c | 83 ret = dma_map_sgtable(dev, &sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc()
|
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A D | vde.c | 93 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 D | cmds.c | 217 err = dma_map_sgtable(dev, &lm_file->sg_table, dir, 0); in pds_vfio_dma_map_lm_file()
|
H A D | dirty.c | 373 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 D | rockchip_drm_gem.c | 468 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 D | vmwgfx_ttm_buffer.c | 192 return dma_map_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_map_for_dma()
|
/openbmc/linux/drivers/crypto/ |
H A D | sa2ul.c | 1166 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 D | drm_gem_shmem_helper.c | 695 ret = dma_map_sgtable(obj->dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in drm_gem_shmem_get_pages_sgt_locked()
|
H A D | drm_prime.c | 644 ret = dma_map_sgtable(attach->dev, sgt, dir, in drm_gem_map_dma_buf()
|
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gem.c | 30 dma_map_sgtable(dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in etnaviv_gem_scatter_map()
|