/linux-4.1.27/drivers/target/ |
D | target_core_rd.c | 82 static u32 rd_release_sgl_table(struct rd_dev *rd_dev, struct rd_dev_sg_table *sg_table, in rd_release_sgl_table() argument 90 sg = sg_table[i].sg_table; in rd_release_sgl_table() 91 sg_per_table = sg_table[i].rd_sg_count; in rd_release_sgl_table() 103 kfree(sg_table); in rd_release_sgl_table() 131 static int rd_allocate_sgl_table(struct rd_dev *rd_dev, struct rd_dev_sg_table *sg_table, in rd_allocate_sgl_table() argument 170 sg_chain(sg_table[i - 1].sg_table, in rd_allocate_sgl_table() 176 sg_table[i].sg_table = sg; in rd_allocate_sgl_table() 177 sg_table[i].rd_sg_count = sg_per_table; in rd_allocate_sgl_table() 178 sg_table[i].page_start_offset = page_offset; in rd_allocate_sgl_table() 179 sg_table[i++].page_end_offset = (page_offset + sg_per_table) in rd_allocate_sgl_table() [all …]
|
D | target_core_rd.h | 21 struct scatterlist *sg_table; member
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | videobuf2-dma-sg.c | 43 struct sg_table sg_table; member 49 struct sg_table *dma_sgt; 107 struct sg_table *sgt; in vb2_dma_sg_alloc() 126 buf->dma_sgt = &buf->sg_table; in vb2_dma_sg_alloc() 145 sgt = &buf->sg_table; in vb2_dma_sg_alloc() 181 struct sg_table *sgt = &buf->sg_table; in vb2_dma_sg_put() 206 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_prepare() 218 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_finish() 241 struct sg_table *sgt; in vb2_dma_sg_get_userptr() 255 buf->dma_sgt = &buf->sg_table; in vb2_dma_sg_get_userptr() [all …]
|
D | videobuf2-dma-contig.c | 34 struct sg_table *dma_sgt; 39 struct sg_table *sgt_base; 53 static void vb2_dc_sgt_foreach_page(struct sg_table *sgt, in vb2_dc_sgt_foreach_page() 70 static unsigned long vb2_dc_get_contiguous_size(struct sg_table *sgt) in vb2_dc_get_contiguous_size() 117 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_prepare() 129 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_finish() 233 struct sg_table sgt; 243 struct sg_table *sgt; in vb2_dc_dmabuf_ops_attach() 279 struct sg_table *sgt; in vb2_dc_dmabuf_ops_detach() 295 static struct sg_table *vb2_dc_dmabuf_ops_map( in vb2_dc_dmabuf_ops_map() [all …]
|
D | videobuf2-vmalloc.c | 220 struct sg_table sgt; 230 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_attach() 267 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_detach() 283 static struct sg_table *vb2_vmalloc_dmabuf_ops_map( in vb2_vmalloc_dmabuf_ops_map() 289 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_map() 324 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_unmap()
|
/linux-4.1.27/include/linux/ |
D | scatterlist.h | 12 struct sg_table { struct 232 void __sg_free_table(struct sg_table *, unsigned int, bool, sg_free_fn *); 233 void sg_free_table(struct sg_table *); 234 int __sg_alloc_table(struct sg_table *, unsigned int, unsigned int, 236 int sg_alloc_table(struct sg_table *, unsigned int, gfp_t); 237 int sg_alloc_table_from_pages(struct sg_table *sgt,
|
D | dma-buf.h | 84 struct sg_table * (*map_dma_buf)(struct dma_buf_attachment *, 87 struct sg_table *, 217 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *, 219 void dma_buf_unmap_attachment(struct dma_buf_attachment *, struct sg_table *,
|
D | host1x.h | 58 struct sg_table; 63 dma_addr_t (*pin)(struct host1x_bo *bo, struct sg_table **sgt); 64 void (*unpin)(struct host1x_bo *bo, struct sg_table *sgt); 92 struct sg_table **sgt) in host1x_bo_pin() 97 static inline void host1x_bo_unpin(struct host1x_bo *bo, struct sg_table *sgt) in host1x_bo_unpin()
|
D | dma-mapping.h | 27 int (*get_sgtable)(struct device *dev, struct sg_table *sgt, void *,
|
D | ide.h | 714 struct scatterlist *sg_table; member
|
/linux-4.1.27/drivers/staging/android/ion/ |
D | ion_system_heap.c | 128 struct sg_table *table; in ion_system_heap_allocate() 153 table = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in ion_system_heap_allocate() 183 struct sg_table *table = buffer->sg_table; in ion_system_heap_free() 199 static struct sg_table *ion_system_heap_map_dma(struct ion_heap *heap, in ion_system_heap_map_dma() 317 struct sg_table *table; in ion_system_contig_heap_allocate() 334 table = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in ion_system_contig_heap_allocate() 363 struct sg_table *table = buffer->priv_virt; in ion_system_contig_heap_free() 378 struct sg_table *table = buffer->priv_virt; in ion_system_contig_heap_phys() 385 static struct sg_table *ion_system_contig_heap_map_dma(struct ion_heap *heap, in ion_system_contig_heap_map_dma()
|
D | ion_carveout_heap.c | 63 struct sg_table *table = buffer->priv_virt; in ion_carveout_heap_phys() 77 struct sg_table *table; in ion_carveout_heap_allocate() 84 table = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in ion_carveout_heap_allocate() 112 struct sg_table *table = buffer->priv_virt; in ion_carveout_heap_free() 127 static struct sg_table *ion_carveout_heap_map_dma(struct ion_heap *heap, in ion_carveout_heap_map_dma()
|
D | ion_chunk_heap.c | 43 struct sg_table *table; in ion_chunk_heap_allocate() 58 table = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in ion_chunk_heap_allocate() 98 struct sg_table *table = buffer->priv_virt; in ion_chunk_heap_free() 120 static struct sg_table *ion_chunk_heap_map_dma(struct ion_heap *heap, in ion_chunk_heap_map_dma()
|
D | ion_heap.c | 35 struct sg_table *table = buffer->sg_table; in ion_heap_map_kernel() 74 struct sg_table *table = buffer->sg_table; in ion_heap_map_user() 143 struct sg_table *table = buffer->sg_table; in ion_heap_buffer_zero()
|
D | ion_cma_heap.c | 39 struct sg_table *table; 72 info->table = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in ion_cma_allocate() 125 static struct sg_table *ion_cma_heap_map_dma(struct ion_heap *heap, in ion_cma_heap_map_dma()
|
D | ion_priv.h | 80 struct sg_table *sg_table; member 116 struct sg_table * (*map_dma)(struct ion_heap *heap,
|
D | ion.c | 183 struct sg_table *table; in ion_buffer_create() 220 buffer->sg_table = table; in ion_buffer_create() 255 for_each_sg(buffer->sg_table->sgl, sg, buffer->sg_table->nents, i) in ion_buffer_create() 854 struct sg_table *ion_sg_table(struct ion_client *client, in ion_sg_table() 858 struct sg_table *table; in ion_sg_table() 868 table = buffer->sg_table; in ion_sg_table() 878 static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment, in ion_map_dma_buf() 885 return buffer->sg_table; in ion_map_dma_buf() 889 struct sg_table *table, in ion_unmap_dma_buf() 1220 dma_sync_sg_for_device(NULL, buffer->sg_table->sgl, in ion_sync_for_device() [all …]
|
D | ion.h | 157 struct sg_table *ion_sg_table(struct ion_client *client,
|
D | ion_test.c | 49 struct sg_table *table; in ion_handle_test_dma()
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
D | udl_dmabuf.c | 26 struct sg_table sgt; 54 struct sg_table *sgt; in udl_detach_dma_buf() 73 static struct sg_table *udl_map_dma_buf(struct dma_buf_attachment *attach, in udl_map_dma_buf() 80 struct sg_table *sgt = NULL; in udl_map_dma_buf() 145 struct sg_table *sgt, in udl_unmap_dma_buf() 217 struct sg_table *sg, in udl_prime_create() 247 struct sg_table *sg; in udl_gem_prime_import()
|
D | udl_drv.h | 74 struct sg_table *sg;
|
/linux-4.1.27/include/drm/ |
D | drm_gem_cma_helper.h | 17 struct sg_table *sgt; 60 struct sg_table *drm_gem_cma_prime_get_sg_table(struct drm_gem_object *obj); 64 struct sg_table *sgt);
|
D | drmP.h | 588 struct sg_table *(*gem_prime_get_sg_table)(struct drm_gem_object *obj); 592 struct sg_table *sgt); 904 void drm_clflush_sg(struct sg_table *st); 1009 extern int drm_prime_sg_to_page_addr_arrays(struct sg_table *sgt, struct page **pages, 1011 extern struct sg_table *drm_prime_pages_to_sg(struct page **pages, unsigned int nr_pages); 1012 extern void drm_prime_gem_destroy(struct drm_gem_object *obj, struct sg_table *sg);
|
D | intel-gtt.h | 16 void intel_gtt_insert_sg_entries(struct sg_table *st,
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_drm_dmabuf.c | 21 struct sg_table sgt; 51 struct sg_table *sgt; in exynos_gem_detach_dma_buf() 67 static struct sg_table * 76 struct sg_table *sgt = NULL; in exynos_gem_map_dma_buf() 130 struct sg_table *sgt, in exynos_gem_unmap_dma_buf() 202 struct sg_table *sgt; in exynos_dmabuf_prime_import()
|
D | exynos_drm_gem.h | 46 struct sg_table *sgt; 174 struct sg_table *sgt, 179 struct sg_table *sgt,
|
D | exynos_drm_gem.c | 479 struct sg_table *sgt, in exynos_gem_map_sgt_with_dma() 498 struct sg_table *sgt, in exynos_gem_unmap_sgt_from_dma()
|
D | exynos_drm_g2d.c | 195 struct sg_table *sgt; 412 struct sg_table *sgt; in g2d_userptr_get_dma_addr()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_prime.c | 70 struct sg_table *sgt; 145 struct sg_table *sgt; in drm_gem_map_detach() 180 static struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach, in drm_gem_map_dma_buf() 185 struct sg_table *sgt; in drm_gem_map_dma_buf() 218 struct sg_table *sgt, in drm_gem_unmap_dma_buf() 501 struct sg_table *sgt; in drm_gem_prime_import() 676 struct sg_table *drm_prime_pages_to_sg(struct page **pages, unsigned int nr_pages) in drm_prime_pages_to_sg() 678 struct sg_table *sg = NULL; in drm_prime_pages_to_sg() 681 sg = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in drm_prime_pages_to_sg() 709 int drm_prime_sg_to_page_addr_arrays(struct sg_table *sgt, struct page **pages, in drm_prime_sg_to_page_addr_arrays() [all …]
|
D | drm_gem_cma_helper.c | 412 struct sg_table *drm_gem_cma_prime_get_sg_table(struct drm_gem_object *obj) in drm_gem_cma_prime_get_sg_table() 415 struct sg_table *sgt; in drm_gem_cma_prime_get_sg_table() 455 struct sg_table *sgt) in drm_gem_cma_prime_import_sg_table()
|
D | drm_cache.c | 105 drm_clflush_sg(struct sg_table *st) in drm_clflush_sg()
|
/linux-4.1.27/include/media/ |
D | videobuf2-dma-sg.h | 18 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()
|
/linux-4.1.27/drivers/dma-buf/ |
D | dma-buf.c | 485 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *attach, in dma_buf_map_attachment() 488 struct sg_table *sg_table = ERR_PTR(-EINVAL); in dma_buf_map_attachment() local 495 sg_table = attach->dmabuf->ops->map_dma_buf(attach, direction); in dma_buf_map_attachment() 496 if (!sg_table) in dma_buf_map_attachment() 497 sg_table = ERR_PTR(-ENOMEM); in dma_buf_map_attachment() 499 return sg_table; in dma_buf_map_attachment() 513 struct sg_table *sg_table, in dma_buf_unmap_attachment() argument 518 if (WARN_ON(!attach || !attach->dmabuf || !sg_table)) in dma_buf_unmap_attachment() 521 attach->dmabuf->ops->unmap_dma_buf(attach, sg_table, in dma_buf_unmap_attachment()
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
D | qxl_prime.c | 42 struct sg_table *qxl_gem_prime_get_sg_table(struct drm_gem_object *obj) in qxl_gem_prime_get_sg_table() 50 struct sg_table *table) in qxl_gem_prime_import_sg_table()
|
D | qxl_drv.h | 542 struct sg_table *qxl_gem_prime_get_sg_table(struct drm_gem_object *obj); 545 struct sg_table *sgt);
|
/linux-4.1.27/drivers/crypto/qce/ |
D | cipher.h | 53 struct sg_table dst_tbl; 55 struct sg_table src_tbl;
|
D | dma.h | 58 qce_sgtable_add(struct sg_table *sgt, struct scatterlist *sg_add);
|
D | dma.c | 110 qce_sgtable_add(struct sg_table *sgt, struct scatterlist *new_sgl) in qce_sgtable_add()
|
/linux-4.1.27/drivers/gpu/drm/msm/ |
D | msm_mmu.h | 26 int (*map)(struct msm_mmu *mmu, uint32_t iova, struct sg_table *sgt, 28 int (*unmap)(struct msm_mmu *mmu, uint32_t iova, struct sg_table *sgt,
|
D | msm_gem_prime.c | 23 struct sg_table *msm_gem_prime_get_sg_table(struct drm_gem_object *obj) in msm_gem_prime_get_sg_table() 54 struct dma_buf_attachment *attach, struct sg_table *sg) in msm_gem_prime_import_sg_table()
|
D | msm_iommu.c | 47 struct sg_table *sgt, unsigned len, int prot) in msm_iommu_map() 86 struct sg_table *sgt, unsigned len) in msm_iommu_unmap()
|
D | msm_drv.h | 192 struct sg_table *msm_gem_prime_get_sg_table(struct drm_gem_object *obj); 197 struct dma_buf_attachment *attach, struct sg_table *sg); 216 uint32_t size, struct sg_table *sgt);
|
D | msm_gem.h | 52 struct sg_table *sgt;
|
D | msm_gem.c | 666 uint32_t size, struct sg_table *sgt) in msm_gem_import()
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.h | 29 struct sg_table *rockchip_gem_prime_get_sg_table(struct drm_gem_object *obj); 32 struct sg_table *sgt);
|
D | rockchip_drm_gem.c | 263 struct sg_table *rockchip_gem_prime_get_sg_table(struct drm_gem_object *obj) in rockchip_gem_prime_get_sg_table() 267 struct sg_table *sgt; in rockchip_gem_prime_get_sg_table()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_gem.h | 40 extern struct sg_table *nouveau_gem_prime_get_sg_table(struct drm_gem_object *); 42 struct drm_device *, struct dma_buf_attachment *, struct sg_table *);
|
D | nouveau_prime.c | 31 struct sg_table *nouveau_gem_prime_get_sg_table(struct drm_gem_object *obj) in nouveau_gem_prime_get_sg_table() 61 struct sg_table *sg) in nouveau_gem_prime_import_sg_table()
|
D | nouveau_bo.h | 73 u32 tile_mode, u32 tile_flags, struct sg_table *sg,
|
D | nouveau_bo.c | 184 struct sg_table *sg, struct reservation_object *robj, in nouveau_bo_new()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_gem_dmabuf.c | 35 static struct sg_table *i915_gem_map_dma_buf(struct dma_buf_attachment *attachment, in i915_gem_map_dma_buf() 39 struct sg_table *st; in i915_gem_map_dma_buf() 54 st = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in i915_gem_map_dma_buf() 93 struct sg_table *sg, in i915_gem_unmap_dma_buf() 252 struct sg_table *sg; in i915_gem_object_get_pages_dmabuf()
|
D | i915_gem_gtt.h | 133 struct sg_table *pages; 278 struct sg_table *st,
|
D | i915_gem_stolen.c | 337 static struct sg_table * 342 struct sg_table *st; in i915_pages_create_for_stolen()
|
D | i915_gem_gtt.c | 543 struct sg_table *pages, in gen8_ppgtt_insert_entries() 1129 struct sg_table *pages, in gen6_ppgtt_insert_entries() 1741 struct sg_table *st, in gen8_ggtt_insert_entries() 1787 struct sg_table *st, in gen6_ggtt_insert_entries() 1916 struct sg_table *pages = obj->pages; in ggtt_bind_vma() 2607 struct sg_table *st) in rotate_pages() 2632 static struct sg_table * 2642 struct sg_table *st; in intel_rotate_fb_obj_pages()
|
D | i915_gem_userptr.c | 513 st_set_pages(struct sg_table **st, struct page **pvec, int num_pages) in st_set_pages()
|
D | i915_gem.c | 173 struct sg_table *st; in i915_gem_object_get_pages_phys() 2040 struct sg_table *st; in i915_gem_object_get_pages_gtt()
|
D | i915_drv.h | 1987 struct sg_table *pages;
|
/linux-4.1.27/drivers/crypto/ccp/ |
D | ccp-crypto.h | 116 struct sg_table data_sg; 170 struct sg_table data_sg; 208 struct scatterlist *ccp_crypto_sg_table_add(struct sg_table *table,
|
D | ccp-crypto-main.c | 300 struct scatterlist *ccp_crypto_sg_table_add(struct sg_table *table, in ccp_crypto_sg_table_add()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_prime.c | 54 static struct sg_table *vmw_prime_map_dma_buf(struct dma_buf_attachment *attach, in vmw_prime_map_dma_buf() 61 struct sg_table *sgb, in vmw_prime_unmap_dma_buf()
|
D | vmwgfx_buffer.c | 209 struct sg_table sgt; 404 sgt_size = ttm_round_pot(sizeof(struct sg_table)); in vmw_ttm_map_dma()
|
D | vmwgfx_drv.h | 236 struct sg_table *sgt;
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
D | omap_gem_dmabuf.c | 24 static struct sg_table *omap_gem_map_dma_buf( in omap_gem_map_dma_buf() 29 struct sg_table *sg; in omap_gem_map_dma_buf() 63 struct sg_table *sg, enum dma_data_direction dir) in omap_gem_unmap_dma_buf()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_prime.c | 32 struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj) in radeon_gem_prime_get_sg_table() 62 struct sg_table *sg) in radeon_gem_prime_import_sg_table()
|
D | radeon_object.h | 128 struct sg_table *sg,
|
D | radeon_drv.c | 140 struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj); 143 struct sg_table *sg);
|
D | radeon_object.c | 180 u32 domain, u32 flags, struct sg_table *sg, in radeon_bo_create()
|
D | radeon_ttm.c | 724 ttm->sg = kcalloc(1, sizeof(struct sg_table), GFP_KERNEL); in radeon_ttm_tt_populate()
|
/linux-4.1.27/lib/ |
D | scatterlist.c | 177 void __sg_free_table(struct sg_table *table, unsigned int max_ents, in __sg_free_table() 222 void sg_free_table(struct sg_table *table) in sg_free_table() 247 int __sg_alloc_table(struct sg_table *table, unsigned int nents, in __sg_alloc_table() 331 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table() 364 int sg_alloc_table_from_pages(struct sg_table *sgt, in sg_alloc_table_from_pages()
|
/linux-4.1.27/net/ceph/ |
D | crypto.c | 105 static int setup_sgtable(struct sg_table *sgt, struct scatterlist *prealloc_sg, in setup_sgtable() 157 static void teardown_sgtable(struct sg_table *sgt) in teardown_sgtable() 168 struct sg_table sg_out; in ceph_aes_encrypt() 228 struct sg_table sg_out; in ceph_aes_encrypt2() 289 struct sg_table sg_in; in ceph_aes_decrypt() 354 struct sg_table sg_in; in ceph_aes_decrypt2()
|
/linux-4.1.27/drivers/ata/ |
D | sata_promise.h | 45 dma_addr_t sg_table, in pdc_pkt_header() argument 71 buf32[1] = cpu_to_le32(sg_table); /* S/G table addr */ in pdc_pkt_header()
|
D | sata_promise.c | 504 dma_addr_t sg_table = ap->bmdma_prd_dma; in pdc_atapi_pkt() local 529 buf32[1] = cpu_to_le32(sg_table); /* S/G table addr */ in pdc_atapi_pkt()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | gem.c | 38 static dma_addr_t tegra_bo_pin(struct host1x_bo *bo, struct sg_table **sgt) in tegra_bo_pin() 45 static void tegra_bo_unpin(struct host1x_bo *bo, struct sg_table *sgt) in tegra_bo_unpin() 192 struct sg_table *sgt; in tegra_bo_get_pages() 515 static struct sg_table * 521 struct sg_table *sgt; in tegra_gem_prime_map_dma_buf() 556 struct sg_table *sgt, in tegra_gem_prime_unmap_dma_buf()
|
D | gem.h | 37 struct sg_table *sgt;
|
/linux-4.1.27/include/drm/ttm/ |
D | ttm_bo_api.h | 255 struct sg_table *sg; 490 struct sg_table *sg,
|
D | ttm_bo_driver.h | 121 struct sg_table *sg; /* for SG objects via dma-buf */
|
/linux-4.1.27/drivers/gpu/host1x/ |
D | job.h | 46 struct sg_table *sgt;
|
D | job.c | 185 struct sg_table *sgt; in pin_job() 204 struct sg_table *sgt; in pin_job()
|
/linux-4.1.27/drivers/spi/ |
D | spi-pxa2xx.h | 63 struct sg_table rx_sgt; 64 struct sg_table tx_sgt;
|
D | spi-pxa2xx-dma.c | 29 struct sg_table *sgt; in pxa2xx_spi_map_dma_buffer() 78 struct sg_table *sgt; in pxa2xx_spi_unmap_dma_buffer() 167 struct sg_table *sgt; in pxa2xx_spi_dma_prepare_one()
|
D | spi-ep93xx.c | 105 struct sg_table rx_sgt; 106 struct sg_table tx_sgt; 439 struct sg_table *sgt; in ep93xx_spi_dma_prepare() 537 struct sg_table *sgt; in ep93xx_spi_dma_finish()
|
D | spi-rockchip.c | 198 struct sg_table tx_sg; 199 struct sg_table rx_sg;
|
D | spi-rspi.c | 514 static int rspi_dma_transfer(struct rspi_data *rspi, struct sg_table *tx, in rspi_dma_transfer() 515 struct sg_table *rx) in rspi_dma_transfer()
|
D | spi-pl022.c | 406 struct sg_table sgt_rx; 407 struct sg_table sgt_tx; 882 struct sg_table *sgtab) in setup_dma_scatter()
|
D | spi.c | 475 struct sg_table *sgt, void *buf, size_t len, in spi_map_buf() 525 struct sg_table *sgt, enum dma_data_direction dir) in spi_unmap_buf()
|
D | spi-imx.c | 903 struct sg_table *tx = &transfer->tx_sg, *rx = &transfer->rx_sg; in spi_imx_dma_transfer()
|
D | spi-s3c64xx.c | 277 struct sg_table *sgt) in prepare_dma()
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o_block.h | 94 struct scatterlist sg_table[I2O_MAX_PHYS_SEGMENTS]; /* SG table */ member
|
D | i2o_block.c | 290 sg_init_table(ireq->sg_table, I2O_MAX_PHYS_SEGMENTS); in i2o_block_request_alloc() 324 nents = blk_rq_map_sg(ireq->req->q, ireq->req, ireq->sg_table); in i2o_block_sglist_alloc() 333 return i2o_dma_map_sg(c, ireq->sg_table, nents, direction, mptr); in i2o_block_sglist_alloc() 351 dma_unmap_sg(ireq->dev, ireq->sg_table, ireq->sg_nents, direction); in i2o_block_sglist_free()
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
D | armada_gem.h | 21 struct sg_table *sgt; /* for imported */
|
D | armada_gem.c | 420 struct sg_table * 427 struct sg_table *sgt; in armada_gem_prime_map_dma_buf() 491 struct sg_table *sgt, enum dma_data_direction dir) in armada_gem_prime_unmap_dma_buf()
|
/linux-4.1.27/include/rdma/ |
D | ib_umem.h | 55 struct sg_table sg_head;
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | ispccdc.h | 60 struct sg_table sgt;
|
D | ispstat.h | 39 struct sg_table sgt;
|
/linux-4.1.27/include/asm-generic/ |
D | dma-mapping-common.h | 223 dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, 227 dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt, void *cpu_addr, in dma_get_sgtable_attrs()
|
/linux-4.1.27/arch/c6x/include/asm/ |
D | dma-mapping.h | 108 static inline int dma_get_sgtable(struct device *dev, struct sg_table *sgt, in dma_get_sgtable()
|
/linux-4.1.27/drivers/ide/ |
D | ide-dma.c | 136 struct scatterlist *sg = hwif->sg_table; in ide_dma_map_sg() 168 dma_unmap_sg(hwif->dev, hwif->sg_table, cmd->orig_sg_nents, in ide_dma_unmap_sg()
|
D | ide-probe.c | 976 hwif->sg_table = kmalloc(sizeof(struct scatterlist)*hwif->sg_max_nents, in hwif_init() 978 if (!hwif->sg_table) { in hwif_init() 983 sg_init_table(hwif->sg_table, hwif->sg_max_nents); in hwif_init() 1548 kfree(hwif->sg_table); in ide_unregister()
|
D | ide-dma-sff.c | 123 for_each_sg(hwif->sg_table, sg, cmd->sg_nents, i) { in ide_build_dmatable()
|
D | sgiioc4.c | 419 struct scatterlist *sg = hwif->sg_table; in sgiioc4_build_dmatable()
|
D | au1xxx-ide.c | 227 sg = hwif->sg_table; in auide_build_dmatable()
|
D | icside.c | 344 set_dma_sg(ec->dma, hwif->sg_table, cmd->sg_nents); in icside_dma_setup()
|
D | tx4939ide.c | 243 for_each_sg(hwif->sg_table, sg, cmd->sg_nents, i) { in tx4939ide_build_dmatable()
|
D | ide-taskfile.c | 227 struct scatterlist *sg = hwif->sg_table; in ide_pio_bytes()
|
D | ide-io.c | 226 struct scatterlist *sg = hwif->sg_table; in ide_map_sg()
|
D | pmac.c | 1476 sg = hwif->sg_table; in pmac_ide_build_dmatable()
|
/linux-4.1.27/arch/frv/include/asm/ |
D | dma-mapping.h | 143 static inline int dma_get_sgtable(struct device *dev, struct sg_table *sgt, in dma_get_sgtable()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | fb.h | 37 struct sg_table *sg;
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | dma-mapping.h | 116 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.1.27/include/linux/spi/ |
D | spi.h | 615 struct sg_table tx_sg; 616 struct sg_table rx_sg;
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | dma-mapping.h | 179 static inline int dma_get_sgtable(struct device *dev, struct sg_table *sgt, in dma_get_sgtable()
|
/linux-4.1.27/drivers/scsi/isci/ |
D | request.h | 124 struct scu_sgl_element_pair sg_table[SCU_SGL_SIZE] __attribute__ ((aligned(32))); member
|
D | request.c | 84 return &ireq->sg_table[idx - 2]; in to_sgl_element_pair() 102 return sci_io_request_get_dma_addr(ireq, &ireq->sg_table[idx - 2]); in to_sgl_element_pair_dma()
|
/linux-4.1.27/arch/nios2/include/asm/ |
D | dma-mapping.h | 133 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.1.27/arch/cris/include/asm/ |
D | dma-mapping.h | 164 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.1.27/drivers/char/agp/ |
D | intel-gtt.c | 99 struct sg_table *st) in intel_gtt_map_memory() 125 struct sg_table st; in intel_gtt_unmap_memory() 841 void intel_gtt_insert_sg_entries(struct sg_table *st, in intel_gtt_insert_sg_entries() 912 struct sg_table st; in intel_fake_agp_insert_entries()
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | dma-mapping.h | 181 static inline int dma_get_sgtable(struct device *dev, struct sg_table *sgt, in dma_get_sgtable()
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | dma-mapping.h | 342 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.1.27/drivers/mmc/core/ |
D | sdio_ops.c | 128 struct sg_table sgtable; in mmc_io_rw_extended()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | dma-mapping.h | 160 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.1.27/arch/metag/include/asm/ |
D | dma-mapping.h | 184 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.1.27/include/scsi/ |
D | scsi_cmnd.h | 35 struct sg_table table;
|
/linux-4.1.27/arch/arc/include/asm/ |
D | dma-mapping.h | 49 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | sdio.h | 197 struct sg_table sgtable;
|
/linux-4.1.27/include/linux/hsi/ |
D | hsi.h | 204 struct sg_table sgt;
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
D | saa7134-vbi.c | 121 struct sg_table *dma = vb2_dma_sg_plane_desc(&buf->vb2, 0); in buffer_prepare()
|
D | saa7134-ts.c | 95 struct sg_table *dma = vb2_dma_sg_plane_desc(vb2, 0); in saa7134_ts_buffer_prepare()
|
D | saa7134-core.c | 218 struct sg_table *dma = vb2_dma_sg_plane_desc(&buf->vb2, 0); in saa7134_buffer_base()
|
D | saa7134-video.c | 884 struct sg_table *dma = vb2_dma_sg_plane_desc(&buf->vb2, 0); in buffer_prepare()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23885-vbi.c | 144 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in buffer_prepare()
|
D | cx23885-video.c | 336 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in buffer_prepare()
|
D | cx23885-core.c | 1456 struct sg_table *sgt = vb2_dma_sg_plane_desc(&buf->vb, 0); in cx23885_buf_prepare()
|
/linux-4.1.27/arch/arm/include/asm/ |
D | dma-mapping.h | 333 extern int arm_dma_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.1.27/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2-enc.c | 318 struct sg_table *vbuf, int off, int size, in solo_send_desc() 462 struct sg_table *vbuf = vb2_dma_sg_plane_desc(vb, 0); in solo_fill_jpeg() 483 struct sg_table *vbuf = vb2_dma_sg_plane_desc(vb, 0); in solo_fill_mpeg() 745 struct sg_table *vbuf = vb2_dma_sg_plane_desc(vb, 0); in solo_enc_buf_finish()
|
/linux-4.1.27/drivers/base/ |
D | dma-mapping.c | 228 int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, in dma_common_get_sgtable()
|
/linux-4.1.27/Documentation/ |
D | dma-buf-sharing.txt | 122 struct sg_table * dma_buf_map_attachment(struct dma_buf_attachment *, 129 struct sg_table * (*map_dma_buf)(struct dma_buf_attachment *, 133 It should return the sg_table containing scatterlist for this buffer, mapped 155 struct sg_table *); 162 struct sg_table *,
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-vbi.c | 132 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in buffer_prepare()
|
D | cx88-mpeg.c | 230 struct sg_table *sgt = vb2_dma_sg_plane_desc(&buf->vb, 0); in cx8802_buf_prepare()
|
D | cx88-video.c | 452 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in buffer_prepare()
|
/linux-4.1.27/drivers/scsi/esas2r/ |
D | esas2r_io.c | 273 - (u8 *)rq->sg_table-> in esas2r_build_sg_list_sge() 337 (u8 *)rq->sg_table->virt_addr)); in esas2r_build_sg_list_sge()
|
D | esas2r.h | 659 struct esas2r_mem_desc *sg_table; member
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | dma-mapping.h | 252 static inline int dma_get_sgtable(struct device *dev, struct sg_table *sgt, in dma_get_sgtable()
|
/linux-4.1.27/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 1203 struct sg_table *sg_table = vb2_dma_sg_plane_desc(vb, 0); in mcam_vb_sg_buf_prepare() local 1208 for_each_sg(sg_table->sgl, sg, sg_table->nents, i) { in mcam_vb_sg_buf_prepare()
|
/linux-4.1.27/drivers/misc/carma/ |
D | carma-fpga.c | 170 struct sg_table corl_table; 465 struct sg_table *table = &priv->corl_table; in data_setup_corl_table()
|
D | carma-fpga-program.c | 537 struct sg_table table; in fpga_program_dma()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | sur40.c | 375 struct sg_table *sgt; in sur40_process_video()
|
/linux-4.1.27/arch/arm/mm/ |
D | dma-mapping.c | 767 int arm_dma_get_sgtable(struct device *dev, struct sg_table *sgt, in arm_dma_get_sgtable() 1454 static int arm_iommu_get_sgtable(struct device *dev, struct sg_table *sgt, in arm_iommu_get_sgtable()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfad_bsg.c | 3257 struct bfa_sge_s *sg_table; in bfad_fcxp_map_sg() local 3265 sg_table = (struct bfa_sge_s *) (((uint8_t *)buf_base) + in bfad_fcxp_map_sg() 3283 sg_table->sg_len = buf_info->size; in bfad_fcxp_map_sg() 3284 sg_table->sg_addr = (void *)(size_t) buf_info->phys; in bfad_fcxp_map_sg()
|
/linux-4.1.27/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 166 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in cx25821_buffer_prepare()
|
/linux-4.1.27/drivers/media/pci/tw68/ |
D | tw68-video.c | 463 struct sg_table *dma = vb2_dma_sg_plane_desc(vb, 0); in tw68_buf_prepare()
|
/linux-4.1.27/drivers/scsi/ |
D | virtio_scsi.c | 431 struct sg_table *out, *in; in virtscsi_add_cmd()
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 1084 struct sg_table *sg, in ttm_bo_init()
|