Home
last modified time | relevance | path

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

12345678910>>...19

/linux/drivers/crypto/ccp/
H A Dsev-dev-tio.c65 * struct sla_buffer_hdr - Scatter list address buffer header
201 * @dev_ctx_sla: Scatter list address pointing to a buffer to be used as a device context buffer
221 * @dev_ctx_sla: Scatter list address of the device context buffer
248 * @dev_ctx_sla: Scatter list address of the device context buffer
265 * @dev_ctx_sla: Scatter list address of the device context buffer
283 * @dev_ctx_sla: Scatter list address of the device context buffer
296 * @dev_ctx_sla: Scatter list address of the device context buffer
315 struct sla_addr_t *scatter = sla_to_va(sla); in sla_buffer_map() local
319 if (WARN_ON_ONCE(SLA_SZ(scatter[i]) > SZ_4K)) in sla_buffer_map()
322 if (WARN_ON_ONCE(scatter[i].page_type == SLA_PAGE_TYPE_SCATTER)) in sla_buffer_map()
[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/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/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/gpu/drm/
H A Ddrm_gem_dma_helper.c33 * for devices that do not support scatter-gather DMA (either directly or
415 * drm_gem_dma_get_sg_table - provide a scatter/gather table of pinned
419 * This function exports a scatter/gather table by calling the standard
423 * A pointer to the scatter/gather table of pinned pages or NULL on failure.
450 * driver's scatter/gather table of pinned pages
453 * @sgt: scatter/gather table of pinned pages
455 * This function imports a scatter/gather table exported via DMA-BUF by
457 * (i.e. the scatter/gather table must contain a single entry). Drivers that
559 * scatter/gather table and get the virtual address of the buffer
562 * @sgt: Scatter/gather table of pinned pages
[all …]
H A Ddrm_gem_shmem_helper.c714 * drm_gem_shmem_get_sg_table - Provide a scatter/gather table of pinned
718 * This function exports a scatter/gather table suitable for PRIME usage by
721 * Drivers who need to acquire an scatter/gather table for objects need to call
725 * A pointer to the scatter/gather table of pinned pages or error pointer on failure.
776 * scatter/gather table for a shmem GEM object.
779 * This function returns a scatter/gather table suitable for driver usage. If
788 * A pointer to the scatter/gather table of pinned pages or errno on failure.
807 * another driver's scatter/gather table of pinned pages
810 * @sgt: Scatter/gather table of pinned pages
812 * This function imports a scatter/gather table exported via DMA-BUF by
/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/drivers/hid/intel-thc-hid/intel-thc/
H A Dintel-thc-dma.h69 * given by scatter-gather list allocation).
93 * @sgls: Array of pointers to scatter-gather lists
94 * @sgls_nent_pages: Number of pages per scatter-gather list
95 * @sgls_nent: Actual number of entries per scatter-gather list
/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/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/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/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/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/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/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/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/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/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.

12345678910>>...19