Home
last modified time | relevance | path

Searched defs:sgt (Results 1 – 25 of 124) sorted by relevance

12345

/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c53 static unsigned long vb2_dc_get_contiguous_size(struct sg_table *sgt) in vb2_dc_get_contiguous_size() argument
126 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_prepare() local
146 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_finish() local
313 struct sg_table sgt; global() member
323 struct sg_table *sgt; vb2_dc_dmabuf_ops_attach() local
359 struct sg_table *sgt; vb2_dc_dmabuf_ops_detach() local
385 struct sg_table *sgt; vb2_dc_dmabuf_ops_map() local
415 vb2_dc_dmabuf_ops_unmap(struct dma_buf_attachment * db_attach,struct sg_table * sgt,enum dma_data_direction dma_dir) vb2_dc_dmabuf_ops_unmap() argument
476 struct sg_table *sgt; vb2_dc_get_base_sgt() local
534 struct sg_table *sgt = buf->dma_sgt; vb2_dc_put_userptr() local
571 struct sg_table *sgt; vb2_dc_get_userptr() local
693 struct sg_table *sgt; vb2_dc_map_dmabuf() local
733 struct sg_table *sgt = buf->dma_sgt; vb2_dc_unmap_dmabuf() local
[all...]
H A Dvideobuf2-vmalloc.c208 struct sg_table sgt; member
218 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_attach() local
255 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_detach() local
274 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_map() local
299 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_unmap()
/linux/drivers/gpu/drm/tests/
H A Ddrm_gem_shmem_test.c70 struct sg_table *sgt; in drm_gem_shmem_test_obj_create_private() local
201 struct sg_table *sgt; in drm_gem_shmem_test_get_pages_sgt() local
243 struct sg_table *sgt; in drm_gem_shmem_test_get_sg_table() local
313 struct sg_table *sgt; in drm_gem_shmem_test_purge() local
/linux/drivers/hwtracing/intel_th/
H A Dmsu-sink.c51 static int msu_sink_alloc_window(void *data, struct sg_table **sgt, size_t size) in msu_sink_alloc_window()
84 static void msu_sink_free_window(void *data, struct sg_table *sgt) in msu_sink_free_window()
99 static int msu_sink_ready(void *data, struct sg_table *sgt, size_t bytes) in msu_sink_ready()
/linux/drivers/spi/
H A Dinternals.h30 struct sg_table *sgt, void *buf, size_t len, in spi_map_buf()
37 struct device *dev, struct sg_table *sgt, in spi_unmap_buf()
/linux/drivers/xen/
H A Dgntdev-dmabuf.c46 struct sg_table *sgt; member
65 struct sg_table *sgt; member
198 struct sg_table *sgt; in dmabuf_pages_to_sgt() local
241 struct sg_table *sgt = gntdev_dmabuf_attach->sgt; in dmabuf_exp_ops_detach() local
263 struct sg_table *sgt; in dmabuf_exp_ops_map_dma_buf() local
301 struct sg_table *sgt, in dmabuf_exp_ops_unmap_dma_buf()
564 struct sg_table *sgt; in dmabuf_imp_to_refs() local
/linux/include/linux/
H A Dscatterlist.h46 struct sg_table sgt; /* The scatter list table */ member
224 #define for_each_sgtable_sg(sgt, sg, i) \ argument
232 #define for_each_sgtable_dma_sg(sgt, sg, i) \ argument
493 static inline int sg_alloc_table_from_pages(struct sg_table *sgt, in sg_alloc_table_from_pages()
659 #define for_each_sgtable_page(sgt, piter, pgoffset) \ argument
673 #define for_each_sgtable_dma_page(sgt, dma_iter, pgoffset) \ argument
H A Ddma-mapping.h219 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
257 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, in dma_get_sgtable_attrs()
311 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous()
315 struct sg_table *sgt) in dma_vmap_noncontiguous()
323 struct vm_area_struct *vma, size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
537 static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt, in dma_unmap_sgtable()
556 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_cpu()
573 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_device()
/linux/kernel/dma/
H A Dmapping.c334 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
522 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt, in dma_get_sgtable_attrs()
784 struct sg_table *sgt; in alloc_single_sgt() local
808 struct sg_table *sgt; in dma_alloc_noncontiguous() local
832 struct sg_table *sgt, enum dma_data_direction dir) in free_single_sgt()
841 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous()
854 struct sg_table *sgt) in dma_vmap_noncontiguous()
872 size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c31 struct sg_table *sgt; in i915_gem_map_dma_buf() local
239 struct sg_table *sgt; in i915_gem_object_get_pages_dmabuf() local
269 struct sg_table *sgt) in i915_gem_object_put_pages_dmabuf()
/linux/net/ceph/
H A Dcrypto.c149 static int setup_sgtable(struct sg_table *sgt, struct scatterlist *prealloc_sg, in setup_sgtable()
201 static void teardown_sgtable(struct sg_table *sgt) in teardown_sgtable()
211 struct sg_table sgt; in ceph_aes_crypt() local
/linux/drivers/gpu/drm/
H A Ddrm_gem_dma_helper.c424 struct sg_table *sgt; drm_gem_dma_get_sg_table() local
464 drm_gem_dma_prime_import_sg_table(struct drm_device * dev,struct dma_buf_attachment * attach,struct sg_table * sgt) drm_gem_dma_prime_import_sg_table() argument
576 drm_gem_dma_prime_import_sg_table_vmap(struct drm_device * dev,struct dma_buf_attachment * attach,struct sg_table * sgt) drm_gem_dma_prime_import_sg_table_vmap() argument
[all...]
/linux/drivers/dma-buf/
H A Ddma-buf-mapping.c64 struct sg_table sgt; member
222 void dma_buf_free_sgt(struct dma_buf_attachment *attach, struct sg_table *sgt, in dma_buf_free_sgt()
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Ddmabuf-cache.c27 struct sg_table *sgt; member
72 struct sg_table *sgt; in tegra_vde_dmabuf_cache_map() local
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_vsp.c267 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() local
311 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() local
347 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_unmap_fb() local
/linux/drivers/crypto/caam/
H A Dcaamalg_qi2.h116 struct dpaa2_sg_entry sgt[]; member
134 struct dpaa2_sg_entry sgt[]; member
148 struct dpaa2_sg_entry sgt[]; member
/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_mmu.c62 etnaviv_iommu_map(struct etnaviv_iommu_context * context,u32 iova,unsigned int va_len,struct sg_table * sgt,int prot) etnaviv_iommu_map() argument
105 etnaviv_iommu_unmap(struct etnaviv_iommu_context * context,u32 iova,struct sg_table * sgt,unsigned len) etnaviv_iommu_unmap() argument
268 struct sg_table *sgt = etnaviv_obj->sgt; etnaviv_iommu_map_gem() local
[all...]
H A Detnaviv_gem.c23 struct sg_table *sgt = etnaviv_obj->sgt; etnaviv_gem_scatter_map() local
36 struct sg_table *sgt = etnaviv_obj->sgt; etnaviv_gem_scatterlist_unmap() local
104 struct sg_table *sgt; etnaviv_gem_get_pages() local
[all...]
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_prime.c62 struct sg_table *sgt, in virtgpu_gem_unmap_dma_buf()
152 struct sg_table *sgt; in virtgpu_dma_buf_import_sgt() local
/linux/drivers/gpu/drm/xe/
H A Dxe_dma_buf.c97 struct sg_table *sgt; xe_dma_buf_map() local
147 xe_dma_buf_unmap(struct dma_buf_attachment * attach,struct sg_table * sgt,enum dma_data_direction dir) xe_dma_buf_unmap() argument
[all...]
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_gem.c408 struct sg_table *sgt; exynos_drm_gem_prime_get_sg_table() local
430 exynos_drm_gem_prime_import_sg_table(struct drm_device * dev,struct dma_buf_attachment * attach,struct sg_table * sgt) exynos_drm_gem_prime_import_sg_table() argument
[all...]
/linux/drivers/gpu/drm/tegra/
H A Dgem.c46 sgt_dma_count_chunks(struct sg_table * sgt) sgt_dma_count_chunks() argument
638 struct sg_table *sgt; tegra_gem_prime_map_dma_buf() local
666 tegra_gem_prime_unmap_dma_buf(struct dma_buf_attachment * attach,struct sg_table * sgt,enum dma_data_direction dir) tegra_gem_prime_unmap_dma_buf() argument
[all...]
/linux/drivers/fpga/tests/
H A Dfpga-mgr-test.c147 static int op_write_sg(struct fpga_manager *mgr, struct sg_table *sgt) in op_write_sg()
259 struct sg_table *sgt; in fpga_mgr_test_img_load_sgt() local
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c200 struct sg_table *sgt; in amdgpu_dma_buf_map() local
266 struct sg_table *sgt, in amdgpu_dma_buf_unmap()
/linux/drivers/iommu/
H A Ddma-iommu.c930 size_t size, struct sg_table *sgt, gfp_t gfp, unsigned long attrs) in __iommu_dma_alloc_noncontiguous()
1007 struct sg_table sgt; in iommu_dma_alloc_remap() local
1037 struct sg_table sgt; member
1040 #define sgt_handle(sgt) \ argument
1061 struct sg_table *sgt, enum dma_data_direction dir) in iommu_dma_free_noncontiguous()
1072 struct sg_table *sgt) in iommu_dma_vmap_noncontiguous()
1080 size_t size, struct sg_table *sgt) in iommu_dma_mmap_noncontiguous()
1699 int iommu_dma_get_sgtable(struct device *dev, struct sg_table *sgt, in iommu_dma_get_sgtable()

12345