Home
last modified time | relevance | path

Searched refs:dma_unmap_sgtable (Results 1 – 25 of 56) sorted by relevance

123

/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-sg.c188 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dma_sg_put()
292 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dma_sg_put_userptr()
419 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, 0); in vb2_dma_sg_dmabuf_ops_detach()
438 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, 0); in vb2_dma_sg_dmabuf_ops_map()
H A Dvideobuf2-dma-contig.c375 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, in vb2_dc_dmabuf_ops_detach()
395 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, in vb2_dc_dmabuf_ops_map()
544 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dc_put_userptr()
670 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in vb2_dc_get_userptr()
H A Dvideobuf2-vmalloc.c264 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, 0); in vb2_vmalloc_dmabuf_ops_detach()
283 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, 0); in vb2_vmalloc_dmabuf_ops_map()
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Dmock_dmabuf.c49 dma_unmap_sgtable(attachment->dev, st, dir, 0); in mock_unmap_dma_buf()
/linux/drivers/gpu/drm/lima/
H A Dlima_gem.c73 dma_unmap_sgtable(dev, bo->base.sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc()
99 dma_unmap_sgtable(dev, &sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc()
/linux/drivers/gpu/drm/tegra/
H A Dgem.c168 dma_unmap_sgtable(map->dev, map->sgt, map->direction, 0); in tegra_bo_unpin()
334 dma_unmap_sgtable(drm->dev, bo->sgt, DMA_FROM_DEVICE, 0); in tegra_bo_free()
675 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in tegra_gem_prime_unmap_dma_buf()
/linux/drivers/vfio/pci/pds/
H A Dcmds.c255 dma_unmap_sgtable(dev, &lm_file->sg_table, dir, 0); in pds_vfio_dma_map_lm_file()
278 dma_unmap_sgtable(dev, &lm_file->sg_table, dir, 0); in pds_vfio_dma_unmap_lm_file()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c341 dma_unmap_sgtable(drm->dev, rk_obj->sgt, in rockchip_gem_free_object()
475 dma_unmap_sgtable(drm->dev, sg, DMA_BIDIRECTIONAL, 0); in rockchip_gem_dma_map_sg()
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dvde.c116 dma_unmap_sgtable(dev, &bo->sgt, bo->dma_dir, bo->dma_attrs); in tegra_vde_alloc_bo()
136 dma_unmap_sgtable(dev, &bo->sgt, bo->dma_dir, bo->dma_attrs); in tegra_vde_free_bo()
/linux/drivers/accel/ivpu/
H A Divpu_gem_userptr.c40 dma_unmap_sgtable(attachment->dev, sgt, direction, DMA_ATTR_SKIP_CPU_SYNC); in ivpu_gem_userptr_dmabuf_unmap()
/linux/drivers/accel/amdxdna/
H A Damdxdna_ubuf.c62 dma_unmap_sgtable(attach->dev, sg, direction, 0); in amdxdna_ubuf_unmap()
/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dfirmware.c213 dma_unmap_sgtable(fw->device->dev, &fw->mem.sgt, DMA_TO_DEVICE, 0); in nvkm_firmware_dtor()
/linux/rust/kernel/
H A Dscatterlist.rs237 bindings::dma_unmap_sgtable(self.dev.as_raw(), self.sgt.as_ptr(), self.dir.into(), 0) in drop()
/linux/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c180 dma_unmap_sgtable(obj->dev->dev, shmem->sgt, in drm_gem_shmem_release()
500 dma_unmap_sgtable(dev->dev, shmem->sgt, DMA_BIDIRECTIONAL, 0); in drm_gem_shmem_purge_locked()
/linux/drivers/gpu/drm/xe/
H A Dxe_dma_buf.c162 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in xe_dma_buf_unmap()
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-buttress.c587 dma_unmap_sgtable(&pdev->dev, sgt, DMA_TO_DEVICE, 0); in ipu6_buttress_map_fw_image()
607 dma_unmap_sgtable(&pdev->dev, sgt, DMA_TO_DEVICE, 0); in ipu6_buttress_unmap_fw_image()
/linux/sound/core/
H A Dmemalloc.c773 dma_unmap_sgtable(dmab->dev.dev, &sgbuf->sgt, DMA_BIDIRECTIONAL, 0); in snd_dma_sg_fallback_alloc()
786 dma_unmap_sgtable(dmab->dev.dev, &sgbuf->sgt, DMA_BIDIRECTIONAL, 0); in snd_dma_sg_fallback_free()
/linux/drivers/crypto/tegra/
H A Dtegra-se-main.c93 dma_unmap_sgtable(map->dev, map->sgt, map->direction, 0); in tegra_se_cmdbuf_unpin()
/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c138 dma_unmap_sgtable(attachment->dev, table, direction, 0); in cma_heap_unmap_dma_buf()
H A Dsystem_heap.c139 dma_unmap_sgtable(attachment->dev, table, direction, 0); in system_heap_unmap_dma_buf()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c276 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in amdgpu_dma_buf_unmap()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ttm_buffer.c139 dma_unmap_sgtable(dev, &vmw_tt->sgt, DMA_BIDIRECTIONAL, 0); in vmw_ttm_unmap_from_dma()
/linux/drivers/tee/
H A Dtee_heap.c145 dma_unmap_sgtable(attachment->dev, table, direction, in tee_heap_unmap_dma_buf()
/linux/drivers/dma-buf/
H A Dudmabuf.c180 dma_unmap_sgtable(dev, sg, direction, 0); in put_sg_table()
/linux/drivers/gpu/drm/armada/
H A Darmada_gem.c461 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in armada_gem_prime_unmap_dma_buf()

123