Home
last modified time | relevance | path

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

12

/linux/rust/helpers/
H A Ddma.c39 return dma_map_sgtable(dev, sgt, dir, attrs); in rust_helper_dma_map_sgtable()
/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/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/gpu/drm/nouveau/nvkm/core/
H A Dfirmware.c285 ret = dma_map_sgtable(fw->device->dev, &fw->mem.sgt, in nvkm_firmware_ctor()
/linux/rust/kernel/
H A Dscatterlist.rs213 bindings::dma_map_sgtable(dev.as_raw(), sgt.as_ptr(), dir.into(), 0) in new()
/linux/drivers/media/common/videobuf2/
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/
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()
H A Di915_gem_ttm.c223 err = dma_map_sgtable(i915_tt->dev, st, DMA_BIDIRECTIONAL, in i915_ttm_tt_shmem_populate()
545 ret = dma_map_sgtable(i915_tt->dev, st, DMA_BIDIRECTIONAL, 0); in i915_ttm_tt_get_st()
/linux/include/linux/
H A Ddma-mapping.h183 int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
252 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.c127 if (dma_map_sgtable(attach->dev, sgt, dir, in xe_dma_buf_map()
/linux/drivers/crypto/tegra/
H A Dtegra-se-main.c69 err = dma_map_sgtable(dev, map->sgt, direction, 0); in tegra_se_cmdbuf_pin()
/linux/drivers/gpu/drm/tests/
H A Ddrm_gem_shmem_test.c101 ret = dma_map_sgtable(drm_dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in drm_gem_shmem_test_obj_create_private()
/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/drivers/gpu/drm/lima/
H A Dlima_gem.c83 ret = dma_map_sgtable(dev, &sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc()
/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()
H A Ddirty.c420 err = dma_map_sgtable(pdsc_dev, &sg_table, dma_dir, 0); in pds_vfio_dirty_seq_ack()
/linux/drivers/tee/
H A Dtee_heap.c129 ret = dma_map_sgtable(attachment->dev, &a->table, direction, in tee_heap_map_dma_buf()
/linux/kernel/dma/
H A Dmapping.c331 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function
342 EXPORT_SYMBOL_GPL(dma_map_sgtable);
/linux/sound/soc/fsl/
H A Dfsl_asrc_m2m.c430 if (dma_map_sgtable(attachment->dev, sgt, direction, 0)) in fsl_asrc_m2m_map_dma_buf()
/linux/drivers/xen/
H A Dgntdev-dmabuf.c284 if (dma_map_sgtable(attach->dev, sgt, dir, in dmabuf_exp_ops_map_dma_buf()
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-buttress.c579 ret = dma_map_sgtable(&pdev->dev, sgt, DMA_TO_DEVICE, 0); in ipu6_buttress_map_fw_image()
/linux/sound/core/
H A Dmemalloc.c760 if (dma_map_sgtable(dmab->dev.dev, &sgbuf->sgt, DMA_BIDIRECTIONAL, 0)) in snd_dma_sg_fallback_alloc()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c367 r = dma_map_sgtable(rdev->dev, ttm->sg, direction, 0); in radeon_ttm_tt_pin_userptr()

12