Home
last modified time | relevance | path

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

1234567

/openbmc/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-sg.c105 struct sg_table *sgt; in vb2_dma_sg_alloc() 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
364 struct sg_table sgt; member
374 struct sg_table *sgt; in vb2_dma_sg_dmabuf_ops_attach() local
410 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
470 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_dmabuf_ops_begin_cpu_access() local
481 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_dmabuf_ops_end_cpu_access() local
[all …]
H A Dvideobuf2-dma-contig.c126 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
385 struct sg_table *sgt; in vb2_dc_dmabuf_ops_map() local
476 struct sg_table *sgt; in vb2_dc_get_base_sgt() local
534 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_put_userptr() local
570 struct sg_table *sgt; in vb2_dc_get_userptr() local
692 struct sg_table *sgt; in vb2_dc_map_dmabuf() local
[all …]
H A 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
272 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_map() local
297 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_unmap()
/openbmc/linux/drivers/hwtracing/intel_th/
H A Dmsu-sink.c51 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()
/openbmc/linux/drivers/spi/
H A 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()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_prime.c631 struct sg_table *sgt; in drm_gem_map_dma_buf() local
665 struct sg_table *sgt, in drm_gem_unmap_dma_buf()
848 unsigned long drm_prime_get_contiguous_size(struct sg_table *sgt) in drm_prime_get_contiguous_size()
915 struct sg_table *sgt; in drm_gem_prime_import_dev() local
999 int __deprecated drm_prime_sg_to_page_array(struct sg_table *sgt, in drm_prime_sg_to_page_array()
1026 int drm_prime_sg_to_dma_addr_array(struct sg_table *sgt, dma_addr_t *addrs, in drm_prime_sg_to_dma_addr_array()
H A Ddrm_gem_dma_helper.c424 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()
576 struct sg_table *sgt) in drm_gem_dma_prime_import_sg_table_vmap()
H A Ddrm_gem_shmem_helper.c678 struct sg_table *sgt; in drm_gem_shmem_get_pages_sgt_locked() local
730 struct sg_table *sgt; in drm_gem_shmem_get_pages_sgt() local
760 struct sg_table *sgt) in drm_gem_shmem_prime_import_sg_table()
/openbmc/linux/drivers/xen/
H A Dgntdev-dmabuf.c46 struct sg_table *sgt; member
65 struct sg_table *sgt; member
198 struct sg_table *sgt; in dmabuf_pages_to_sgt() local
241 struct sg_table *sgt = gntdev_dmabuf_attach->sgt; in dmabuf_exp_ops_detach() local
263 struct sg_table *sgt; in dmabuf_exp_ops_map_dma_buf() local
301 struct sg_table *sgt, in dmabuf_exp_ops_unmap_dma_buf()
572 struct sg_table *sgt; in dmabuf_imp_to_refs() local
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c32 struct sg_table *sgt; in i915_gem_map_dma_buf() local
240 struct sg_table *sgt; in i915_gem_object_get_pages_dmabuf() local
270 struct sg_table *sgt) in i915_gem_object_put_pages_dmabuf()
/openbmc/linux/include/linux/
H A Dscatterlist.h46 struct sg_table sgt; /* The scatter list table */ member
201 #define for_each_sgtable_sg(sgt, sg, i) \ argument
209 #define for_each_sgtable_dma_sg(sgt, sg, i) \ argument
471 static inline int sg_alloc_table_from_pages(struct sg_table *sgt, in sg_alloc_table_from_pages()
637 #define for_each_sgtable_page(sgt, piter, pgoffset) \ argument
651 #define for_each_sgtable_dma_page(sgt, dma_iter, pgoffset) \ argument
H A Ddma-mapping.h182 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
236 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, in dma_get_sgtable_attrs()
290 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous()
294 struct sg_table *sgt) in dma_vmap_noncontiguous()
302 struct vm_area_struct *vma, size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
371 static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt, in dma_unmap_sgtable()
390 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_cpu()
407 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_device()
/openbmc/linux/drivers/fpga/
H A Dfpga-mgr.c96 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
/openbmc/linux/kernel/dma/
H A Dmapping.c270 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
399 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt, in dma_get_sgtable_attrs()
625 struct sg_table *sgt; in alloc_single_sgt() local
650 struct sg_table *sgt; in dma_alloc_noncontiguous() local
671 struct sg_table *sgt, enum dma_data_direction dir) in free_single_sgt()
680 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous()
693 struct sg_table *sgt) in dma_vmap_noncontiguous()
714 size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
/openbmc/linux/net/ceph/
H A 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
/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_vram.c75 struct sg_table *sgt; in virtio_gpu_vram_map_dma_buf() local
116 struct sg_table *sgt, in virtio_gpu_vram_unmap_dma_buf()
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/
H A Ddmabuf-cache.c27 struct sg_table *sgt; member
72 struct sg_table *sgt; in tegra_vde_dmabuf_cache_map() local
/openbmc/linux/drivers/gpu/drm/v3d/
H A Dv3d_bo.c93 struct sg_table *sgt; in v3d_bo_create_finish() local
152 struct sg_table *sgt) in v3d_prime_import_sg_table()
/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_gem.c196 struct sg_table *sgt; in mtk_gem_prime_get_sg_table() local
239 struct sg_table *sgt = NULL; in mtk_drm_gem_prime_vmap() local
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_vsp.c267 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() local
311 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_map_fb() local
347 struct sg_table *sgt = &sg_tables[i]; in rcar_du_vsp_unmap_fb() local
/openbmc/linux/drivers/crypto/caam/
H A Dcaamalg_qi2.h116 struct dpaa2_sg_entry sgt[]; member
134 struct dpaa2_sg_entry sgt[]; member
148 struct dpaa2_sg_entry sgt[]; member
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_mmu.c73 struct sg_table *sgt, unsigned len, int prot) in etnaviv_iommu_map()
105 struct sg_table *sgt, unsigned len) in etnaviv_iommu_unmap()
282 struct sg_table *sgt = etnaviv_obj->sgt; in etnaviv_iommu_map_gem() local
/openbmc/u-boot/drivers/spi/
H A Dspi-mem.c38 struct sg_table *sgt) in spi_controller_dma_map_mem_op_data()
84 struct sg_table *sgt) in spi_controller_dma_unmap_mem_op_data()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c146 struct sg_table *sgt; in amdgpu_dma_buf_map() local
211 struct sg_table *sgt, in amdgpu_dma_buf_unmap()
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_gem.c409 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()

1234567