Home
last modified time | relevance | path

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

12

/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.c374 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, in vb2_dc_dmabuf_ops_detach()
394 dma_unmap_sgtable(db_attach->dev, sgt, attach->dma_dir, in vb2_dc_dmabuf_ops_map()
543 dma_unmap_sgtable(buf->dev, sgt, buf->dma_dir, in vb2_dc_put_userptr()
669 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/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()
674 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in tegra_gem_prime_unmap_dma_buf()
H A Dsubmit.c117 dma_unmap_sgtable(map->dev, map->sgt, map->direction, 0); in gather_bo_unpin()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c339 dma_unmap_sgtable(drm->dev, rk_obj->sgt, in rockchip_gem_free_object()
474 dma_unmap_sgtable(drm->dev, sg, DMA_BIDIRECTIONAL, 0); in rockchip_gem_dma_map_sg()
/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/xe/
H A Dxe_hmm.c134 dma_unmap_sgtable(dev, userptr->sg, in xe_hmm_userptr_free_sg()
H A Dxe_dma_buf.c152 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in xe_dma_buf_unmap()
/linux/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c171 dma_unmap_sgtable(obj->dev->dev, shmem->sgt, in drm_gem_shmem_free()
474 dma_unmap_sgtable(dev->dev, shmem->sgt, DMA_BIDIRECTIONAL, 0); in drm_gem_shmem_purge()
H A Ddrm_prime.c695 dma_unmap_sgtable(attach->dev, sgt, dir, DMA_ATTR_SKIP_CPU_SYNC); in drm_gem_unmap_dma_buf()
/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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c185 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in amdgpu_dma_buf_unmap()
/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/media/pci/intel/ipu6/
H A Dipu6-buttress.c589 dma_unmap_sgtable(&pdev->dev, sgt, DMA_TO_DEVICE, 0); in ipu6_buttress_map_fw_image()
609 dma_unmap_sgtable(&pdev->dev, sgt, DMA_TO_DEVICE, 0); in ipu6_buttress_unmap_fw_image()
/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c118 dma_unmap_sgtable(attachment->dev, table, direction, 0); in cma_heap_unmap_dma_buf()
/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/gpu/drm/armada/
H A Darmada_gem.c460 dma_unmap_sgtable(attach->dev, sgt, dir, 0); in armada_gem_prime_unmap_dma_buf()
/linux/drivers/accel/ivpu/
H A Divpu_gem.c128 dma_unmap_sgtable(vdev->drm.dev, bo->base.sgt, DMA_BIDIRECTIONAL, 0); in ivpu_bo_unbind_locked()
/linux/drivers/dma-buf/
H A Dudmabuf.c187 dma_unmap_sgtable(dev, sg, direction, 0); in put_sg_table()
/linux/include/linux/
H A Ddma-mapping.h419 static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt, in dma_unmap_sgtable() function
/linux/drivers/accel/qaic/
H A Dqaic_control.c330 dma_unmap_sgtable(&qdev->pdev->dev, xfer->sgt, DMA_TO_DEVICE, 0); in free_dma_xfers()
552 dma_unmap_sgtable(&qdev->pdev->dev, xfer->sgt, DMA_TO_DEVICE, 0); in cleanup_xfer()
/linux/drivers/xen/
H A Dgntdev-dmabuf.c245 dma_unmap_sgtable(attach->dev, sgt, in dmabuf_exp_ops_detach()
/linux/drivers/nvme/host/
H A Dpci.c569 dma_unmap_sgtable(dev->dev, &iod->sgt, rq_dma_dir(req), 0); in nvme_unmap_data()
837 dma_unmap_sgtable(dev->dev, &iod->sgt, rq_dma_dir(req), 0); in nvme_map_data()
894 dma_unmap_sgtable(dev->dev, &iod->meta_sgt, rq_dma_dir(req), 0); in nvme_pci_setup_meta_sgls()
1054 dma_unmap_sgtable(dev->dev, &iod->meta_sgt, rq_dma_dir(req), 0); in nvme_unmap_metadata()
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.c393 dma_unmap_sgtable(mdev->device, &buf->table.sgt, buf->dma_dir, 0); in mlx5vf_dma_data_buffer()
407 dma_unmap_sgtable(migf->mvdev->mdev->device, &buf->table.sgt, in mlx5vf_free_data_buffer()

12