Home
last modified time | relevance | path

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

123456

/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
206 struct sg_table *sgt; in drm_gem_shmem_test_get_sg_table() local
251 struct sg_table *sgt; in drm_gem_shmem_test_get_pages_sgt() local
321 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/drivers/gpu/drm/panthor/
H A Dpanthor_gem.c243 struct sg_table *sgt = drm_gem_map_dma_buf(attach, dir); in panthor_gem_prime_map_dma_buf() local
253 struct sg_table *sgt, in panthor_gem_prime_unmap_dma_buf()
277 struct sg_table *sgt = attach->priv; in panthor_gem_prime_begin_cpu_access() local
298 struct sg_table *sgt = attach->priv; in panthor_gem_prime_end_cpu_access() local
459 struct sg_table *sgt; in panthor_gem_create_with_handle() local
526 struct sg_table *sgt; in panthor_gem_sync() local
/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/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()
/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/kernel/dma/
H A Dmapping.c333 dma_map_sgtable(struct device * dev,struct sg_table * sgt,enum dma_data_direction dir,unsigned long attrs) dma_map_sgtable() argument
517 dma_get_sgtable_attrs(struct device * dev,struct sg_table * sgt,void * cpu_addr,dma_addr_t dma_addr,size_t size,unsigned long attrs) dma_get_sgtable_attrs() argument
779 struct sg_table *sgt; alloc_single_sgt() local
803 struct sg_table *sgt; dma_alloc_noncontiguous() local
827 free_single_sgt(struct device * dev,size_t size,struct sg_table * sgt,enum dma_data_direction dir) free_single_sgt() argument
836 dma_free_noncontiguous(struct device * dev,size_t size,struct sg_table * sgt,enum dma_data_direction dir) dma_free_noncontiguous() argument
849 dma_vmap_noncontiguous(struct device * dev,size_t size,struct sg_table * sgt) dma_vmap_noncontiguous() argument
867 dma_mmap_noncontiguous(struct device * dev,struct vm_area_struct * vma,size_t size,struct sg_table * sgt) dma_mmap_noncontiguous() argument
[all...]
/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/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/drivers/gpu/drm/virtio/
H A Dvirtgpu_vram.c78 struct sg_table *sgt; in virtio_gpu_vram_map_dma_buf() local
119 struct sg_table *sgt, in virtio_gpu_vram_unmap_dma_buf()
/linux/samples/rust/
H A Drust_dma.rs26 sgt: SGTable<Owned<VVec<u8>>>, 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/include/linux/
H A Ddma-mapping.h244 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable() argument
282 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, in dma_get_sgtable_attrs() argument
336 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous() argument
340 struct sg_table *sgt) in dma_vmap_noncontiguous() argument
348 struct vm_area_struct *vma, size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous() argument
562 dma_unmap_sgtable(struct device * dev,struct sg_table * sgt,enum dma_data_direction dir,unsigned long attrs) dma_unmap_sgtable() argument
581 dma_sync_sgtable_for_cpu(struct device * dev,struct sg_table * sgt,enum dma_data_direction dir) dma_sync_sgtable_for_cpu() argument
598 dma_sync_sgtable_for_device(struct device * dev,struct sg_table * sgt,enum dma_data_direction dir) dma_sync_sgtable_for_device() argument
[all...]
/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/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/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/nouveau/nvkm/subdev/gsp/rm/r535/
H A Dfbsr.c53 u64 phys, u64 size, struct sg_table *sgt, struct nvkm_gsp_object *object) in r535_fbsr_memlist()
151 fbsr_init(struct fbsr *fbsr, struct sg_table *sgt, u64 items_size) in fbsr_init()

123456