Home
last modified time | relevance | path

Searched full:gather (Results 1 – 25 of 732) sorted by relevance

12345678910>>...30

/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_tx.h20 /* Hardware format for Scatter/Gather list
42 /* Each Scatter/Gather entry sent to hardwar hold four pointers.
44 * is for main skb which also goes as a gather buffer to Octeon hardware.
57 u8 gather; member
139 /* Gather entries sent through this queue. */
185 /* Base pointer to Scatter/Gather lists for all ring descriptors. */
188 /* DMA mapped addr of Scatter Gather Lists */
232 /* No. of entries in gather list */
235 /* Gather indicator 1=gather*/
236 u64 gather:1; member
/linux/drivers/gpu/host1x/
H A Djob.c116 struct host1x_job_gather *gather = &job->cmds[job->num_cmds].gather; in host1x_job_add_gather() local
118 gather->words = words; in host1x_job_add_gather()
119 gather->bo = bo; in host1x_job_add_gather()
120 gather->offset = offset; in host1x_job_add_gather()
191 * host1x clients are generally not able to do scatter-gather themselves, so fail in pin_job()
223 g = &job->cmds[i].gather; in pin_job()
285 /* pin & patch the relocs for one gather */ in do_relocs()
544 g = &job->cmds[i].gather; in copy_gathers()
568 void *gather; in copy_gathers() local
572 g = &job->cmds[i].gather; in copy_gathers()
[all …]
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dliquidio_common.h149 /*--------------------------- SCATTER GATHER ENTRY -----------------------*/
151 /* The Scatter-Gather List Entry. The scatter or gather component used with
168 /* \brief Add size to gather list
169 * @param sg_entry scatter/gather entry
184 /*------------------------- End Scatter/Gather ---------------------------*/
356 /** Gather indicator 1=gather*/
357 u64 gather:1; member
359 /** Data length OR no. of entries in gather list */
387 /** Data length OR no. of entries in gather list */
390 /** Gather indicator 1=gather*/
[all …]
H A Docteon_nic.h95 u32 gather:1; member
150 if (!setup->s.gather) { in octnet_prepare_pci_cmd_o2()
153 ih2->gather = 1; in octnet_prepare_pci_cmd_o2()
195 if (!setup->s.gather) { in octnet_prepare_pci_cmd_o3()
198 ih3->gather = 1; in octnet_prepare_pci_cmd_o3()
/linux/drivers/gpu/drm/tegra/
H A Dsubmit.c70 struct gather_bo *gather = container_of(bo, struct gather_bo, base); in gather_bo_pin() local
89 err = dma_get_sgtable(gather->dev, map->sgt, gather->gather_data, gather->gather_data_dma, in gather_bo_pin()
90 gather->gather_data_words * 4); in gather_bo_pin()
99 map->size = gather->gather_data_words * 4; in gather_bo_pin()
209 SUBMIT_ERR(context, "failed to allocate memory for gather data"); in submit_copy_gather_data()
215 SUBMIT_ERR(context, "failed to copy gather data from userspace"); in submit_copy_gather_data()
244 "relocation has too large gather offset (%u vs gather length %zu)", in submit_write_reloc()
363 /* Check for maximum gather size */ in submit_job_add_gather()
375 SUBMIT_ERR(context, "GATHER_UPTR command overflows gather data"); in submit_job_add_gather()
473 SUBMIT_ERR(context, "job must have at least one gather"); in submit_create_job()
[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/Documentation/admin-guide/hw-vuln/
H A Dgather_data_sampling.rst3 GDS - Gather Data Sampling
6 Gather Data Sampling is a hardware vulnerability which allows unprivileged
11 When a gather instruction performs loads from memory, different data elements
12 are merged into the destination vector register. However, when a gather
19 The attacker uses gather instructions to infer the stale vector register data.
21 registers. The victim does not need to use gather instructions to be
/linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/
H A Dpipeline.json141 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc…
144 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct…
147 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc…
150 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct…
153 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc…
156 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct…
/linux/drivers/gpu/drm/
H A Ddrm_gem_dma_helper.c31 * for devices that do not support scatter-gather DMA (either directly or
411 * drm_gem_dma_get_sg_table - provide a scatter/gather table of pinned
415 * This function exports a scatter/gather table by calling the standard
419 * A pointer to the scatter/gather table of pinned pages or NULL on failure.
446 * driver's scatter/gather table of pinned pages
449 * @sgt: scatter/gather table of pinned pages
451 * This function imports a scatter/gather table exported via DMA-BUF by
453 * (i.e. the scatter/gather table must contain a single entry). Drivers that
555 * scatter/gather table and get the virtual address of the buffer
558 * @sgt: Scatter/gather table of pinned pages
[all …]
H A Ddrm_gem_shmem_helper.c681 * drm_gem_shmem_get_sg_table - Provide a scatter/gather table of pinned
685 * This function exports a scatter/gather table suitable for PRIME usage by
688 * Drivers who need to acquire an scatter/gather table for objects need to call
692 * A pointer to the scatter/gather table of pinned pages or error pointer on failure.
743 * scatter/gather table for a shmem GEM object.
746 * This function returns a scatter/gather table suitable for driver usage. If
755 * A pointer to the scatter/gather table of pinned pages or errno on failure.
774 * another driver's scatter/gather table of pinned pages
777 * @sgt: Scatter/gather table of pinned pages
779 * 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
/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
/linux/block/
H A Dblk-stat.h136 * blk_stat_activate_nsecs() - Gather block statistics during a time window in
139 * @nsecs: Number of nanoseconds to gather statistics for.
155 * blk_stat_activate_msecs() - Gather block statistics during a time window in
158 * @msecs: Number of milliseconds to gather statistics for.
/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/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
133 * ubi_sgl_init - initialize an UBI scatter gather list data structure.
134 * @usgl: the UBI scatter gather struct itself
/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/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: Actual number of entries per scatter-gather list
/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/fs/netfs/
H A DKconfig11 bool "Gather statistical information on local caching"
45 bool "Gather statistical information on local caching"
/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

12345678910>>...30