/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-tmc-etr.c | 107 * @sg_table: Generic SG Table holding the data/table pages. 112 struct tmc_sg_table *sg_table; member in struct:etr_sg_table 241 tmc_sg_get_data_page_offset(struct tmc_sg_table *sg_table, dma_addr_t addr) argument 243 return tmc_pages_get_offset(&sg_table->data_pages, addr); 246 static inline void tmc_free_table_pages(struct tmc_sg_table *sg_table) argument 248 if (sg_table->table_vaddr) 249 vunmap(sg_table->table_vaddr); 250 tmc_pages_free(&sg_table->table_pages, sg_table->dev, DMA_TO_DEVICE); 253 static void tmc_free_data_pages(struct tmc_sg_table *sg_table) argument 260 tmc_free_sg_table(struct tmc_sg_table *sg_table) argument 272 tmc_alloc_table_pages(struct tmc_sg_table *sg_table) argument 293 tmc_alloc_data_pages(struct tmc_sg_table *sg_table, void **pages) argument 330 struct tmc_sg_table *sg_table; local 375 tmc_sg_table_sync_table(struct tmc_sg_table *sg_table) argument 395 tmc_sg_table_get_data(struct tmc_sg_table *sg_table, u64 offset, size_t len, char **bufpp) argument 420 tmc_sg_daddr_to_vaddr(struct tmc_sg_table *sg_table, dma_addr_t addr, bool table) argument 447 struct tmc_sg_table *sg_table = etr_table->sg_table; local 502 struct tmc_sg_table *sg_table = etr_table->sg_table; local 573 struct tmc_sg_table *sg_table; local [all...] |
/linux-master/include/drm/ |
H A D | drm_gem_dma_helper.h | 24 struct sg_table *sgt; 40 struct sg_table *drm_gem_dma_get_sg_table(struct drm_gem_dma_object *dma_obj); 92 static inline struct sg_table *drm_gem_dma_object_get_sg_table(struct drm_gem_object *obj) 153 struct sg_table *sgt); 228 struct sg_table *sgt);
|
H A D | drm_gem_shmem_helper.h | 18 struct sg_table; 61 struct sg_table *sgt; 125 struct sg_table *drm_gem_shmem_get_sg_table(struct drm_gem_shmem_object *shmem); 126 struct sg_table *drm_gem_shmem_get_pages_sgt(struct drm_gem_shmem_object *shmem); 206 static inline struct sg_table *drm_gem_shmem_object_get_sg_table(struct drm_gem_object *obj) 273 struct sg_table *sgt);
|
/linux-master/drivers/dma-buf/ |
H A D | dma-buf.c | 776 static void mangle_sg_table(struct sg_table *sg_table) argument 786 for_each_sgtable_sg(sg_table, sg, i) 791 static struct sg_table * __map_dma_buf(struct dma_buf_attachment *attach, 794 struct sg_table *sg_table; local 797 sg_table = attach->dmabuf->ops->map_dma_buf(attach, direction); 798 if (IS_ERR_OR_NULL(sg_table)) 799 return sg_table; 806 attach->dmabuf->ops->unmap_dma_buf(attach, sg_table, 996 __unmap_dma_buf(struct dma_buf_attachment *attach, struct sg_table *sg_table, enum dma_data_direction direction) argument 1115 struct sg_table *sg_table; local 1192 struct sg_table *sg_table; local 1217 dma_buf_unmap_attachment(struct dma_buf_attachment *attach, struct sg_table *sg_table, enum dma_data_direction direction) argument 1249 dma_buf_unmap_attachment_unlocked(struct dma_buf_attachment *attach, struct sg_table *sg_table, enum dma_data_direction direction) argument [all...] |
/linux-master/drivers/dma-buf/heaps/ |
H A D | system_heap.c | 31 struct sg_table sg_table; member in struct:system_heap_buffer 38 struct sg_table *table; 57 static struct sg_table *dup_sg_table(struct sg_table *table) 59 struct sg_table *new_table; 87 struct sg_table *table; 93 table = dup_sg_table(&buffer->sg_table); 128 static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment, 132 struct sg_table *tabl [all...] |
/linux-master/drivers/media/common/videobuf2/ |
H A D | videobuf2-dma-sg.c | 41 struct sg_table sg_table; member in struct:vb2_dma_sg_buf 43 * This will point to sg_table when used with the MMAP or USERPTR 47 struct sg_table *dma_sgt; 105 struct sg_table *sgt; 122 buf->dma_sgt = &buf->sg_table; 145 sgt = &buf->sg_table; 182 struct sg_table *sgt = &buf->sg_table; 204 struct sg_table *sg [all...] |
H A D | videobuf2-dma-contig.c | 34 struct sg_table *dma_sgt; 40 struct sg_table *sgt_base; 53 static unsigned long vb2_dc_get_contiguous_size(struct sg_table *sgt) 126 struct sg_table *sgt = buf->dma_sgt; 146 struct sg_table *sgt = buf->dma_sgt; 313 struct sg_table sgt; 323 struct sg_table *sgt; 359 struct sg_table *sgt; 381 static struct sg_table *vb2_dc_dmabuf_ops_map( 385 struct sg_table *sg [all...] |
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | omap_gem.h | 48 struct sg_table *sgt); 82 struct sg_table *omap_gem_get_sg(struct drm_gem_object *obj, 84 void omap_gem_put_sg(struct drm_gem_object *obj, struct sg_table *sgt);
|
H A D | omap_gem_dmabuf.c | 20 static struct sg_table *omap_gem_map_dma_buf( 25 struct sg_table *sg; 34 struct sg_table *sg, enum dma_data_direction dir) 102 struct sg_table *sgt;
|
/linux-master/drivers/crypto/qce/ |
H A D | cipher.h | 41 struct sg_table dst_tbl;
|
H A D | dma.h | 45 qce_sgtable_add(struct sg_table *sgt, struct scatterlist *sg_add,
|
/linux-master/drivers/hwtracing/intel_th/ |
H A D | msu-sink.c | 18 struct sg_table **sgts; 51 static int msu_sink_alloc_window(void *data, struct sg_table **sgt, size_t size) 84 static void msu_sink_free_window(void *data, struct sg_table *sgt) 99 static int msu_sink_ready(void *data, struct sg_table *sgt, size_t bytes)
|
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_region.h | 13 struct sg_table;
|
/linux-master/include/media/ |
H A D | vsp1.h | 117 int vsp1_du_map_sg(struct device *dev, struct sg_table *sgt); 118 void vsp1_du_unmap_sg(struct device *dev, struct sg_table *sgt);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.h | 24 struct sg_table *pages); 26 struct sg_table *pages);
|
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_gem.h | 14 struct sg_table *sgts; 74 struct sg_table *sgt);
|
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_mmu_context.h | 46 u64 vpu_addr, struct sg_table *sgt, bool llc_coherent); 48 u64 vpu_addr, struct sg_table *sgt);
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_prime.c | 53 static struct sg_table *vmw_prime_map_dma_buf(struct dma_buf_attachment *attach, 60 struct sg_table *sgb,
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_gem_prime.c | 14 struct sg_table *msm_gem_prime_get_sg_table(struct drm_gem_object *obj) 43 struct dma_buf_attachment *attach, struct sg_table *sg)
|
/linux-master/include/linux/ |
H A D | scatterlist.h | 39 struct sg_table { struct 46 struct sg_table sgt; /* The scatter list table */ 199 * Loop over each sg element in the given sg_table object. 205 * Loop over each sg element in the given *DMA mapped* sg_table object. 434 void __sg_free_table(struct sg_table *, unsigned int, unsigned int, 436 void sg_free_table(struct sg_table *); 438 int __sg_alloc_table(struct sg_table *, unsigned int, unsigned int, 440 int sg_alloc_table(struct sg_table *, unsigned int, gfp_t); 446 int sg_alloc_table_from_pages_segment(struct sg_table *sgt, struct page **pages, 471 static inline int sg_alloc_table_from_pages(struct sg_table *sg [all...] |
/linux-master/drivers/gpu/drm/i915/gem/selftests/ |
H A D | huge_gem_object.c | 12 struct sg_table *pages) 34 struct sg_table *pages; 86 struct sg_table *pages)
|
H A D | mock_dmabuf.c | 10 static struct sg_table *mock_map_dma_buf(struct dma_buf_attachment *attachment, 14 struct sg_table *st; 46 struct sg_table *st,
|
/linux-master/drivers/gpu/drm/armada/ |
H A D | armada_gem.h | 19 struct sg_table *sgt; /* for imported */
|
/linux-master/drivers/target/ |
H A D | target_core_rd.h | 26 struct scatterlist *sg_table; member in struct:rd_dev_sg_table
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | instmem.h | 29 struct sg_table fbsr;
|