Home
last modified time | relevance | path

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

12345

/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c53 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
314 struct sg_table sgt; member
324 struct sg_table *sgt; in vb2_dc_dmabuf_ops_attach() local
360 struct sg_table *sgt; in vb2_dc_dmabuf_ops_detach() local
386 struct sg_table *sgt; in vb2_dc_dmabuf_ops_map() local
416 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_dc_dmabuf_ops_unmap()
477 struct sg_table *sgt; in vb2_dc_get_base_sgt() local
535 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_put_userptr() local
[all …]
H A Dvideobuf2-vmalloc.c208 struct sg_table sgt; member
218 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_attach() local
255 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_detach() local
274 struct sg_table *sgt; in vb2_vmalloc_dmabuf_ops_map() local
299 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_unmap()
/linux/drivers/accel/ivpu/
H A Divpu_gem_userptr.c26 struct sg_table *sgt = attachment->dmabuf->priv; in ivpu_gem_userptr_dmabuf_map() local
37 struct sg_table *sgt, in ivpu_gem_userptr_dmabuf_unmap()
45 struct sg_table *sgt = dma_buf->priv; in ivpu_gem_userptr_dmabuf_release() local
70 struct sg_table *sgt; in ivpu_create_userptr_dmabuf() local
/linux/drivers/gpu/drm/tests/
H A Ddrm_gem_shmem_test.c75 struct sg_table *sgt; in drm_gem_shmem_test_obj_create_private() local
202 struct sg_table *sgt; in drm_gem_shmem_test_get_sg_table() local
247 struct sg_table *sgt; in drm_gem_shmem_test_get_pages_sgt() local
317 struct sg_table *sgt; in drm_gem_shmem_test_purge() local
/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()
/linux/net/ceph/
H A Dcrypto.c206 static int setup_sgtable(struct sg_table *sgt, struct scatterlist *prealloc_sg, in setup_sgtable()
258 static void teardown_sgtable(struct sg_table *sgt) in teardown_sgtable()
268 struct sg_table sgt; in ceph_aes_crypt() local
331 struct sg_table sgt; in ceph_krb5_encrypt() local
361 struct sg_table sgt; in ceph_krb5_decrypt() local
/linux/rust/kernel/
H A Dscatterlist.rs184 sgt: NonNull<bindings::sg_table>, global() field
272 let sgt = Opaque::zeroed(); new() localVariable
321 sgt: RawSGTable, global() field
369 let sgt = unsafe { &raw mut (*this.as_ptr()).sgt }.cast(); new() localVariable
372 let sgt = unsafe { NonNull::new_unchecked(sgt) }; new() localVariable
[all...]
/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
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()
562 struct sg_table *sgt; in dmabuf_imp_to_refs() local
/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
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c31 struct sg_table *sgt; in i915_gem_map_dma_buf() local
239 struct sg_table *sgt; in i915_gem_object_get_pages_dmabuf() local
269 struct sg_table *sgt) in i915_gem_object_put_pages_dmabuf()
/linux/kernel/dma/
H A Dmapping.c331 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
515 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt, in dma_get_sgtable_attrs()
796 struct sg_table *sgt; in alloc_single_sgt() local
820 struct sg_table *sgt; in dma_alloc_noncontiguous() local
844 struct sg_table *sgt, enum dma_data_direction dir) in free_single_sgt()
853 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous()
866 struct sg_table *sgt) in dma_vmap_noncontiguous()
884 size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
/linux/drivers/tee/optee/
H A Dprotmem.c133 struct sg_table *sgt, size_t size, in protmem_pool_op_dyn_alloc()
168 struct sg_table *sgt) in protmem_pool_op_dyn_free()
181 struct sg_table *sgt, size_t offs, in protmem_pool_op_dyn_update_shm()
/linux/drivers/dma-buf/
H A Ddma-buf-mapping.c64 struct sg_table sgt; member
222 void dma_buf_free_sgt(struct dma_buf_attachment *attach, struct sg_table *sgt, in dma_buf_free_sgt()
/linux/samples/rust/
H A Drust_dma.rs26 sgt: SGTable<Owned<VVec<u8>>>, global() field
82 let sgt = SGTable::new(pdev.as_ref(), pages, DataDirection::ToDevice, GFP_KERNEL); probe() localVariable
/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
/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_mmu.c64 struct sg_table *sgt, int prot) in etnaviv_iommu_map()
107 struct sg_table *sgt, unsigned len) in etnaviv_iommu_unmap()
270 struct sg_table *sgt = etnaviv_obj->sgt; in etnaviv_iommu_map_gem() local
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-dma.c146 void ipu6_dma_sync_sgtable(struct ipu6_bus_device *sys, struct sg_table *sgt) in ipu6_dma_sync_sgtable()
439 int ipu6_dma_map_sgtable(struct ipu6_bus_device *sys, struct sg_table *sgt, in ipu6_dma_map_sgtable()
454 void ipu6_dma_unmap_sgtable(struct ipu6_bus_device *sys, struct sg_table *sgt, in ipu6_dma_unmap_sgtable()
/linux/include/linux/
H A Ddma-mapping.h252 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
290 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, in dma_get_sgtable_attrs()
344 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous()
348 struct sg_table *sgt) in dma_vmap_noncontiguous()
356 struct vm_area_struct *vma, size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
570 static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt, in dma_unmap_sgtable()
589 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_cpu()
606 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_device()
/linux/drivers/gpu/drm/v3d/
H A Dv3d_bo.c106 struct sg_table *sgt; in v3d_bo_create_finish() local
176 struct sg_table *sgt) in v3d_prime_import_sg_table()
/linux/drivers/staging/media/ipu7/
H A Dipu7-dma.c146 void ipu7_dma_sync_sgtable(struct ipu7_bus_device *sys, struct sg_table *sgt) in ipu7_dma_sync_sgtable()
457 int ipu7_dma_map_sgtable(struct ipu7_bus_device *sys, struct sg_table *sgt, in ipu7_dma_map_sgtable()
472 void ipu7_dma_unmap_sgtable(struct ipu7_bus_device *sys, struct sg_table *sgt, in ipu7_dma_unmap_sgtable()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_prime.c63 struct sg_table *sgt, in virtgpu_gem_unmap_dma_buf()
153 struct sg_table *sgt; in virtgpu_dma_buf_import_sgt() local
/linux/drivers/tee/
H A Dtee_heap.c398 struct sg_table *sgt, size_t size, in protmem_pool_op_static_alloc()
422 struct sg_table *sgt) in protmem_pool_op_static_free()
434 struct sg_table *sgt, size_t offs, in protmem_pool_op_static_update_shm()
/linux/drivers/gpu/drm/xe/
H A Dxe_dma_buf.c104 struct sg_table *sgt; in xe_dma_buf_map() local
154 struct sg_table *sgt, in xe_dma_buf_unmap()
/linux/drivers/fpga/tests/
H A Dfpga-mgr-test.c147 static int op_write_sg(struct fpga_manager *mgr, struct sg_table *sgt) in op_write_sg()
259 struct sg_table *sgt; in fpga_mgr_test_img_load_sgt() local
/linux/drivers/gpu/drm/lima/
H A Dlima_gem.c29 struct sg_table sgt; in lima_heap_alloc() local
136 struct sg_table *sgt = drm_gem_shmem_get_pages_sgt(shmem); in lima_gem_create_handle() local

12345