Home
last modified time | relevance | path

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

12345678910>>...18

/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/gpu/drm/tests/
H A Ddrm_gem_shmem_test.c63 * Test creating a shmem GEM object from a scatter/gather table exported
66 * attribute pointing to the scatter/gather table that has been imported.
79 /* Create a mock scatter/gather table */ in drm_gem_shmem_test_obj_create_private()
118 /* The scatter/gather table will be freed by drm_gem_shmem_free */ in drm_gem_shmem_test_obj_create_private()
197 * Test exporting a scatter/gather table of pinned pages suitable for
199 * scatter/gather table large enough to accommodate the backing memory
242 * Test pinning pages and exporting a scatter/gather table suitable for
244 * backing pages are pinned and a scatter/gather table large enough to
261 /* The scatter/gather table will be freed by drm_gem_shmem_free */ in drm_gem_shmem_test_get_pages_sgt()
336 /* 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/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/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/gpu/drm/
H A Ddrm_gem_shmem_helper.c775 * drm_gem_shmem_get_sg_table - Provide a scatter/gather table of pinned
779 * This function exports a scatter/gather table suitable for PRIME usage by
782 * Drivers who need to acquire an scatter/gather table for objects need to call
786 * A pointer to the scatter/gather table of pinned pages or error pointer on failure.
837 * scatter/gather table for a shmem GEM object.
840 * This function returns a scatter/gather table suitable for driver usage. If
849 * A pointer to the scatter/gather table of pinned pages or errno on failure.
868 * another driver's scatter/gather table of pinned pages
871 * @sgt: Scatter/gather table of pinned pages
873 * This function imports a scatter/gather table exported via DMA-BUF by
/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/rust/kernel/
H A Dscatterlist.rs3 //! Abstractions for scatter-gather lists.
7 //! Scatter-gather (SG) I/O is a memory access technique that allows devices to perform DMA
9 //! "scatter-gather list", an array where each entry specifies the address and length of a
19 //! The main entry point is the [`SGTable`] type, which represents a complete scatter-gather table.
46 /// A single entry in a scatter-gather list.
111 /// A scatter-gather table.
390 /// Allocates a new scatter-gather table from the given pages and maps it for DMA.
/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/crypto/amcc/
H A Dcrypto4xx_core.c349 * alloc memory for the scatter ring
364 /* alloc memory for scatter descriptor ring */ in crypto4xx_build_sdr()
458 * Because the scatter buffers are all neatly organized in one in crypto4xx_copy_pkt_to_dst()
515 if (pd_uinfo->sa_va->sa_command_0.bf.scatter) { in crypto4xx_cipher_done()
551 if (pd_uinfo->sa_va->sa_command_0.bf.scatter) { in crypto4xx_aead_done()
678 * scatter buffers. in crypto4xx_build_pd()
714 * The gather ring and scatter ring needs to be consecutive in crypto4xx_build_pd()
837 * no need to use scatter ring. in crypto4xx_build_pd()
840 sa->sa_command_0.bf.scatter = 0; in crypto4xx_build_pd()
851 sa->sa_command_0.bf.scatter = 1; in crypto4xx_build_pd()
[all …]
/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>>...18