/linux-4.4.14/drivers/target/ |
D | target_core_rd.c | 76 static u32 rd_release_sgl_table(struct rd_dev *rd_dev, struct rd_dev_sg_table *sg_table, in rd_release_sgl_table() argument 84 sg = sg_table[i].sg_table; in rd_release_sgl_table() 85 sg_per_table = sg_table[i].rd_sg_count; in rd_release_sgl_table() 97 kfree(sg_table); in rd_release_sgl_table() 125 static int rd_allocate_sgl_table(struct rd_dev *rd_dev, struct rd_dev_sg_table *sg_table, in rd_allocate_sgl_table() argument 158 sg_chain(sg_table[i - 1].sg_table, in rd_allocate_sgl_table() 162 sg_table[i].sg_table = sg; in rd_allocate_sgl_table() 163 sg_table[i].rd_sg_count = sg_per_table; in rd_allocate_sgl_table() 164 sg_table[i].page_start_offset = page_offset; in rd_allocate_sgl_table() 165 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.4.14/drivers/media/v4l2-core/ |
D | videobuf2-dma-sg.c | 44 struct sg_table sg_table; member 50 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() 182 struct sg_table *sgt = &buf->sg_table; in vb2_dma_sg_put() 207 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_prepare() 220 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_finish() 235 struct sg_table *sgt; in vb2_dma_sg_get_userptr() 249 buf->dma_sgt = &buf->sg_table; in vb2_dma_sg_get_userptr() [all …]
|
D | videobuf2-dma-contig.c | 34 struct sg_table *dma_sgt; 40 struct sg_table *sgt_base; 50 static unsigned long vb2_dc_get_contiguous_size(struct sg_table *sgt) in vb2_dc_get_contiguous_size() 97 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_prepare() 110 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_finish() 214 struct sg_table sgt; 224 struct sg_table *sgt; in vb2_dc_dmabuf_ops_attach() 260 struct sg_table *sgt; in vb2_dc_dmabuf_ops_detach() 276 static struct sg_table *vb2_dc_dmabuf_ops_map( in vb2_dc_dmabuf_ops_map() 282 struct sg_table *sgt; in vb2_dc_dmabuf_ops_map() [all …]
|
D | videobuf2-vmalloc.c | 202 struct sg_table sgt; 212 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_attach() 249 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_detach() 265 static struct sg_table *vb2_vmalloc_dmabuf_ops_map( in vb2_vmalloc_dmabuf_ops_map() 271 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_map() 306 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_unmap()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_gem.h | 55 struct sg_table *sgt; 150 struct sg_table *sgt, 155 struct sg_table *sgt, 159 struct sg_table *exynos_drm_gem_prime_get_sg_table(struct drm_gem_object *obj); 163 struct sg_table *sgt);
|
D | exynos_drm_gem.c | 28 struct sg_table sgt; in exynos_drm_alloc_buf() 376 struct sg_table *sgt, in exynos_gem_map_sgt_with_dma() 395 struct sg_table *sgt, in exynos_gem_unmap_sgt_from_dma() 549 struct sg_table *exynos_drm_gem_prime_get_sg_table(struct drm_gem_object *obj) in exynos_drm_gem_prime_get_sg_table() 562 struct sg_table *sgt) in exynos_drm_gem_prime_import_sg_table()
|
D | exynos_drm_g2d.c | 198 struct sg_table *sgt; 416 struct sg_table *sgt; in g2d_userptr_get_dma_addr()
|
/linux-4.4.14/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() 202 static struct sg_table *ion_system_heap_map_dma(struct ion_heap *heap, in ion_system_heap_map_dma() 332 struct sg_table *table; in ion_system_contig_heap_allocate() 349 table = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in ion_system_contig_heap_allocate() 378 struct sg_table *table = buffer->priv_virt; in ion_system_contig_heap_free() 393 struct sg_table *table = buffer->priv_virt; in ion_system_contig_heap_phys() 400 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_priv.h | 80 struct sg_table *sg_table; member 116 struct sg_table * (*map_dma)(struct ion_heap *heap,
|
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.c | 183 struct sg_table *table; in ion_buffer_create() 220 buffer->sg_table = table; in ion_buffer_create() 254 for_each_sg(buffer->sg_table->sgl, sg, buffer->sg_table->nents, i) { in ion_buffer_create() 856 struct sg_table *ion_sg_table(struct ion_client *client, in ion_sg_table() 860 struct sg_table *table; in ion_sg_table() 870 table = buffer->sg_table; in ion_sg_table() 880 static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment, in ion_map_dma_buf() 887 return buffer->sg_table; in ion_map_dma_buf() 891 struct sg_table *table, in ion_unmap_dma_buf() 1222 dma_sync_sg_for_device(NULL, buffer->sg_table->sgl, in ion_sync_for_device() [all …]
|
D | ion.h | 159 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.4.14/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.4.14/include/linux/ |
D | scatterlist.h | 38 struct sg_table { struct 259 void __sg_free_table(struct sg_table *, unsigned int, bool, sg_free_fn *); 260 void sg_free_table(struct sg_table *); 261 int __sg_alloc_table(struct sg_table *, unsigned int, unsigned int, 263 int sg_alloc_table(struct sg_table *, unsigned int, gfp_t); 264 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 *, 223 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *, 225 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 | 28 int (*get_sgtable)(struct device *dev, struct sg_table *sgt, void *,
|
D | ide.h | 727 struct scatterlist *sg_table; member
|
/linux-4.4.14/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 | 606 struct sg_table *(*gem_prime_get_sg_table)(struct drm_gem_object *obj); 610 struct sg_table *sgt); 931 void drm_clflush_sg(struct sg_table *st); 1042 extern int drm_prime_sg_to_page_addr_arrays(struct sg_table *sgt, struct page **pages, 1044 extern struct sg_table *drm_prime_pages_to_sg(struct page **pages, unsigned int nr_pages); 1045 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.4.14/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() 503 struct sg_table *sgt; in drm_gem_prime_import() 678 struct sg_table *drm_prime_pages_to_sg(struct page **pages, unsigned int nr_pages) in drm_prime_pages_to_sg() 680 struct sg_table *sg = NULL; in drm_prime_pages_to_sg() 683 sg = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in drm_prime_pages_to_sg() 711 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 | 404 struct sg_table *drm_gem_cma_prime_get_sg_table(struct drm_gem_object *obj) in drm_gem_cma_prime_get_sg_table() 407 struct sg_table *sgt; in drm_gem_cma_prime_get_sg_table() 447 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.4.14/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.4.14/drivers/dma-buf/ |
D | dma-buf.c | 494 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *attach, in dma_buf_map_attachment() 497 struct sg_table *sg_table = ERR_PTR(-EINVAL); in dma_buf_map_attachment() local 504 sg_table = attach->dmabuf->ops->map_dma_buf(attach, direction); in dma_buf_map_attachment() 505 if (!sg_table) in dma_buf_map_attachment() 506 sg_table = ERR_PTR(-ENOMEM); in dma_buf_map_attachment() 508 return sg_table; in dma_buf_map_attachment() 522 struct sg_table *sg_table, in dma_buf_unmap_attachment() argument 527 if (WARN_ON(!attach || !attach->dmabuf || !sg_table)) in dma_buf_unmap_attachment() 530 attach->dmabuf->ops->unmap_dma_buf(attach, sg_table, in dma_buf_unmap_attachment()
|
/linux-4.4.14/drivers/crypto/qce/ |
D | cipher.h | 49 struct sg_table dst_tbl; 51 struct sg_table src_tbl;
|
D | dma.h | 53 qce_sgtable_add(struct sg_table *sgt, struct scatterlist *sg_add);
|
D | dma.c | 58 qce_sgtable_add(struct sg_table *sgt, struct scatterlist *new_sgl) in qce_sgtable_add()
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_prime.c | 42 struct sg_table *virtgpu_gem_prime_get_sg_table(struct drm_gem_object *obj) in virtgpu_gem_prime_get_sg_table() 50 struct sg_table *table) in virtgpu_gem_prime_import_sg_table()
|
D | virtgpu_drv.h | 58 struct sg_table *pages; 365 struct sg_table *virtgpu_gem_prime_get_sg_table(struct drm_gem_object *obj); 368 struct sg_table *sgt);
|
D | virtgpu_object.c | 132 bo->pages = kmalloc(sizeof(struct sg_table), GFP_KERNEL); in virtio_gpu_object_get_sg_table()
|
/linux-4.4.14/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.4.14/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() 56 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 | 211 struct sg_table *msm_gem_prime_get_sg_table(struct drm_gem_object *obj); 216 struct dma_buf_attachment *attach, struct sg_table *sg); 235 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.4.14/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 | 257 struct sg_table *rockchip_gem_prime_get_sg_table(struct drm_gem_object *obj) in rockchip_gem_prime_get_sg_table() 261 struct sg_table *sgt; in rockchip_gem_prime_get_sg_table()
|
/linux-4.4.14/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 | 179 struct sg_table *sg, struct reservation_object *robj, in nouveau_bo_new()
|
/linux-4.4.14/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 | 161 struct sg_table *pages; 324 struct sg_table *st,
|
D | i915_gem_gtt.c | 820 struct sg_table *pages, in gen8_ppgtt_insert_entries() 1829 struct sg_table *pages, in gen6_ppgtt_insert_entries() 2344 struct sg_table *st, in gen8_ggtt_insert_entries() 2390 struct sg_table *st, in gen6_ggtt_insert_entries() 2480 struct sg_table *pages, in i915_ggtt_insert_entries() 2538 struct sg_table *pages = obj->pages; in aliasing_gtt_bind_vma() 3273 struct sg_table *st, struct scatterlist *sg) in rotate_pages() 3302 static struct sg_table * 3312 struct sg_table *st; in intel_rotate_fb_obj_pages() 3391 static struct sg_table * [all …]
|
D | i915_gem_stolen.c | 487 static struct sg_table * 492 struct sg_table *st; in i915_pages_create_for_stolen()
|
D | i915_guc_submission.c | 390 struct sg_table *sg; in guc_init_ctx_desc() 475 struct sg_table *sg; in guc_fini_ctx_desc()
|
D | intel_guc_loader.c | 240 struct sg_table *sg = fw_obj->pages; in guc_ucode_xfer_dma()
|
D | i915_gem_userptr.c | 479 st_set_pages(struct sg_table **st, struct page **pvec, int num_pages) in st_set_pages()
|
D | i915_gem.c | 160 struct sg_table *st; in i915_gem_object_get_pages_phys() 2247 struct sg_table *st; in i915_gem_object_get_pages_gtt() 5249 struct sg_table *sg; in i915_gem_object_create_from_data()
|
D | i915_drv.h | 2118 struct sg_table *pages;
|
/linux-4.4.14/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.4.14/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 | 222 struct sg_table sgt; 417 sgt_size = ttm_round_pot(sizeof(struct sg_table)); in vmw_ttm_map_dma()
|
D | vmwgfx_drv.h | 249 struct sg_table *sgt;
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_prime.c | 32 struct sg_table *amdgpu_gem_prime_get_sg_table(struct drm_gem_object *obj) in amdgpu_gem_prime_get_sg_table() 62 struct sg_table *sg) in amdgpu_gem_prime_import_sg_table()
|
D | amdgpu_object.h | 131 struct sg_table *sg, 137 struct sg_table *sg,
|
D | amdgpu_object.c | 220 struct sg_table *sg, in amdgpu_bo_create_restricted() 290 struct sg_table *sg, in amdgpu_bo_create()
|
D | amdgpu_cgs.c | 87 struct sg_table *sg = drm_prime_pages_to_sg(&kmem_page, npages); in amdgpu_cgs_gmap_kmem()
|
D | amdgpu.h | 557 struct sg_table *amdgpu_gem_prime_get_sg_table(struct drm_gem_object *obj); 560 struct sg_table *sg);
|
D | amdgpu_ttm.c | 681 ttm->sg = kzalloc(sizeof(struct sg_table), GFP_KERNEL); in amdgpu_ttm_tt_populate()
|
/linux-4.4.14/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 | 141 struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj); 144 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 = kzalloc(sizeof(struct sg_table), GFP_KERNEL); in radeon_ttm_tt_populate()
|
/linux-4.4.14/lib/ |
D | scatterlist.c | 205 void __sg_free_table(struct sg_table *table, unsigned int max_ents, in __sg_free_table() 250 void sg_free_table(struct sg_table *table) in sg_free_table() 275 int __sg_alloc_table(struct sg_table *table, unsigned int nents, in __sg_alloc_table() 359 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table() 392 int sg_alloc_table_from_pages(struct sg_table *sgt, in sg_alloc_table_from_pages()
|
/linux-4.4.14/net/ceph/ |
D | crypto.c | 101 static int setup_sgtable(struct sg_table *sgt, struct scatterlist *prealloc_sg, in setup_sgtable() 153 static void teardown_sgtable(struct sg_table *sgt) in teardown_sgtable() 164 struct sg_table sg_out; in ceph_aes_encrypt() 224 struct sg_table sg_out; in ceph_aes_encrypt2() 285 struct sg_table sg_in; in ceph_aes_decrypt() 350 struct sg_table sg_in; in ceph_aes_decrypt2()
|
/linux-4.4.14/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.4.14/drivers/spi/ |
D | spi-pxa2xx.h | 55 struct sg_table rx_sgt; 56 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 | 515 static int rspi_dma_transfer(struct rspi_data *rspi, struct sg_table *tx, in rspi_dma_transfer() 516 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-bcm2835.c | 289 static inline int bcm2835_check_sg_length(struct sg_table *sgt) in bcm2835_check_sg_length()
|
D | spi.c | 684 struct sg_table *sgt, void *buf, size_t len, in spi_map_buf() 744 struct sg_table *sgt, enum dma_data_direction dir) in spi_unmap_buf()
|
D | spi-imx.c | 910 struct sg_table *tx = &transfer->tx_sg, *rx = &transfer->rx_sg; in spi_imx_dma_transfer()
|
D | spi-s3c64xx.c | 278 struct sg_table *sgt) in prepare_dma()
|
/linux-4.4.14/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.4.14/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.4.14/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() 506 static struct sg_table * 512 struct sg_table *sgt; in tegra_gem_prime_map_dma_buf() 547 struct sg_table *sgt, in tegra_gem_prime_unmap_dma_buf()
|
D | gem.h | 37 struct sg_table *sgt;
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
D | armada_gem.h | 21 struct sg_table *sgt; /* for imported */
|
D | armada_gem.c | 421 struct sg_table * 428 struct sg_table *sgt; in armada_gem_prime_map_dma_buf() 492 struct sg_table *sgt, enum dma_data_direction dir) in armada_gem_prime_unmap_dma_buf()
|
/linux-4.4.14/include/rdma/ |
D | ib_umem.h | 55 struct sg_table sg_head;
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | ispccdc.h | 60 struct sg_table sgt;
|
D | ispstat.h | 39 struct sg_table sgt;
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | fb.h | 37 struct sg_table *sg;
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | dma-mapping.h | 116 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.4.14/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.4.14/arch/cris/include/asm/ |
D | dma-mapping.h | 164 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.4.14/arch/nios2/include/asm/ |
D | dma-mapping.h | 133 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.4.14/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.4.14/include/linux/spi/ |
D | spi.h | 687 struct sg_table tx_sg; 688 struct sg_table rx_sg;
|
/linux-4.4.14/arch/arm/include/asm/ |
D | dma-mapping.h | 281 extern int arm_dma_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.4.14/include/asm-generic/ |
D | dma-mapping-common.h | 224 dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, 228 dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt, void *cpu_addr, in dma_get_sgtable_attrs()
|
/linux-4.4.14/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.4.14/drivers/mmc/core/ |
D | sdio_ops.c | 128 struct sg_table sgtable; in mmc_io_rw_extended()
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | dma-mapping.h | 160 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | dma-mapping.h | 343 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.4.14/arch/metag/include/asm/ |
D | dma-mapping.h | 188 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.4.14/include/scsi/ |
D | scsi_cmnd.h | 35 struct sg_table table;
|
/linux-4.4.14/arch/arc/include/asm/ |
D | dma-mapping.h | 32 extern int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt,
|
/linux-4.4.14/include/linux/hsi/ |
D | hsi.h | 204 struct sg_table sgt;
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | sdio.h | 197 struct sg_table sgtable;
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
D | saa7134-vbi.c | 124 struct sg_table *dma = vb2_dma_sg_plane_desc(vb2, 0); in buffer_prepare()
|
D | saa7134-ts.c | 99 struct sg_table *dma = vb2_dma_sg_plane_desc(vb2, 0); in saa7134_ts_buffer_prepare()
|
D | saa7134-core.c | 226 struct sg_table *dma = vb2_dma_sg_plane_desc(&buf->vb2.vb2_buf, 0); in saa7134_buffer_base()
|
D | saa7134-video.c | 889 struct sg_table *dma = vb2_dma_sg_plane_desc(vb2, 0); in buffer_prepare()
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2-enc.c | 318 struct sg_table *vbuf, int off, int size, in solo_send_desc() 463 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in solo_fill_jpeg() 485 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in solo_fill_mpeg() 751 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in solo_enc_buf_finish()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_rma.h | 259 struct sg_table *st;
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
D | cx23885-vbi.c | 145 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in buffer_prepare()
|
D | cx23885-video.c | 337 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in buffer_prepare()
|
D | cx23885-core.c | 1457 struct sg_table *sgt = vb2_dma_sg_plane_desc(&buf->vb.vb2_buf, 0); in cx23885_buf_prepare()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/media/pci/cx88/ |
D | cx88-vbi.c | 131 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in buffer_prepare()
|
D | cx88-mpeg.c | 228 struct sg_table *sgt = vb2_dma_sg_plane_desc(&buf->vb.vb2_buf, 0); in cx8802_buf_prepare()
|
D | cx88-video.c | 451 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in buffer_prepare()
|
/linux-4.4.14/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.4.14/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 1223 struct sg_table *sg_table = vb2_dma_sg_plane_desc(vb, 0); in mcam_vb_sg_buf_prepare() local 1228 for_each_sg(sg_table->sgl, sg, sg_table->nents, i) { in mcam_vb_sg_buf_prepare()
|
/linux-4.4.14/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.4.14/arch/arm64/mm/ |
D | dma-mapping.c | 331 static int __swiotlb_get_sgtable(struct device *dev, struct sg_table *sgt, in __swiotlb_get_sgtable() 654 static int __iommu_get_sgtable(struct device *dev, struct sg_table *sgt, in __iommu_get_sgtable()
|
/linux-4.4.14/drivers/iommu/ |
D | dma-iommu.c | 289 struct sg_table sgt; in iommu_dma_alloc()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | sur40.c | 376 struct sg_table *sgt; in sur40_process_video()
|
/linux-4.4.14/arch/arm/mm/ |
D | dma-mapping.c | 777 int arm_dma_get_sgtable(struct device *dev, struct sg_table *sgt, in arm_dma_get_sgtable() 1466 static int arm_iommu_get_sgtable(struct device *dev, struct sg_table *sgt, in arm_iommu_get_sgtable()
|
/linux-4.4.14/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.4.14/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 168 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in cx25821_buffer_prepare()
|
/linux-4.4.14/drivers/media/pci/tw68/ |
D | tw68-video.c | 466 struct sg_table *dma = vb2_dma_sg_plane_desc(vb, 0); in tw68_buf_prepare()
|
/linux-4.4.14/drivers/scsi/ |
D | virtio_scsi.c | 431 struct sg_table *out, *in; in virtscsi_add_cmd()
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
D | cobalt-v4l2.c | 79 struct sg_table *sg_desc = vb2_dma_sg_plane_desc(vb, 0); in cobalt_buf_init()
|
/linux-4.4.14/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 1088 struct sg_table *sg, in ttm_bo_init()
|