Home
last modified time | relevance | path

Searched defs:sgt (Results 1 – 25 of 134) sorted by relevance

123456

/Linux-v5.15/drivers/media/common/videobuf2/
Dvideobuf2-dma-sg.c104 struct sg_table *sgt; in vb2_dma_sg_alloc() local
181 struct sg_table *sgt = &buf->sg_table; in vb2_dma_sg_put() local
203 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_prepare() local
211 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_finish() local
221 struct sg_table *sgt; in vb2_dma_sg_get_userptr() local
278 struct sg_table *sgt = &buf->sg_table; in vb2_dma_sg_put_userptr() local
355 struct sg_table sgt; member
365 struct sg_table *sgt; in vb2_dma_sg_dmabuf_ops_attach() local
401 struct sg_table *sgt; in vb2_dma_sg_dmabuf_ops_detach() local
422 struct sg_table *sgt; in vb2_dma_sg_dmabuf_ops_map() local
[all …]
Dvideobuf2-dma-contig.c49 static unsigned long vb2_dc_get_contiguous_size(struct sg_table *sgt) in vb2_dc_get_contiguous_size()
100 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_prepare() local
111 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_finish() local
215 struct sg_table sgt; member
225 struct sg_table *sgt; in vb2_dc_dmabuf_ops_attach() local
261 struct sg_table *sgt; in vb2_dc_dmabuf_ops_detach() local
289 struct sg_table *sgt; in vb2_dc_dmabuf_ops_map() local
326 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_dc_dmabuf_ops_unmap()
381 struct sg_table *sgt; in vb2_dc_get_base_sgt() local
434 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_put_userptr() local
[all …]
Dvideobuf2-vmalloc.c206 struct sg_table sgt; member
216 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_attach() local
253 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_detach() local
274 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_map() local
306 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_unmap()
/Linux-v5.15/drivers/hwtracing/intel_th/
Dmsu-sink.c51 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-v5.15/drivers/spi/
Dinternals.h30 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-v5.15/include/linux/
Dscatterlist.h43 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
Ddma-mapping.h180 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-v5.15/drivers/gpu/drm/
Ddrm_prime.c617 struct sg_table *sgt; in drm_gem_map_dma_buf() local
651 struct sg_table *sgt, in drm_gem_unmap_dma_buf()
842 unsigned long drm_prime_get_contiguous_size(struct sg_table *sgt) in drm_prime_get_contiguous_size()
909 struct sg_table *sgt; in drm_gem_prime_import_dev() local
993 int __deprecated drm_prime_sg_to_page_array(struct sg_table *sgt, in drm_prime_sg_to_page_array()
1020 int drm_prime_sg_to_dma_addr_array(struct sg_table *sgt, dma_addr_t *addrs, in drm_prime_sg_to_dma_addr_array()
Ddrm_gem_cma_helper.c400 struct sg_table *sgt; in drm_gem_cma_get_sg_table() local
440 struct sg_table *sgt) in drm_gem_cma_prime_import_sg_table()
556 struct sg_table *sgt) in drm_gem_cma_prime_import_sg_table_vmap()
/Linux-v5.15/drivers/xen/
Dgntdev-dmabuf.c51 struct sg_table *sgt; member
70 struct sg_table *sgt; member
203 struct sg_table *sgt; in dmabuf_pages_to_sgt() local
246 struct sg_table *sgt = gntdev_dmabuf_attach->sgt; in dmabuf_exp_ops_detach() local
268 struct sg_table *sgt; in dmabuf_exp_ops_map_dma_buf() local
306 struct sg_table *sgt, in dmabuf_exp_ops_unmap_dma_buf()
584 struct sg_table *sgt; in dmabuf_imp_to_refs() local
/Linux-v5.15/kernel/dma/
Dmapping.c259 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
392 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt, in dma_get_sgtable_attrs()
610 struct sg_table *sgt; in alloc_single_sgt() local
635 struct sg_table *sgt; in dma_alloc_noncontiguous() local
654 struct sg_table *sgt, enum dma_data_direction dir) in free_single_sgt()
663 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous()
676 struct sg_table *sgt) in dma_vmap_noncontiguous()
697 size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
/Linux-v5.15/drivers/gpu/drm/tegra/
Dgem.c31 static int sg_alloc_table_from_sg(struct sg_table *sgt, struct scatterlist *sg, in sg_alloc_table_from_sg()
57 struct sg_table *sgt; in tegra_bo_pin() local
124 static void tegra_bo_unpin(struct device *dev, struct sg_table *sgt) in tegra_bo_unpin()
566 struct sg_table *sgt; in tegra_gem_prime_map_dma_buf() local
594 struct sg_table *sgt, in tegra_gem_prime_unmap_dma_buf()
Dplane.c148 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-v5.15/net/ceph/
Dcrypto.c161 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-v5.15/drivers/gpu/drm/rcar-du/
Drcar_du_vsp.c195 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() local
213 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() local
249 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_unmap_fb() local
/Linux-v5.15/drivers/staging/media/tegra-vde/
Ddmabuf-cache.c24 struct sg_table *sgt; member
69 struct sg_table *sgt; in tegra_vde_dmabuf_cache_map() local
/Linux-v5.15/drivers/gpu/drm/v3d/
Dv3d_bo.c92 struct sg_table *sgt; in v3d_bo_create_finish() local
151 struct sg_table *sgt) in v3d_prime_import_sg_table()
/Linux-v5.15/drivers/fpga/
Dfpga-mgr.c87 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-v5.15/drivers/gpu/drm/mediatek/
Dmtk_drm_gem.c183 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-v5.15/drivers/gpu/drm/etnaviv/
Detnaviv_mmu.c73 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
Detnaviv_gem.c23 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-v5.15/drivers/crypto/caam/
Dcaamalg_qi2.h118 struct dpaa2_sg_entry sgt[]; member
136 struct dpaa2_sg_entry sgt[]; member
150 struct dpaa2_sg_entry sgt[]; member
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dma_buf.c160 struct sg_table *sgt; in amdgpu_dma_buf_map() local
225 struct sg_table *sgt, in amdgpu_dma_buf_unmap()
/Linux-v5.15/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c260 u64 iova, int prot, struct sg_table *sgt) in mmu_map_sg()
293 struct sg_table *sgt; in panfrost_mmu_map() local
411 struct sg_table *sgt; in panfrost_mmu_map_fault_addr() local
/Linux-v5.15/drivers/gpu/drm/exynos/
Dexynos_drm_gem.c419 struct sg_table *sgt; in exynos_drm_gem_prime_get_sg_table() local
441 struct sg_table *sgt) in exynos_drm_gem_prime_import_sg_table()

123456