Home
last modified time | relevance | path

Searched refs:dma_buf_map_attachment (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
H A Domap_gem_dmabuf.c152 sgt = dma_buf_map_attachment(attach, DMA_TO_DEVICE); in omap_gem_prime_import()
/kernel/linux/linux-5.10/include/linux/
H A Ddma-buf.h118 * This is called by dma_buf_map_attachment() and is used to map a
402 * transfer is created by dma_buf_map_attachment() and freed again by calling
509 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *,
/kernel/linux/linux-6.6/include/linux/
H A Ddma-buf.h127 * This is called by dma_buf_map_attachment() and is used to map a
505 * transfer is created by dma_buf_map_attachment() and freed again by calling
612 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *,
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c195 pages = dma_buf_map_attachment(obj->base.import_attach, in i915_gem_object_get_pages_dmabuf()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/
H A Ddmabuf-cache.c102 sgt = dma_buf_map_attachment(attachment, dma_dir); in tegra_vde_dmabuf_cache_map()
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dumem_dmabuf.c29 sgt = dma_buf_map_attachment(umem_dmabuf->attach, in ib_umem_dmabuf_map_pages()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c244 sgt = dma_buf_map_attachment(obj->base.import_attach, in i915_gem_object_get_pages_dmabuf()
/kernel/linux/linux-6.6/drivers/dma-buf/
H A Ddma-buf.c581 * dma_buf_map_attachment() and dma_buf_unmap_attachment().
816 * - dma_buf_map_attachment()
1079 * dma_buf_map_attachment - Returns the scatterlist table of the attachment;
1099 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *attach, in dma_buf_map_attachment() function
1164 EXPORT_SYMBOL_NS_GPL(dma_buf_map_attachment, DMA_BUF);
1173 * Unlocked variant of dma_buf_map_attachment().
1187 sg_table = dma_buf_map_attachment(attach, direction); in dma_buf_map_attachment_unlocked()
1202 * This unmaps a DMA mapping for @attached obtained by dma_buf_map_attachment().
/kernel/linux/linux-5.10/drivers/dma-buf/
H A Ddma-buf.c497 * dma_buf_map_attachment() and dma_buf_unmap_attachment().
876 * dma_buf_map_attachment - Returns the scatterlist table of the attachment;
890 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *attach, in dma_buf_map_attachment() function
940 EXPORT_SYMBOL_GPL(dma_buf_map_attachment); variable
950 * This unmaps a DMA mapping for @attached obtained by dma_buf_map_attachment().
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
H A Darmada_gem.c520 * Don't call dma_buf_map_attachment() here - it maps the in armada_gem_prime_import()
531 dobj->sgt = dma_buf_map_attachment(dobj->obj.import_attach, in armada_gem_map_import()
536 DRM_ERROR("dma_buf_map_attachment() error: %d\n", ret); in armada_gem_map_import()
540 DRM_ERROR("dma_buf_map_attachment() returned an (unsupported) scattered list\n"); in armada_gem_map_import()
544 DRM_ERROR("dma_buf_map_attachment() returned a small buffer\n"); in armada_gem_map_import()
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c596 sgt = dma_buf_map_attachment(buf->db_attach, buf->dma_dir); in vb2_dc_map_dmabuf()
H A Dvideobuf2-dma-sg.c552 sgt = dma_buf_map_attachment(buf->db_attach, buf->dma_dir); in vb2_dma_sg_map_dmabuf()
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_prime.c940 sgt = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL); in drm_gem_prime_import_dev()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
H A Dgem.c408 bo->sgt = dma_buf_map_attachment(attach, DMA_TO_DEVICE); in tegra_bo_import()
/kernel/linux/linux-5.10/drivers/xen/
H A Dgntdev-dmabuf.c604 sgt = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL); in dmabuf_imp_to_refs()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c1345 sgt = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL); in amdgpu_ttm_tt_populate()
/kernel/linux/linux-5.10/drivers/misc/
H A Dfastrpc.c656 map->table = dma_buf_map_attachment(map->attach, DMA_BIDIRECTIONAL); in fastrpc_map_create()
/kernel/linux/linux-6.6/drivers/accel/qaic/
H A Dqaic_data.c793 * skipping dma_buf_map_attachment() as we do not know the direction in qaic_gem_prime_import()
822 sgt = dma_buf_map_attachment(obj->import_attach, hdr->dir); in qaic_prepare_import_bo()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c907 sgt = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL); in amdgpu_ttm_backend_bind()

Completed in 25 milliseconds