/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() 644 if (dma_map_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dc_get_userptr()
|
H A D | videobuf2-vmalloc.c | 288 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, 0)) { in vb2_vmalloc_dmabuf_ops_map()
|
/linux/drivers/gpu/drm/tegra/ |
H A 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() 655 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()
|
/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()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_hmm.c | 103 ret = dma_map_sgtable(dev, st, write ? DMA_BIDIRECTIONAL : DMA_TO_DEVICE, in xe_build_sg()
|
H A D | xe_dma_buf.c | 118 if (dma_map_sgtable(attach->dev, sgt, dir, in xe_dma_buf_map()
|
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | firmware.c | 285 ret = dma_map_sgtable(fw->device->dev, &fw->mem.sgt, in nvkm_firmware_ctor()
|
/linux/include/linux/ |
H A D | dma-mapping.h | 110 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, 170 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function
|
/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 | 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/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_dma_buf.c | 147 if (dma_map_sgtable(attach->dev, sgt, dir, in amdgpu_dma_buf_map()
|
/linux/drivers/gpu/drm/tests/ |
H A 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/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()
|
/linux/kernel/dma/ |
H A D | mapping.c | 289 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function 300 EXPORT_SYMBOL_GPL(dma_map_sgtable);
|
/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()
|
/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()
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ttm_buffer.c | 160 return dma_map_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_map_for_dma()
|
/linux/drivers/dma-buf/ |
H A D | udmabuf.c | 172 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table()
|
/linux/drivers/gpu/drm/ |
H A D | drm_gem_shmem_helper.c | 720 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 | 668 ret = dma_map_sgtable(attach->dev, sgt, dir, in drm_gem_map_dma_buf()
|
/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_mmu.c | 526 ret = dma_map_sgtable(pfdev->dev, sgt, DMA_BIDIRECTIONAL, 0); in panfrost_mmu_map_fault_addr()
|
/linux/drivers/xen/ |
H A D | gntdev-dmabuf.c | 285 if (dma_map_sgtable(attach->dev, sgt, dir, in dmabuf_exp_ops_map_dma_buf()
|
/linux/drivers/media/pci/intel/ipu6/ |
H A D | ipu6-buttress.c | 581 ret = dma_map_sgtable(&pdev->dev, sgt, DMA_TO_DEVICE, 0); in ipu6_buttress_map_fw_image()
|