Searched refs:sg_table (Results 26 - 50 of 324) sorted by relevance

1234567891011>>

/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-tmc-etr.c107 * @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 Ddrm_gem_dma_helper.h24 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 Ddrm_gem_shmem_helper.h18 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 Ddma-buf.c776 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 Dsystem_heap.c31 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 Dvideobuf2-dma-sg.c41 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 Dvideobuf2-dma-contig.c34 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 Domap_gem.h48 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 Domap_gem_dmabuf.c20 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 Dcipher.h41 struct sg_table dst_tbl;
H A Ddma.h45 qce_sgtable_add(struct sg_table *sgt, struct scatterlist *sg_add,
/linux-master/drivers/hwtracing/intel_th/
H A Dmsu-sink.c18 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 Di915_gem_region.h13 struct sg_table;
/linux-master/include/media/
H A Dvsp1.h117 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 Di915_gem_gtt.h24 struct sg_table *pages);
26 struct sg_table *pages);
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_gem.h14 struct sg_table *sgts;
74 struct sg_table *sgt);
/linux-master/drivers/accel/ivpu/
H A Divpu_mmu_context.h46 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 Dvmwgfx_prime.c53 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 Dmsm_gem_prime.c14 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 Dscatterlist.h39 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 Dhuge_gem_object.c12 struct sg_table *pages)
34 struct sg_table *pages;
86 struct sg_table *pages)
H A Dmock_dmabuf.c10 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 Darmada_gem.h19 struct sg_table *sgt; /* for imported */
/linux-master/drivers/target/
H A Dtarget_core_rd.h26 struct scatterlist *sg_table; member in struct:rd_dev_sg_table
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dinstmem.h29 struct sg_table fbsr;

Completed in 222 milliseconds

1234567891011>>