Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/media/common/videobuf2/
Dvideobuf2-dma-sg.c150 if (dma_map_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dma_sg_alloc()
256 if (dma_map_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dma_sg_get_userptr()
440 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, 0)) { in vb2_dma_sg_dmabuf_ops_map()
Dvideobuf2-dma-contig.c311 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, in vb2_dc_dmabuf_ops_map()
541 if (dma_map_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dc_get_userptr()
Dvideobuf2-vmalloc.c292 if (dma_map_sgtable(db_attach->dev, sgt, dma_dir, 0)) { in vb2_vmalloc_dmabuf_ops_map()
/Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/
Dmock_dmabuf.c31 err = dma_map_sgtable(attachment->dev, st, dir, 0); in mock_map_dma_buf()
/Linux-v5.15/drivers/gpu/drm/armada/
Darmada_gem.c418 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in armada_gem_prime_map_dma_buf()
427 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in armada_gem_prime_map_dma_buf()
/Linux-v5.15/include/linux/
Ddma-mapping.h113 int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
180 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function
/Linux-v5.15/drivers/gpu/drm/virtio/
Dvirtgpu_object.c177 ret = dma_map_sgtable(vgdev->vdev->dev.parent, in virtio_gpu_object_shmem_init()
/Linux-v5.15/drivers/gpu/drm/tegra/
Dgem.c304 err = dma_map_sgtable(drm->dev, bo->sgt, DMA_FROM_DEVICE, 0); in tegra_bo_get_pages()
582 if (dma_map_sgtable(attach->dev, sgt, dir, 0)) in tegra_gem_prime_map_dma_buf()
Duapi.c217 err = dma_map_sgtable(mapping->dev, mapping->sgt, mapping->direction, in tegra_drm_ioctl_channel_map()
Dplane.c170 err = dma_map_sgtable(dc->dev, sgt, DMA_TO_DEVICE, 0); in tegra_dc_pin()
/Linux-v5.15/drivers/gpu/host1x/
Djob.c204 err = dma_map_sgtable(dev, sgt, dir, 0); in pin_job()
287 err = dma_map_sgtable(host->dev, sgt, DMA_TO_DEVICE, 0); in pin_job()
/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_dmabuf.c49 ret = dma_map_sgtable(attachment->dev, st, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
/Linux-v5.15/drivers/dma-buf/heaps/
Dcma_heap.c104 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in cma_heap_map_dma_buf()
Dsystem_heap.c135 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in system_heap_map_dma_buf()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dma_buf.c191 if (dma_map_sgtable(attach->dev, sgt, dir, in amdgpu_dma_buf_map()
/Linux-v5.15/kernel/dma/
Dmapping.c259 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() function
270 EXPORT_SYMBOL_GPL(dma_map_sgtable);
/Linux-v5.15/drivers/dma-buf/
Dudmabuf.c72 ret = dma_map_sgtable(dev, sg, direction, 0); in get_sg_table()
/Linux-v5.15/drivers/gpu/drm/lima/
Dlima_gem.c82 ret = dma_map_sgtable(dev, &sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc()
/Linux-v5.15/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c490 int err = dma_map_sgtable(drm->dev, sg, DMA_BIDIRECTIONAL, 0); in rockchip_gem_dma_map_sg()
/Linux-v5.15/drivers/crypto/
Dsa2ul.c1165 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, dir_src, 0); in sa_run()
1176 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, dir_src, 0); in sa_run()
1213 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, in sa_run()
1223 ret = dma_map_sgtable(ddev, &mapped_sg->sgt, in sa_run()
/Linux-v5.15/drivers/gpu/drm/
Ddrm_gem_shmem_helper.c707 ret = dma_map_sgtable(obj->dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in drm_gem_shmem_get_pages_sgt()
Ddrm_prime.c630 ret = dma_map_sgtable(attach->dev, sgt, dir, in drm_gem_map_dma_buf()
/Linux-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c304 return dma_map_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_map_for_dma()
/Linux-v5.15/drivers/gpu/drm/etnaviv/
Detnaviv_gem.c30 dma_map_sgtable(dev->dev, sgt, DMA_BIDIRECTIONAL, 0); in etnaviv_gem_scatter_map()
/Linux-v5.15/drivers/xen/
Dgntdev-dmabuf.c290 if (dma_map_sgtable(attach->dev, sgt, dir, in dmabuf_exp_ops_map_dma_buf()

12