Home
last modified time | relevance | path

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

12

/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.c403 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 Dvideobuf2-vmalloc.c288 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, 0)) { in vb2_vmalloc_dmabuf_ops_map()
/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()
655 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in tegra_gem_prime_map_dma_buf()
H A Dsubmit.c94 err = dma_map_sgtable(dev, map->sgt, direction, 0); in gather_bo_pin()
/linux/drivers/gpu/drm/armada/
H A Darmada_gem.c419 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 Dxe_hmm.c103 ret = dma_map_sgtable(dev, st, write ? DMA_BIDIRECTIONAL : DMA_TO_DEVICE, in xe_build_sg()
H A Dxe_dma_buf.c118 if (dma_map_sgtable(attach->dev, sgt, dir, in xe_dma_buf_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/include/linux/
H A Ddma-mapping.h110 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 Di915_gem_dmabuf.c56 ret = dma_map_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
H A Di915_gem_ttm.c220 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 Damdgpu_dma_buf.c147 if (dma_map_sgtable(attach->dev, sgt, dir, in amdgpu_dma_buf_map()
/linux/drivers/gpu/drm/tests/
H A Ddrm_gem_shmem_test.c100 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 Dcma_heap.c104 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in cma_heap_map_dma_buf()
/linux/kernel/dma/
H A Dmapping.c289 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 Drockchip_drm_gem.c468 int err = dma_map_sgtable(drm->dev, sg, DMA_BIDIRECTIONAL, 0); in rockchip_gem_dma_map_sg()
/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/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/dma-buf/
H A Dudmabuf.c172 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table()
/linux/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c720 ret = dma_map_sgtable(obj->dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in drm_gem_shmem_get_pages_sgt_locked()
H A Ddrm_prime.c668 ret = dma_map_sgtable(attach->dev, sgt, dir, in drm_gem_map_dma_buf()
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c526 ret = dma_map_sgtable(pfdev->dev, sgt, DMA_BIDIRECTIONAL, 0); in panfrost_mmu_map_fault_addr()
/linux/drivers/xen/
H A Dgntdev-dmabuf.c285 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.c581 ret = dma_map_sgtable(&pdev->dev, sgt, DMA_TO_DEVICE, 0); in ipu6_buttress_map_fw_image()

12