Home
last modified time | relevance | path

Searched refs:dma_map_sgtable (Results 1 – 25 of 62) sorted by relevance

123

/linux/rust/helpers/
H A Ddma.c39 return dma_map_sgtable(dev, sgt, dir, attrs); in rust_helper_dma_map_sgtable()
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-sg.c150 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 Dvideobuf2-dma-contig.c404 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 Dvideobuf2-vmalloc.c288 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 Dmock_dmabuf.c32 err = dma_map_sgtable(attachment->dev, st, dir, 0); in mock_map_dma_buf()
/linux/drivers/gpu/drm/tegra/
H A Dgem.c132 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 Darmada_gem.c420 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 Divpu_gem_userptr.c29 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 Damdxdna_ubuf.c41 ret = dma_map_sgtable(attach->dev, sg, direction, 0); in amdxdna_ubuf_map()
/linux/rust/kernel/
H A Dscatterlist.rs213 bindings::dma_map_sgtable(dev.as_raw(), sgt.as_ptr(), dir.into(), 0) in new()
/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dfirmware.c285 ret = dma_map_sgtable(fw->device->dev, &fw->mem.sgt, in nvkm_firmware_ctor()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c55 ret = dma_map_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
/linux/include/linux/
H A Ddma-mapping.h165 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 Dxe_dma_buf.c131 if (dma_map_sgtable(attach->dev, sgt, dir, in xe_dma_buf_map()
/linux/drivers/crypto/tegra/
H A Dtegra-se-main.c70 err = dma_map_sgtable(dev, map->sgt, direction, 0); in tegra_se_cmdbuf_pin()
/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c124 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in cma_heap_map_dma_buf()
H A Dsystem_heap.c124 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in system_heap_map_dma_buf()
/linux/drivers/gpu/drm/tests/
H A Ddrm_gem_shmem_test.c105 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 Damdgpu_dma_buf.c216 if (dma_map_sgtable(attach->dev, sgt, dir, in amdgpu_dma_buf_map()
/linux/drivers/gpu/drm/lima/
H A Dlima_gem.c83 ret = dma_map_sgtable(dev, &sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ttm_buffer.c160 return dma_map_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_map_for_dma()
/linux/kernel/dma/
H A Dmapping.c324 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 Dzynq-fpga.c408 err = dma_map_sgtable(mgr->dev.parent, sgt, DMA_TO_DEVICE, 0); in zynq_fpga_ops_write()
/linux/drivers/vfio/pci/pds/
H A Dcmds.c217 err = dma_map_sgtable(dev, &lm_file->sg_table, dir, 0); in pds_vfio_dma_map_lm_file()
/linux/drivers/tee/
H A Dtee_heap.c129 ret = dma_map_sgtable(attachment->dev, &a->table, direction, in tee_heap_map_dma_buf()

123