/linux-6.12.1/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() 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()
|
D | videobuf2-dma-contig.c | 403 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, in vb2_dc_dmabuf_ops_map() 644 if (dma_map_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dc_get_userptr()
|
D | videobuf2-vmalloc.c | 288 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, 0)) { in vb2_vmalloc_dmabuf_ops_map()
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/ |
D | mock_dmabuf.c | 32 err = dma_map_sgtable(attachment->dev, st, dir, 0); in mock_map_dma_buf()
|
/linux-6.12.1/drivers/gpu/drm/tegra/ |
D | gem.c | 132 err = dma_map_sgtable(dev, map->sgt, direction, 0); in tegra_bo_pin() 359 err = dma_map_sgtable(drm->dev, bo->sgt, DMA_FROM_DEVICE, 0); in tegra_bo_get_pages() 646 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in tegra_gem_prime_map_dma_buf()
|
/linux-6.12.1/drivers/gpu/drm/armada/ |
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()
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_hmm.c | 103 ret = dma_map_sgtable(dev, st, write ? DMA_BIDIRECTIONAL : DMA_TO_DEVICE, in xe_build_sg()
|
D | xe_dma_buf.c | 118 if (dma_map_sgtable(attach->dev, sgt, dir, in xe_dma_buf_map()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/core/ |
D | firmware.c | 285 ret = dma_map_sgtable(fw->device->dev, &fw->mem.sgt, in nvkm_firmware_ctor()
|
/linux-6.12.1/include/linux/ |
D | dma-mapping.h | 114 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, 174 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/ |
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()
|
D | i915_gem_ttm.c | 220 err = dma_map_sgtable(i915_tt->dev, st, DMA_BIDIRECTIONAL, in i915_ttm_tt_shmem_populate() 538 ret = dma_map_sgtable(i915_tt->dev, st, DMA_BIDIRECTIONAL, 0); in i915_ttm_tt_get_st()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_dma_buf.c | 147 if (dma_map_sgtable(attach->dev, sgt, dir, in amdgpu_dma_buf_map()
|
/linux-6.12.1/drivers/gpu/drm/tests/ |
D | drm_gem_shmem_test.c | 100 ret = dma_map_sgtable(drm_dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in drm_gem_shmem_test_obj_create_private()
|
/linux-6.12.1/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-6.12.1/drivers/crypto/tegra/ |
D | tegra-se-main.c | 70 err = dma_map_sgtable(dev, map->sgt, direction, 0); in tegra_se_cmdbuf_pin()
|
/linux-6.12.1/kernel/dma/ |
D | mapping.c | 288 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function 299 EXPORT_SYMBOL_GPL(dma_map_sgtable);
|
/linux-6.12.1/drivers/gpu/drm/lima/ |
D | lima_gem.c | 83 ret = dma_map_sgtable(dev, &sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc()
|
/linux-6.12.1/drivers/media/platform/nvidia/tegra-vde/ |
D | vde.c | 93 err = dma_map_sgtable(dev, &bo->sgt, bo->dma_dir, bo->dma_attrs); in tegra_vde_alloc_bo()
|
/linux-6.12.1/drivers/vfio/pci/pds/ |
D | cmds.c | 217 err = dma_map_sgtable(dev, &lm_file->sg_table, dir, 0); in pds_vfio_dma_map_lm_file()
|
/linux-6.12.1/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.c | 468 int err = dma_map_sgtable(drm->dev, sg, DMA_BIDIRECTIONAL, 0); in rockchip_gem_dma_map_sg()
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_buffer.c | 160 return dma_map_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_map_for_dma()
|
/linux-6.12.1/drivers/crypto/ |
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()
|
/linux-6.12.1/drivers/dma-buf/ |
D | udmabuf.c | 129 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table()
|