| /linux/rust/helpers/ |
| H A D | dma.c | 39 return dma_map_sgtable(dev, sgt, dir, attrs); in rust_helper_dma_map_sgtable()
|
| /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 | 404 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, in vb2_dc_dmabuf_ops_map() 645 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/i915/gem/selftests/ |
| H A D | mock_dmabuf.c | 32 err = dma_map_sgtable(attachment->dev, st, dir, 0); in mock_map_dma_buf()
|
| /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() 656 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in tegra_gem_prime_map_dma_buf()
|
| /linux/drivers/gpu/drm/armada/ |
| H A D | armada_gem.c | 420 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in armada_gem_prime_map_dma_buf() 429 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in armada_gem_prime_map_dma_buf()
|
| /linux/drivers/accel/ivpu/ |
| H A D | ivpu_gem_userptr.c | 29 ret = dma_map_sgtable(attachment->dev, sgt, direction, DMA_ATTR_SKIP_CPU_SYNC); in ivpu_gem_userptr_dmabuf_map()
|
| /linux/drivers/accel/amdxdna/ |
| H A D | amdxdna_ubuf.c | 41 ret = dma_map_sgtable(attach->dev, sg, direction, 0); in amdxdna_ubuf_map()
|
| /linux/rust/kernel/ |
| H A D | scatterlist.rs | 213 bindings::dma_map_sgtable(dev.as_raw(), sgt.as_ptr(), dir.into(), 0) in new()
|
| /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/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_dmabuf.c | 55 ret = dma_map_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
|
| /linux/include/linux/ |
| H A D | dma-mapping.h | 165 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, 234 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_dma_buf.c | 131 if (dma_map_sgtable(attach->dev, sgt, dir, in xe_dma_buf_map()
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-main.c | 70 err = dma_map_sgtable(dev, map->sgt, direction, 0); in tegra_se_cmdbuf_pin()
|
| /linux/drivers/dma-buf/heaps/ |
| H A D | cma_heap.c | 124 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in cma_heap_map_dma_buf()
|
| H A D | system_heap.c | 124 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in system_heap_map_dma_buf()
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_gem_shmem_test.c | 105 ret = dma_map_sgtable(drm_dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in drm_gem_shmem_test_obj_create_private()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_dma_buf.c | 216 if (dma_map_sgtable(attach->dev, sgt, dir, in amdgpu_dma_buf_map()
|
| /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()
|
| /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/kernel/dma/ |
| H A D | mapping.c | 324 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function 335 EXPORT_SYMBOL_GPL(dma_map_sgtable);
|
| /linux/drivers/fpga/ |
| H A D | zynq-fpga.c | 408 err = dma_map_sgtable(mgr->dev.parent, sgt, DMA_TO_DEVICE, 0); in zynq_fpga_ops_write()
|
| /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/tee/ |
| H A D | tee_heap.c | 129 ret = dma_map_sgtable(attachment->dev, &a->table, direction, in tee_heap_map_dma_buf()
|