| /Linux-v5.15/drivers/media/common/videobuf2/ |
| D | videobuf2-dma-sg.c | 150 if (dma_map_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dma_sg_alloc() 256 if (dma_map_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dma_sg_get_userptr() 440 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, 0)) { in vb2_dma_sg_dmabuf_ops_map()
|
| D | videobuf2-dma-contig.c | 311 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, in vb2_dc_dmabuf_ops_map() 541 if (dma_map_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dc_get_userptr()
|
| D | videobuf2-vmalloc.c | 292 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, 0)) { in vb2_vmalloc_dmabuf_ops_map()
|
| /Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/ |
| D | mock_dmabuf.c | 31 err = dma_map_sgtable(attachment->dev, st, dir, 0); in mock_map_dma_buf()
|
| /Linux-v5.15/drivers/gpu/drm/armada/ |
| D | armada_gem.c | 418 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in armada_gem_prime_map_dma_buf() 427 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in armada_gem_prime_map_dma_buf()
|
| /Linux-v5.15/include/linux/ |
| D | dma-mapping.h | 113 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, 180 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function
|
| /Linux-v5.15/drivers/gpu/drm/virtio/ |
| D | virtgpu_object.c | 177 ret = dma_map_sgtable(vgdev->vdev->dev.parent, in virtio_gpu_object_shmem_init()
|
| /Linux-v5.15/drivers/gpu/drm/tegra/ |
| D | gem.c | 304 err = dma_map_sgtable(drm->dev, bo->sgt, DMA_FROM_DEVICE, 0); in tegra_bo_get_pages() 582 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in tegra_gem_prime_map_dma_buf()
|
| D | uapi.c | 217 err = dma_map_sgtable(mapping->dev, mapping->sgt, mapping->direction, in tegra_drm_ioctl_channel_map()
|
| D | plane.c | 170 err = dma_map_sgtable(dc->dev, sgt, DMA_TO_DEVICE, 0); in tegra_dc_pin()
|
| /Linux-v5.15/drivers/gpu/host1x/ |
| D | job.c | 204 err = dma_map_sgtable(dev, sgt, dir, 0); in pin_job() 287 err = dma_map_sgtable(host->dev, sgt, DMA_TO_DEVICE, 0); in pin_job()
|
| /Linux-v5.15/drivers/gpu/drm/i915/gem/ |
| D | i915_gem_dmabuf.c | 49 ret = dma_map_sgtable(attachment->dev, st, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
|
| /Linux-v5.15/drivers/dma-buf/heaps/ |
| D | cma_heap.c | 104 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in cma_heap_map_dma_buf()
|
| D | system_heap.c | 135 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in system_heap_map_dma_buf()
|
| /Linux-v5.15/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_dma_buf.c | 191 if (dma_map_sgtable(attach->dev, sgt, dir, in amdgpu_dma_buf_map()
|
| /Linux-v5.15/kernel/dma/ |
| D | mapping.c | 259 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function 270 EXPORT_SYMBOL_GPL(dma_map_sgtable);
|
| /Linux-v5.15/drivers/dma-buf/ |
| D | udmabuf.c | 72 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table()
|
| /Linux-v5.15/drivers/gpu/drm/lima/ |
| D | lima_gem.c | 82 ret = dma_map_sgtable(dev, &sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc()
|
| /Linux-v5.15/drivers/gpu/drm/rockchip/ |
| D | rockchip_drm_gem.c | 490 int err = dma_map_sgtable(drm->dev, sg, DMA_BIDIRECTIONAL, 0); in rockchip_gem_dma_map_sg()
|
| /Linux-v5.15/drivers/crypto/ |
| D | sa2ul.c | 1165 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, dir_src, 0); in sa_run() 1176 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, dir_src, 0); in sa_run() 1213 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, in sa_run() 1223 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, in sa_run()
|
| /Linux-v5.15/drivers/gpu/drm/ |
| D | drm_gem_shmem_helper.c | 707 ret = dma_map_sgtable(obj->dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in drm_gem_shmem_get_pages_sgt()
|
| D | drm_prime.c | 630 ret = dma_map_sgtable(attach->dev, sgt, dir, in drm_gem_map_dma_buf()
|
| /Linux-v5.15/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_ttm_buffer.c | 304 return dma_map_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_map_for_dma()
|
| /Linux-v5.15/drivers/gpu/drm/etnaviv/ |
| D | etnaviv_gem.c | 30 dma_map_sgtable(dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in etnaviv_gem_scatter_map()
|
| /Linux-v5.15/drivers/xen/ |
| D | gntdev-dmabuf.c | 290 if (dma_map_sgtable(attach->dev, sgt, dir, in dmabuf_exp_ops_map_dma_buf()
|