Home
last modified time | relevance | path

Searched refs:sg_table (Results 1 – 25 of 35) sorted by relevance

12

/include/drm/
Ddrm_prime.h84 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach,
87 struct sg_table *sgt,
95 struct sg_table *drm_prime_pages_to_sg(struct drm_device *dev,
100 unsigned long drm_prime_get_contiguous_size(struct sg_table *sgt);
109 void drm_prime_gem_destroy(struct drm_gem_object *obj, struct sg_table *sg);
111 int drm_prime_sg_to_page_array(struct sg_table *sgt, struct page **pages,
113 int drm_prime_sg_to_dma_addr_array(struct sg_table *sgt, dma_addr_t *addrs,
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) in drm_gem_shmem_object_get_sg_table()
273 struct sg_table *sgt);
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) in drm_gem_dma_object_get_sg_table()
153 struct sg_table *sgt);
228 struct sg_table *sgt);
Ddrm_cache.h41 void drm_clflush_sg(struct sg_table *st);
Ddrm_drv.h48 struct sg_table;
326 struct sg_table *sgt);
/include/linux/
Dintel_th.h43 int (*alloc_window)(void *priv, struct sg_table **sgt,
45 void (*free_window)(void *priv, struct sg_table *sgt);
59 int (*ready)(void *priv, struct sg_table *sgt, size_t bytes);
65 void intel_th_msc_window_unlock(struct device *dev, struct sg_table *sgt);
Ddma-buf.h182 struct sg_table * (*map_dma_buf)(struct dma_buf_attachment *,
193 struct sg_table *,
608 struct sg_table *sgt;
721 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *,
723 void dma_buf_unmap_attachment(struct dma_buf_attachment *, struct sg_table *,
736 struct sg_table *
740 struct sg_table *sg_table,
Diommu-dma.h38 int iommu_dma_get_sgtable(struct device *dev, struct sg_table *sgt,
50 struct sg_table *iommu_dma_alloc_noncontiguous(struct device *dev, size_t size,
53 struct sg_table *sgt, enum dma_data_direction dir);
55 struct sg_table *sgt);
59 size_t size, struct sg_table *sgt);
Dscatterlist.h39 struct sg_table { struct
46 struct sg_table sgt; /* The scatter list table */ argument
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 *sgt, in sg_alloc_table_from_pages()
533 void sg_free_table_chained(struct sg_table *table,
535 int sg_alloc_table_chained(struct sg_table *table, int nents,
Ddma-mapping.h130 int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
144 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt,
159 struct sg_table *dma_alloc_noncontiguous(struct device *dev, size_t size,
162 struct sg_table *sgt, enum dma_data_direction dir);
164 struct sg_table *sgt);
167 size_t size, struct sg_table *sgt);
190 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
228 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, in dma_get_sgtable_attrs()
275 static inline struct sg_table *dma_alloc_noncontiguous(struct device *dev, in dma_alloc_noncontiguous()
282 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous()
[all …]
Dnvme-fc-driver.h217 struct sg_table sg_table; member
Dhost1x.h118 struct sg_table;
126 struct sg_table *sgt;
/include/media/
Dvideobuf2-dma-sg.h18 static inline struct sg_table *vb2_dma_sg_plane_desc( in vb2_dma_sg_plane_desc()
21 return (struct sg_table *)vb2_plane_cookie(vb, plane_no); in vb2_dma_sg_plane_desc()
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);
/include/drm/intel/
Dintel-gtt.h11 struct sg_table;
27 void intel_gmch_gtt_insert_sg_entries(struct sg_table *st,
/include/linux/iio/
Dbuffer-dma.h22 struct sg_table;
78 struct sg_table *sg_table; member
173 struct sg_table *sgt,
Dbuffer_impl.h17 struct sg_table;
91 struct dma_fence *fence, struct sg_table *sgt,
/include/linux/usb/
Dxhci-sideband.h82 struct sg_table *
85 struct sg_table *
/include/sound/
Dmemalloc.h17 struct sg_table;
113 static inline struct sg_table *
/include/linux/spi/
Dspi-mem.h335 struct sg_table *sg);
339 struct sg_table *sg);
347 struct sg_table *sg) in spi_controller_dma_map_mem_op_data()
355 struct sg_table *sg) in spi_controller_dma_unmap_mem_op_data()
/include/linux/fpga/
Dfpga-mgr.h15 struct sg_table;
105 struct sg_table *sgt;
182 int (*write_sg)(struct fpga_manager *mgr, struct sg_table *sgt);
/include/drm/ttm/
Dttm_resource.h49 struct sg_table;
347 struct sg_table *st;
482 struct sg_table *st,
Dttm_bo.h137 struct sg_table *sg;
403 struct sg_table *sg, struct dma_resv *resv,
408 struct sg_table *sg, struct dma_resv *resv,
Dttm_tt.h103 struct sg_table *sg;
/include/crypto/
Dif_alg.h59 struct sg_table sgt;

12