Home
last modified time | relevance | path

Searched full:scatter (Results 1 – 25 of 488) sorted by relevance

12345678910>>...20

/linux/drivers/gpu/drm/tests/
H A Ddrm_gem_shmem_test.c58 * Test creating a shmem GEM object from a scatter/gather table exported
61 * attribute pointing to the scatter/gather table that has been imported.
74 /* Create a mock scatter/gather table */ in drm_gem_shmem_test_obj_create_private()
113 /* The scatter/gather table will be freed by drm_gem_shmem_free */ in drm_gem_shmem_test_obj_create_private()
192 * Test exporting a scatter/gather table of pinned pages suitable for
194 * scatter/gather table large enough to accommodate the backing memory
234 * Test pinning pages and exporting a scatter/gather table suitable for
236 * backing pages are pinned and a scatter/gather table large enough to
253 /* The scatter/gather table will be freed by drm_gem_shmem_free */ in drm_gem_shmem_test_get_sg_table()
328 /* The scatter/gather table will be freed by drm_gem_shmem_free */ in drm_gem_shmem_test_purge()
/linux/include/soc/fsl/
H A Ddpaa2-fd.h20 * There are three types of frames: single, scatter gather, and frame lists.
283 * struct dpaa2_sg_entry - the scatter-gathering structure
306 * @sg: the given scatter-gathering object
317 * @sg: the given scatter-gathering object
333 * @sg: the given scatter-gathering object
347 * @sg: the given scatter-gathering object
357 * @sg: the given scatter-gathering object
368 * @sg: the given scatter-gathering object
380 * @sg: the given scatter-gathering object
393 * @sg: the given scatter-gathering object
[all …]
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_common.c50 * hinic_set_sge - set dma area in scatter gather entry
51 * @sge: scatter gather entry
63 * hinic_sge_to_dma - get dma address from scatter gather entry
64 * @sge: scatter gather entry
/linux/drivers/net/wireless/ath/ath6kl/
H A Dsdio.c52 /* scatter request list head */
233 "hif-scatter: (%s) addr: 0x%X, (block len: %d, block count: %d) , (tot:%d,sg:%d)\n", in ath6kl_sdio_setup_scat_data()
255 /* set scatter-gather table for request */ in ath6kl_sdio_setup_scat_data()
335 ath6kl_err("Scatter write request failed:%d\n", in ath6kl_sdio_scat_rw()
363 /* allocate the scatter request */ in ath6kl_sdio_alloc_prep_scat_req()
387 /* allocate a bus request for this scatter request */ in ath6kl_sdio_alloc_prep_scat_req()
396 /* assign the scatter request to this bus request */ in ath6kl_sdio_alloc_prep_scat_req()
402 /* add it to the scatter pool */ in ath6kl_sdio_alloc_prep_scat_req()
671 /* scatter gather read write request */
683 "hif-scatter: total len: %d scatter entries: %d\n", in ath6kl_sdio_async_rw_scatter()
[all …]
/linux/drivers/scsi/
H A Dst_options.h43 /* Maximum number of scatter/gather segments */
46 /* The number of scatter/gather segments to allocate at first try (must be
50 /* The size of the first scatter/gather segments (determines the maximum block
51 size for SCSI adapters not supporting scatter/gather). The default is set
H A Daha1740.h78 /* This is used with scatter-gather */
111 :1, sg:1, /* Scatter/Gather */
125 u32 dataptr; /* Data or Scatter List ptr */
126 u32 datalen; /* Data or Scatter List len */
/linux/drivers/scsi/megaraid/
H A Dmegaraid_mbox.h94 #define MBOX_MAX_SG_SIZE 32 // maximum scatter-gather list size
117 * @sgl64 : 64-bit scatter-gather list
118 * @sgl32 : 32-bit scatter-gather list
119 * @sgl_dma_h : dma handle for the scatter-gather list
158 * @sg_pool : pool of scatter-gather lists for this driver
H A Dmbox_defs.h144 * @numsge : number of scatter gather elements in sg list
177 * @segment_lo : the low 32-bits of the address of the scatter-gather list
178 * @segment_hi : the upper 32-bits of the address of the scatter-gather list
221 * @numsge : number of scatter-gather elements in the sg list
270 * @numsge : number of scatter-gather elements in the sg list
764 * mbox_sgl64 - 64-bit scatter list for mailbox based controllers
774 * mbox_sgl32 - 32-bit scatter list for mailbox based controllers
/linux/include/scsi/
H A Dsg.h34 { /* call. It defines one scatter-gather element. */
46 unsigned short iovec_count; /* [i] 0 implies no scatter gather */
49 or scatter gather list */
75 unsigned short iovec_count; /* [i] 0 implies no scatter gather */
78 or scatter gather list */
220 /* Yields max scatter gather tablesize allowed by current host adapter */
221 #define SG_GET_SG_TABLESIZE 0x227F /* 0 implies can't do scatter gather */
251 /* Largest size (in bytes) a single scatter-gather list element can have.
254 If scatter-gather is not supported by adapter then this value is the
/linux/include/linux/mtd/
H A Dubi.h20 * Maximum number of scatter gather list entries,
117 * struct ubi_sgl - UBI scatter gather list data structure.
120 * @sg: the scatter gather list itself
122 * ubi_sgl is a wrapper around a scatter list which keeps track of the
133 * ubi_sgl_init - initialize an UBI scatter gather list data structure.
134 * @usgl: the UBI scatter gather struct itself
/linux/drivers/parisc/
H A Diommu-helpers.h5 * iommu_fill_pdir - Insert coalesced scatter/gather chunks into the I/O Pdir.
7 * @startsg: The scatter/gather list of coalesced chunks.
8 * @nents: The number of entries in the scatter/gather list.
11 * This function inserts the coalesced scatter/gather list chunks into the
/linux/Documentation/scsi/
H A Dst.rst264 scatter/gather segments permitted by the HBA
298 Scatter/gather buffers (buffers that consist of chunks non-contiguous
301 supporting scatter/gather), buffer allocation is using the following
305 those not supporting scatter/gather. The size of this buffer will be
312 2. The scatter/gather segments to fill the specified buffer size are
318 number of scatter/gather segments allowed for the SCSI adapter is not
319 exceeded if it is smaller than the maximum number of scatter/gather
346 max_sg_segs=xxx the maximum number of scatter/gather
362 with 'st.'. For instance, to set the maximum number of scatter/gather
364 number of scatter/gather segments).
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dsdk.h63 * struct mlx5_fpga_dma_entry - A scatter-gather DMA entry
76 * May contain up to 2 scatter-gather data entries
81 /** @sg: Scatter-gather entries pointing to the data in memory */
111 * buf is guaranteed to only contain a single scatter-gather entry.
/linux/drivers/scsi/fnic/
H A Dfcpio.h195 u32 sgl_cnt; /* scatter-gather list count */
197 u64 sgl_addr; /* scatter-gather list addr */
243 u32 sgl_cnt; /* scatter-gather list count */
245 u64 sgl_addr; /* scatter-gather list addr */
304 u32 sgl_cnt; /* scatter-gather list count */
306 u64 sgl_addr; /* scatter-gather list address */
324 u32 sgl_cnt; /* scatter-gather list count */
326 u64 sgl_addr; /* scatter-gather list address */
/linux/drivers/infiniband/hw/mlx4/
H A Dsrq.c81 struct mlx4_wqe_data_seg *scatter; in mlx4_ib_create_srq() local
157 for (scatter = (void *) (next + 1); in mlx4_ib_create_srq()
158 (void *) scatter < (void *) next + desc_size; in mlx4_ib_create_srq()
159 ++scatter) in mlx4_ib_create_srq()
160 scatter->lkey = cpu_to_be32(MLX4_INVALID_LKEY); in mlx4_ib_create_srq()
/linux/net/9p/
H A Dtrans_virtio.c55 * @sg: scatter gather list which is used to pack a request (protected?)
157 * pack_sg_list - pack a scatter gather list from a linear buffer
158 * @sg: scatter/gather list to pack into
161 * @data: data to pack into scatter/gather list
162 * @count: amount of data to pack into the scatter/gather list
165 * arbitrary data into an existing scatter gather list, segmenting the
208 * @sg: scatter/gather list to pack into
212 * @nr_pages: number of pages to pack into the scatter/gather list
214 * @count: amount of data to pack into the scatter/gather list
/linux/include/xen/interface/io/
H A Dvscsiif.h60 * Specifies the maximum number of scatter/gather elements in grant pages
206 * Preset scatter/gather elements for a following request. Deprecated.
212 * Maximum scatter/gather segments per request.
215 * structures on one page (4096 bytes) and the number of scatter/gather
218 * If "feature-sg-grant" is set, more scatter/gather elements can be specified
258 uint8_t nr_segments; /* Number of pieces of scatter-gather */
/linux/drivers/misc/bcm-vk/
H A Dbcm_vk_sg.h45 * Scatter-gather DMA buffer API.
48 * scatter-gather list from userspace address and map the memory
/linux/drivers/scsi/aic94xx/
H A Daic94xx_task.c49 void *p = task->scatter; in asd_map_scatterlist()
67 num_sg = dma_map_sg(&asd_ha->pcidev->dev, task->scatter, in asd_map_scatterlist()
82 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist()
91 for_each_sg(task->scatter, sc, 2, i) { in asd_map_scatterlist()
103 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist()
114 dma_unmap_sg(&asd_ha->pcidev->dev, task->scatter, in asd_map_scatterlist()
137 dma_unmap_sg(&asd_ha->pcidev->dev, task->scatter, in asd_unmap_scatterlist()
/linux/Documentation/driver-api/dmaengine/
H A Dprovider.rst50 scatter-gather.
53 scatter-gather. So we're left with two cases here: either we have a
56 that implements in hardware scatter-gather.
167 transmitted. That means the number and size of the scatter-gather buffers in
170 total size of the two scatter-gather list buffers.
230 scatter-gather transfers.
238 simply build a scatter list with only one item.
/linux/drivers/misc/genwqe/
H A Dcard_ddcb.h139 * Genwqe Scatter Gather list
163 * struct sglist - Scatter gather list
169 * Depending on the command the GenWQE card can use a scatter gather
/linux/include/crypto/
H A Dkpp.h229 * @input: ptr to input scatter list
230 * @input_len: size of the input scatter list
246 * @output: ptr to output scatter list
247 * @output_len: size of the output scatter list
/linux/drivers/firmware/efi/
H A Dcapsule.c112 * Every scatter gather list (block descriptor) page must end with a
119 * How many scatter gather list (block descriptor) pages do we need
130 * @sg_pages: array of scatter gather (block descriptor) pages
188 * Build a scatter gather list with EFI capsule block descriptors to
/linux/drivers/gpu/drm/xe/
H A Dxe_hmm.c59 * xe_build_sg() - build a scatter gather table for all the physical pages/pfn
72 * the scatter gather table. This is for the purpose of efficiently
174 * xe_hmm_userptr_free_sg() - Free the scatter gather table of userptr
175 * @uvma: the userptr vma which hold the scatter gather table
/linux/drivers/message/fusion/
H A DKconfig65 int "Maximum number of scatter gather entries (16 - 128)"
69 This option allows you to specify the maximum number of scatter-

12345678910>>...20