/linux/drivers/media/common/videobuf2/ |
A D | videobuf2-dma-sg.c | 105 struct sg_table *sgt; in vb2_dma_sg_alloc() local 205 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_prepare() local 216 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_finish() local 228 struct sg_table *sgt; in vb2_dma_sg_get_userptr() local 363 struct sg_table sgt; member 373 struct sg_table *sgt; in vb2_dma_sg_dmabuf_ops_attach() local 409 struct sg_table *sgt; in vb2_dma_sg_dmabuf_ops_detach() local 430 struct sg_table *sgt; in vb2_dma_sg_dmabuf_ops_map() local 478 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_dmabuf_ops_begin_cpu_access() local 489 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_dmabuf_ops_end_cpu_access() local [all …]
|
A D | videobuf2-dma-contig.c | 126 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_prepare() local 146 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_finish() local 313 struct sg_table sgt; member 323 struct sg_table *sgt; in vb2_dc_dmabuf_ops_attach() local 359 struct sg_table *sgt; in vb2_dc_dmabuf_ops_detach() local 387 struct sg_table *sgt; in vb2_dc_dmabuf_ops_map() local 485 struct sg_table *sgt; in vb2_dc_get_base_sgt() local 543 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_put_userptr() local 579 struct sg_table *sgt; in vb2_dc_get_userptr() local 700 struct sg_table *sgt; in vb2_dc_map_dmabuf() local [all …]
|
A D | videobuf2-vmalloc.c | 204 struct sg_table sgt; member 214 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_attach() local 251 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_detach() local 272 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_map() local 304 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_unmap()
|
/linux/drivers/hwtracing/intel_th/ |
A D | msu-sink.c | 51 static int msu_sink_alloc_window(void *data, struct sg_table **sgt, size_t size) in msu_sink_alloc_window() 81 static void msu_sink_free_window(void *data, struct sg_table *sgt) in msu_sink_free_window() 96 static int msu_sink_ready(void *data, struct sg_table *sgt, size_t bytes) in msu_sink_ready()
|
/linux/drivers/spi/ |
A D | internals.h | 30 struct sg_table *sgt, void *buf, size_t len, in spi_map_buf() 37 struct device *dev, struct sg_table *sgt, in spi_unmap_buf()
|
/linux/drivers/gpu/drm/ |
A D | drm_prime.c | 620 struct sg_table *sgt; in drm_gem_map_dma_buf() local 654 struct sg_table *sgt, in drm_gem_unmap_dma_buf() 847 unsigned long drm_prime_get_contiguous_size(struct sg_table *sgt) in drm_prime_get_contiguous_size() 914 struct sg_table *sgt; in drm_gem_prime_import_dev() local 998 int __deprecated drm_prime_sg_to_page_array(struct sg_table *sgt, in drm_prime_sg_to_page_array() 1025 int drm_prime_sg_to_dma_addr_array(struct sg_table *sgt, dma_addr_t *addrs, in drm_prime_sg_to_dma_addr_array()
|
A D | drm_gem_cma_helper.c | 405 struct sg_table *sgt; in drm_gem_cma_get_sg_table() local 445 struct sg_table *sgt) in drm_gem_cma_prime_import_sg_table() 561 struct sg_table *sgt) in drm_gem_cma_prime_import_sg_table_vmap()
|
/linux/include/linux/ |
A D | scatterlist.h | 43 struct sg_table sgt; /* The scatter list table */ member 157 #define for_each_sgtable_sg(sgt, sg, i) \ argument 165 #define for_each_sgtable_dma_sg(sgt, sg, i) \ argument 325 static inline int sg_alloc_table_from_pages(struct sg_table *sgt, in sg_alloc_table_from_pages() 491 #define for_each_sgtable_page(sgt, piter, pgoffset) \ argument 505 #define for_each_sgtable_dma_page(sgt, dma_iter, pgoffset) \ argument
|
A D | dma-mapping.h | 180 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() 234 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, in dma_get_sgtable_attrs() 284 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous() 288 struct sg_table *sgt) in dma_vmap_noncontiguous() 296 struct vm_area_struct *vma, size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous() 365 static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt, in dma_unmap_sgtable() 384 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_cpu() 401 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_device()
|
/linux/drivers/xen/ |
A D | gntdev-dmabuf.c | 54 struct sg_table *sgt; member 73 struct sg_table *sgt; member 206 struct sg_table *sgt; in dmabuf_pages_to_sgt() local 249 struct sg_table *sgt = gntdev_dmabuf_attach->sgt; in dmabuf_exp_ops_detach() local 271 struct sg_table *sgt; in dmabuf_exp_ops_map_dma_buf() local 309 struct sg_table *sgt, in dmabuf_exp_ops_unmap_dma_buf() 587 struct sg_table *sgt; in dmabuf_imp_to_refs() local
|
/linux/kernel/dma/ |
A D | mapping.c | 259 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() 388 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt, in dma_get_sgtable_attrs() 606 struct sg_table *sgt; in alloc_single_sgt() local 631 struct sg_table *sgt; in dma_alloc_noncontiguous() local 650 struct sg_table *sgt, enum dma_data_direction dir) in free_single_sgt() 659 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous() 672 struct sg_table *sgt) in dma_vmap_noncontiguous() 693 size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
|
/linux/drivers/gpu/drm/tegra/ |
A D | gem.c | 34 static int sg_alloc_table_from_sg(struct sg_table *sgt, struct scatterlist *sg, in sg_alloc_table_from_sg() 60 struct sg_table *sgt; in tegra_bo_pin() local 127 static void tegra_bo_unpin(struct device *dev, struct sg_table *sgt) in tegra_bo_unpin() 569 struct sg_table *sgt; in tegra_gem_prime_map_dma_buf() local 597 struct sg_table *sgt, in tegra_gem_prime_unmap_dma_buf()
|
A D | plane.c | 148 struct sg_table *sgt; in tegra_dc_pin() local 199 struct sg_table *sgt = state->sgt[i]; in tegra_dc_pin() local 218 struct sg_table *sgt = state->sgt[i]; in tegra_dc_unpin() local
|
/linux/net/ceph/ |
A D | crypto.c | 161 static int setup_sgtable(struct sg_table *sgt, struct scatterlist *prealloc_sg, in setup_sgtable() 213 static void teardown_sgtable(struct sg_table *sgt) in teardown_sgtable() 223 struct sg_table sgt; in ceph_aes_crypt() local
|
/linux/drivers/gpu/drm/virtio/ |
A D | virtgpu_vram.c | 75 struct sg_table *sgt; in virtio_gpu_vram_map_dma_buf() local 116 struct sg_table *sgt, in virtio_gpu_vram_unmap_dma_buf()
|
/linux/drivers/gpu/drm/rcar-du/ |
A D | rcar_du_vsp.c | 195 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() local 239 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() local 275 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_unmap_fb() local
|
/linux/drivers/staging/media/tegra-vde/ |
A D | dmabuf-cache.c | 27 struct sg_table *sgt; member 72 struct sg_table *sgt; in tegra_vde_dmabuf_cache_map() local
|
/linux/drivers/gpu/drm/v3d/ |
A D | v3d_bo.c | 92 struct sg_table *sgt; in v3d_bo_create_finish() local 151 struct sg_table *sgt) in v3d_prime_import_sg_table()
|
/linux/drivers/fpga/ |
A D | fpga-mgr.c | 87 struct sg_table *sgt) in fpga_mgr_write_sg() 168 struct sg_table *sgt) in fpga_mgr_write_init_sg() 225 struct sg_table *sgt) in fpga_mgr_buf_load_sg() 301 struct sg_table sgt; in fpga_mgr_buf_load() local
|
/linux/drivers/gpu/drm/mediatek/ |
A D | mtk_drm_gem.c | 183 struct sg_table *sgt; in mtk_gem_prime_get_sg_table() local 226 struct sg_table *sgt = NULL; in mtk_drm_gem_prime_vmap() local
|
/linux/drivers/gpu/drm/etnaviv/ |
A D | etnaviv_mmu.c | 73 struct sg_table *sgt, unsigned len, int prot) in etnaviv_iommu_map() 103 struct sg_table *sgt, unsigned len) in etnaviv_iommu_unmap() 232 struct sg_table *sgt = etnaviv_obj->sgt; in etnaviv_iommu_map_gem() local
|
A D | etnaviv_gem.c | 23 struct sg_table *sgt = etnaviv_obj->sgt; in etnaviv_gem_scatter_map() local 36 struct sg_table *sgt = etnaviv_obj->sgt; in etnaviv_gem_scatterlist_unmap() local 104 struct sg_table *sgt; in etnaviv_gem_get_pages() local
|
/linux/drivers/crypto/caam/ |
A D | caamalg_qi2.h | 118 struct dpaa2_sg_entry sgt[]; member 136 struct dpaa2_sg_entry sgt[]; member 150 struct dpaa2_sg_entry sgt[]; member
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_dma_buf.c | 160 struct sg_table *sgt; in amdgpu_dma_buf_map() local 225 struct sg_table *sgt, in amdgpu_dma_buf_unmap()
|
/linux/drivers/infiniband/core/ |
A D | rw.c | 285 static int rdma_rw_map_sgtable(struct ib_device *dev, struct sg_table *sgt, in rdma_rw_map_sgtable() 323 struct sg_table sgt = { in rdma_rw_ctx_init() local 399 struct sg_table sgt = { in rdma_rw_ctx_signature_init() local
|