Searched refs:sg_table (Results 51 - 75 of 324) sorted by relevance

1234567891011>>

/linux-master/include/sound/
H A Dmemalloc.h17 struct sg_table;
118 static inline struct sg_table *
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_prime.c31 struct sg_table *nouveau_gem_prime_get_sg_table(struct drm_gem_object *obj)
41 struct sg_table *sg)
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_prime.c37 struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj)
47 struct sg_table *sg)
/linux-master/drivers/media/pci/intel/ipu6/
H A Dipu6-buttress.h72 struct sg_table *sgt);
74 struct sg_table *sgt);
H A Dipu6-bus.h33 struct sg_table fw_sgt;
/linux-master/include/linux/
H A Ddma-mapping.h114 int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
128 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt,
143 struct sg_table *dma_alloc_noncontiguous(struct device *dev, size_t size,
146 struct sg_table *sgt, enum dma_data_direction dir);
148 struct sg_table *sgt);
151 size_t size, struct sg_table *sgt);
174 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
212 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr,
259 static inline struct sg_table *dma_alloc_noncontiguous(struct device *dev,
266 struct sg_table *sg
[all...]
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-tmc.h321 void tmc_free_sg_table(struct tmc_sg_table *sg_table);
322 void tmc_sg_table_sync_table(struct tmc_sg_table *sg_table);
325 ssize_t tmc_sg_table_get_data(struct tmc_sg_table *sg_table,
328 tmc_sg_table_buf_size(struct tmc_sg_table *sg_table) argument
330 return (unsigned long)sg_table->data_pages.nr_pages << PAGE_SHIFT;
/linux-master/drivers/gpu/drm/virtio/
H A Dvirtgpu_prime.c46 static struct sg_table *
60 struct sg_table *sgt,
167 struct sg_table *table)
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_internal.c20 static void internal_free_pages(struct sg_table *st)
36 struct sg_table *st;
121 struct sg_table *pages)
/linux-master/include/linux/fpga/
H A Dfpga-mgr.h15 struct sg_table;
105 struct sg_table *sgt;
182 int (*write_sg)(struct fpga_manager *mgr, struct sg_table *sgt);
/linux-master/drivers/ata/
H A Dsata_promise.h29 dma_addr_t sg_table,
55 buf32[1] = cpu_to_le32(sg_table); /* S/G table addr */
28 pdc_pkt_header(struct ata_taskfile *tf, dma_addr_t sg_table, unsigned int devno, u8 *buf) argument
/linux-master/lib/
H A Dsg_pool.c84 void sg_free_table_chained(struct sg_table *table,
112 int sg_alloc_table_chained(struct sg_table *table, int nents,
/linux-master/drivers/gpu/drm/i915/selftests/
H A Dmock_region.c16 struct sg_table *pages)
25 struct sg_table *pages;
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem_prime.c17 struct sg_table *etnaviv_gem_prime_get_sg_table(struct drm_gem_object *obj)
113 struct dma_buf_attachment *attach, struct sg_table *sgt)
/linux-master/drivers/gpu/drm/i915/
H A Di915_vma_resource.h21 * The sg mask of the pages sg_table. i.e the mask of
50 struct sg_table *pages;
203 struct sg_table *pages,
H A Di915_scatterlist.c15 bool i915_sg_trim(struct sg_table *orig_st)
17 struct sg_table new_st;
67 * i915_rsgt_from_mm_node - Create a refcounted sg_table from a struct
73 * Create a struct sg_table, initializing it from a struct drm_mm_node,
88 struct sg_table *st;
150 * i915_rsgt_from_buddy_resource - Create a refcounted sg_table from a struct
156 * Create a struct sg_table, initializing it from struct i915_buddy_block list,
175 struct sg_table *st;
/linux-master/drivers/gpu/drm/
H A Ddrm_prime.c624 * Returns:sg_table containing the scatterlist to be returned; returns ERR_PTR
627 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach,
631 struct sg_table *sgt;
665 struct sg_table *sgt,
812 struct sg_table *drm_prime_pages_to_sg(struct drm_device *dev,
815 struct sg_table *sg;
819 sg = kmalloc(sizeof(struct sg_table), GFP_KERNEL);
840 * @sgt: sg_table describing the buffer to check
843 * of the buffer described by the provided sg_table.
848 unsigned long drm_prime_get_contiguous_size(struct sg_table *sg
[all...]
/linux-master/drivers/gpu/drm/tegra/
H A Dgem.h39 struct sg_table *sgt;
/linux-master/drivers/usb/gadget/function/
H A Duvc_queue.h37 struct sg_table *sgt;
/linux-master/include/linux/spi/
H A Dspi-mem.h335 struct sg_table *sg);
339 struct sg_table *sg);
347 struct sg_table *sg)
355 struct sg_table *sg)
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_mmu.h14 int (*map)(struct msm_mmu *mmu, uint64_t iova, struct sg_table *sgt,
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_gem.c188 * Allocate a sg_table for this GEM object.
189 * Note: Both the table's contents, and the sg_table itself must be freed by
191 * Returns a pointer to the newly allocated sg_table, or an ERR_PTR() error.
193 struct sg_table *mtk_gem_prime_get_sg_table(struct drm_gem_object *obj)
197 struct sg_table *sgt;
217 struct dma_buf_attachment *attach, struct sg_table *sg)
221 /* check if the entries in the sg_table are contiguous */
223 DRM_ERROR("sg_table is not contiguous");
240 struct sg_table *sgt = NULL;
/linux-master/drivers/gpu/drm/tests/
H A Ddrm_gem_shmem_test.c38 struct sg_table *sgt = ptr;
83 struct sg_table *sgt;
203 struct sg_table *sgt;
242 struct sg_table *sgt;
312 struct sg_table *sgt;
/linux-master/drivers/dma-buf/
H A Dudmabuf.c29 struct sg_table *sg;
86 static struct sg_table *get_sg_table(struct device *dev, struct dma_buf *buf,
90 struct sg_table *sg;
112 static void put_sg_table(struct device *dev, struct sg_table *sg,
120 static struct sg_table *map_udmabuf(struct dma_buf_attachment *at,
127 struct sg_table *sg,
/linux-master/drivers/media/common/videobuf2/
H A Dvideobuf2-vmalloc.c208 struct sg_table sgt;
218 struct sg_table *sgt;
255 struct sg_table *sgt;
270 static struct sg_table *vb2_vmalloc_dmabuf_ops_map(
274 struct sg_table *sgt;
299 struct sg_table *sgt, enum dma_data_direction dma_dir)

Completed in 202 milliseconds

1234567891011>>