/Linux-v6.1/drivers/media/common/videobuf2/ |
D | videobuf2-dma-sg.c | 105 struct sg_table *sgt; in vb2_dma_sg_alloc() local 182 struct sg_table *sgt = &buf->sg_table; in vb2_dma_sg_put() local 204 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_prepare() local 215 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_finish() local 227 struct sg_table *sgt; in vb2_dma_sg_get_userptr() local 285 struct sg_table *sgt = &buf->sg_table; in vb2_dma_sg_put_userptr() local 362 struct sg_table sgt; member 372 struct sg_table *sgt; in vb2_dma_sg_dmabuf_ops_attach() local 408 struct sg_table *sgt; in vb2_dma_sg_dmabuf_ops_detach() local 429 struct sg_table *sgt; in vb2_dma_sg_dmabuf_ops_map() local [all …]
|
D | videobuf2-dma-contig.c | 53 static unsigned long vb2_dc_get_contiguous_size(struct sg_table *sgt) in vb2_dc_get_contiguous_size() 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 424 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_dc_dmabuf_ops_unmap() 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 [all …]
|
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-v6.1/drivers/hwtracing/intel_th/ |
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() 84 static void msu_sink_free_window(void *data, struct sg_table *sgt) in msu_sink_free_window() 99 static int msu_sink_ready(void *data, struct sg_table *sgt, size_t bytes) in msu_sink_ready()
|
/Linux-v6.1/drivers/spi/ |
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-v6.1/drivers/gpu/drm/ |
D | drm_prime.c | 624 struct sg_table *sgt; in drm_gem_map_dma_buf() local 658 struct sg_table *sgt, in drm_gem_unmap_dma_buf() 851 unsigned long drm_prime_get_contiguous_size(struct sg_table *sgt) in drm_prime_get_contiguous_size() 918 struct sg_table *sgt; in drm_gem_prime_import_dev() local 1002 int __deprecated drm_prime_sg_to_page_array(struct sg_table *sgt, in drm_prime_sg_to_page_array() 1029 int drm_prime_sg_to_dma_addr_array(struct sg_table *sgt, dma_addr_t *addrs, in drm_prime_sg_to_dma_addr_array()
|
D | drm_gem_dma_helper.c | 424 struct sg_table *sgt; in drm_gem_dma_get_sg_table() local 464 struct sg_table *sgt) in drm_gem_dma_prime_import_sg_table() 577 struct sg_table *sgt) in drm_gem_dma_prime_import_sg_table_vmap()
|
/Linux-v6.1/include/linux/ |
D | scatterlist.h | 46 struct sg_table sgt; /* The scatter list table */ member 177 #define for_each_sgtable_sg(sgt, sg, i) \ argument 185 #define for_each_sgtable_dma_sg(sgt, sg, i) \ argument 411 static inline int sg_alloc_table_from_pages(struct sg_table *sgt, in sg_alloc_table_from_pages() 577 #define for_each_sgtable_page(sgt, piter, pgoffset) \ argument 591 #define for_each_sgtable_dma_page(sgt, dma_iter, pgoffset) \ argument
|
D | dma-mapping.h | 181 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() 235 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, in dma_get_sgtable_attrs() 289 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous() 293 struct sg_table *sgt) in dma_vmap_noncontiguous() 301 struct vm_area_struct *vma, size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous() 370 static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt, in dma_unmap_sgtable() 389 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_cpu() 406 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_device()
|
/Linux-v6.1/drivers/xen/ |
D | gntdev-dmabuf.c | 45 struct sg_table *sgt; member 64 struct sg_table *sgt; member 197 struct sg_table *sgt; in dmabuf_pages_to_sgt() local 240 struct sg_table *sgt = gntdev_dmabuf_attach->sgt; in dmabuf_exp_ops_detach() local 262 struct sg_table *sgt; in dmabuf_exp_ops_map_dma_buf() local 300 struct sg_table *sgt, in dmabuf_exp_ops_unmap_dma_buf() 578 struct sg_table *sgt; in dmabuf_imp_to_refs() local
|
/Linux-v6.1/drivers/fpga/ |
D | fpga-mgr.c | 96 struct sg_table *sgt) in fpga_mgr_write_sg() 182 struct sg_table *sgt) in fpga_mgr_parse_header_sg_first() 214 struct sg_table *sgt, size_t *ret_size) in fpga_mgr_parse_header_sg() 295 struct sg_table *sgt) in fpga_mgr_prepare_sg() 363 struct sg_table *sgt) in fpga_mgr_buf_load_sg() 469 struct sg_table sgt; in fpga_mgr_buf_load() local
|
/Linux-v6.1/kernel/dma/ |
D | mapping.c | 266 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() 395 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt, in dma_get_sgtable_attrs() 611 struct sg_table *sgt; in alloc_single_sgt() local 636 struct sg_table *sgt; in dma_alloc_noncontiguous() local 655 struct sg_table *sgt, enum dma_data_direction dir) in free_single_sgt() 664 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous() 677 struct sg_table *sgt) in dma_vmap_noncontiguous() 698 size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
|
/Linux-v6.1/net/ceph/ |
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-v6.1/drivers/gpu/drm/virtio/ |
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-v6.1/drivers/gpu/drm/rcar-du/ |
D | rcar_du_vsp.c | 206 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() local 250 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() local 286 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_unmap_fb() local
|
/Linux-v6.1/drivers/media/platform/nvidia/tegra-vde/ |
D | dmabuf-cache.c | 27 struct sg_table *sgt; member 72 struct sg_table *sgt; in tegra_vde_dmabuf_cache_map() local
|
/Linux-v6.1/drivers/gpu/drm/v3d/ |
D | v3d_bo.c | 93 struct sg_table *sgt; in v3d_bo_create_finish() local 152 struct sg_table *sgt) in v3d_prime_import_sg_table()
|
/Linux-v6.1/drivers/gpu/drm/mediatek/ |
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-v6.1/drivers/gpu/drm/etnaviv/ |
D | etnaviv_mmu.c | 73 struct sg_table *sgt, unsigned len, int prot) in etnaviv_iommu_map() 105 struct sg_table *sgt, unsigned len) in etnaviv_iommu_unmap() 275 struct sg_table *sgt = etnaviv_obj->sgt; in etnaviv_iommu_map_gem() local
|
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-v6.1/drivers/crypto/caam/ |
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-v6.1/sound/core/ |
D | memalloc.c | 542 struct sg_table *sgt; in snd_dma_noncontig_alloc() local 608 struct sg_table *sgt = dmab->private_data; in snd_dma_noncontig_iter_set() local 679 struct sg_table *sgt = dmab->private_data; in snd_dma_sg_wc_alloc() local 693 struct sg_table *sgt = dmab->private_data; in snd_dma_sg_wc_free() local
|
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_dma_buf.c | 145 struct sg_table *sgt; in amdgpu_dma_buf_map() local 210 struct sg_table *sgt, in amdgpu_dma_buf_unmap()
|
/Linux-v6.1/drivers/gpu/drm/exynos/ |
D | exynos_drm_gem.c | 409 struct sg_table *sgt; in exynos_drm_gem_prime_get_sg_table() local 431 struct sg_table *sgt) in exynos_drm_gem_prime_import_sg_table()
|
/Linux-v6.1/drivers/gpu/drm/tegra/ |
D | gem.c | 46 static inline unsigned int sgt_dma_count_chunks(struct sg_table *sgt) in sgt_dma_count_chunks() 619 struct sg_table *sgt; in tegra_gem_prime_map_dma_buf() local 647 struct sg_table *sgt, in tegra_gem_prime_unmap_dma_buf()
|